/* style/promotions-welcome-bonus.css */

/* Base styles for the page */
.page-promotions-welcome-bonus {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main);
  background-color: var(--background);
}

/* General container for content */
.page-promotions-welcome-bonus__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-promotions-welcome-bonus__section-title {
  font-size: clamp(28px, 4vw, 40px);
  color: var(--text-main);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-promotions-welcome-bonus__text-block {
  font-size: 16px;
  margin-bottom: 20px;
  line-height: 1.7;
  color: var(--text-main);
}

/* Hero Section */
.page-promotions-welcome-bonus__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* body already handles --header-offset */
  background: var(--background);
}

.page-promotions-welcome-bonus__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-promotions-welcome-bonus__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-welcome-bonus__hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  color: var(--text-main);
}

.page-promotions-welcome-bonus__main-title {
  font-size: clamp(32px, 5vw, 55px);
  font-weight: bold;
  color: var(--text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.page-promotions-welcome-bonus__description {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-promotions-welcome-bonus__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions-welcome-bonus__btn-primary,
.page-promotions-welcome-bonus__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-welcome-bonus__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions-welcome-bonus__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-promotions-welcome-bonus__btn-secondary {
  background: var(--background);
  color: var(--text-main);
  border: 2px solid var(--border);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-welcome-bonus__btn-secondary:hover {
  transform: translateY(-3px);
  background: var(--border);
  color: #F2FFF6;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Content Sections */
.page-promotions-welcome-bonus__content-section,
.page-promotions-welcome-bonus__games-section,
.page-promotions-welcome-bonus__faq-section,
.page-promotions-welcome-bonus__cta-section {
  padding: 80px 0;
}

.page-promotions-welcome-bonus__dark-section {
  background-color: var(--background);
  color: var(--text-main);
}

.page-promotions-welcome-bonus__light-bg {
  background-color: #08160F; /* Custom background color for light sections */
  color: var(--text-main);
}

.page-promotions-welcome-bonus__light-text {
  color: var(--text-main);
}

/* Steps Section */
.page-promotions-welcome-bonus__steps-section {
  background-color: var(--card-bg);
  color: var(--text-main);
}

.page-promotions-welcome-bonus__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-welcome-bonus__step-card {
  background-color: var(--background);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--text-main);
}

.page-promotions-welcome-bonus__step-card:hover {
  transform: translateY(-5px);
}

.page-promotions-welcome-bonus__step-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid var(--border);
}

.page-promotions-welcome-bonus__step-title {
  font-size: 24px;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions-welcome-bonus__step-description {
  font-size: 15px;
  color: var(--text-secondary);
}

/* Games Section */
.page-promotions-welcome-bonus__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-welcome-bonus__game-card {
  background-color: var(--card-bg);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--text-main);
  border: 1px solid var(--border);
}

.page-promotions-welcome-bonus__game-card:hover {
  transform: translateY(-5px);
}

.page-promotions-welcome-bonus__game-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  border: 1px solid var(--border);
}

.page-promotions-welcome-bonus__game-title {
  font-size: 22px;
  color: var(--text-main);
  margin-bottom: 10px;
  font-weight: bold;
}

.page-promotions-welcome-bonus__game-description {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.page-promotions-welcome-bonus__btn-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 30px;
  background: var(--deep-green);
  color: #F2FFF6;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-welcome-bonus__btn-link:hover {
  background: var(--main-color);
}

/* Video Section */
.page-promotions-welcome-bonus__video-section {
  background-color: var(--background);
  color: var(--text-main);
  text-align: center;
  padding: 80px 20px;
}

.page-promotions-welcome-bonus__video-wrapper {
  position: relative;
  width: 100%;
  max-width: 1280px; /* Adjust max-width as needed for video */
  margin: 0 auto 30px;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  border: 2px solid var(--border);
  box-sizing: border-box; /* Desktop width: 100% is crucial */
}

.page-promotions-welcome-bonus__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.page-promotions-welcome-bonus__video-cta {
  margin-top: 30px;
}

/* FAQ Section */
.page-promotions-welcome-bonus__faq-list {
  margin-top: 40px;
}

.page-promotions-welcome-bonus__faq-item {
  background-color: var(--card-bg);
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.page-promotions-welcome-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-weight: bold;
  font-size: 18px;
  color: var(--text-main);
  background-color: var(--background);
  border-bottom: 1px solid var(--divider);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-promotions-welcome-bonus__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions-welcome-bonus__faq-question:hover {
  background-color: var(--deep-green);
}

.page-promotions-welcome-bonus__faq-toggle {
  font-size: 24px;
  line-height: 1;
  color: var(--glow);
}

.page-promotions-welcome-bonus__faq-answer {
  padding: 20px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  background-color: var(--card-bg);
}

/* CTA Section (Bottom) */
.page-promotions-welcome-bonus__cta-section {
  background-color: var(--card-bg);
  text-align: center;
  padding: 80px 20px;
}

.page-promotions-welcome-bonus__cta-content {
  max-width: 800px;
  margin: 0 auto;
}

/* Color Contrast Adjustments */
.page-promotions-welcome-bonus__dark-bg {
  background: #08160F;
  color: #F2FFF6; /* Deep green background with light text */
}

.page-promotions-welcome-bonus__dark-bg .page-promotions-welcome-bonus__section-title,
.page-promotions-welcome-bonus__dark-bg .page-promotions-welcome-bonus__description {
  color: #F2FFF6;
}

/* Custom Colors */
:root {
  --main-color: #11A84E;
  --accent-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border: #2E7A4E;
  --glow: #57E38D;
  --gold: #F2C14E;
  --divider: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-welcome-bonus__hero-content {
    max-width: 700px;
  }
  .page-promotions-welcome-bonus__main-title {
    font-size: clamp(30px, 4.5vw, 50px);
  }
  .page-promotions-welcome-bonus__description {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  .page-promotions-welcome-bonus__hero-section,
  .page-promotions-welcome-bonus__content-section,
  .page-promotions-welcome-bonus__steps-section,
  .page-promotions-welcome-bonus__games-section,
  .page-promotions-welcome-bonus__video-section,
  .page-promotions-welcome-bonus__faq-section,
  .page-promotions-welcome-bonus__cta-section {
    padding: 40px 0;
  }

  .page-promotions-welcome-bonus__container {
    padding: 0 15px;
  }

  .page-promotions-welcome-bonus__main-title {
    font-size: clamp(28px, 6vw, 45px);
    margin-bottom: 15px;
  }

  .page-promotions-welcome-bonus__description {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .page-promotions-welcome-bonus__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions-welcome-bonus__btn-primary,
  .page-promotions-welcome-bonus__btn-secondary,
  .page-promotions-welcome-bonus__btn-link,
  .page-promotions-welcome-bonus__video-cta,
  .page-promotions-welcome-bonus a[class*="button"],
  .page-promotions-welcome-bonus a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-welcome-bonus__cta-buttons,
  .page-promotions-welcome-bonus__button-group,
  .page-promotions-welcome-bonus__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-promotions-welcome-bonus__section-title {
    font-size: clamp(24px, 5vw, 36px);
    margin-bottom: 20px;
  }

  .page-promotions-welcome-bonus__steps-grid,
  .page-promotions-welcome-bonus__games-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Mobile image responsiveness */
  .page-promotions-welcome-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions-welcome-bonus__section,
  .page-promotions-welcome-bonus__card,
  .page-promotions-welcome-bonus__container,
  .page-promotions-welcome-bonus__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Mobile video responsiveness */
  .page-promotions-welcome-bonus video,
  .page-promotions-welcome-bonus__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions-welcome-bonus__video-section,
  .page-promotions-welcome-bonus__video-container,
  .page-promotions-welcome-bonus__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-promotions-welcome-bonus__video-section {
    padding-top: 10px !important;
  }

  .page-promotions-welcome-bonus__video-wrapper {
    padding-bottom: 56.25% !important; /* Ensure aspect ratio is maintained */
  }

  .page-promotions-welcome-bonus__faq-question {
    font-size: 16px;
  }

  .page-promotions-welcome-bonus__faq-answer {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .page-promotions-welcome-bonus__hero-section {
    padding: 30px 10px;
    padding-top: 10px;
  }
  .page-promotions-welcome-bonus__main-title {
    font-size: clamp(24px, 7vw, 40px);
  }
  .page-promotions-welcome-bonus__description {
    font-size: 15px;
  }
  .page-promotions-welcome-bonus__btn-primary,
  .page-promotions-welcome-bonus__btn-secondary {
    padding: 12px 20px;
  }
  .page-promotions-welcome-bonus__section-title {
    font-size: clamp(22px, 6vw, 32px);
  }
  .page-promotions-welcome-bonus__step-title,
  .page-promotions-welcome-bonus__game-title {
    font-size: 20px;
  }
  .page-promotions-welcome-bonus__faq-question {
    padding: 15px;
  }
  .page-promotions-welcome-bonus__faq-answer {
    padding: 15px;
  }
}