/* style/promotions-new-user-bonus.css */

/* Base styles for the page content */
.page-promotions-new-user-bonus {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#222) */
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-promotions-new-user-bonus__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Section styling */
.page-promotions-new-user-bonus__hero-section,
.page-promotions-new-user-bonus__intro-section,
.page-promotions-new-user-bonus__how-to-claim-section,
.page-promotions-new-user-bonus__video-section,
.page-promotions-new-user-bonus__terms-section,
.page-promotions-new-user-bonus__games-section,
.page-promotions-new-user-bonus__why-choose-section,
.page-promotions-new-user-bonus__faq-section,
.page-promotions-new-user-bonus__cta-final-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Color Contrast based on body background #222 (dark) */
.page-promotions-new-user-bonus__dark-bg {
  background-color: #017439; /* Primary brand color for dark sections */
  color: #ffffff;
}

.page-promotions-new-user-bonus__light-bg {
  background-color: #ffffff;
  color: #333333; /* Dark text for light background */
}

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: 120px 0 80px; /* Adjust padding for hero */
}

.page-promotions-new-user-bonus__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-promotions-new-user-bonus__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  z-index: 1;
}

.page-promotions-new-user-bonus__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.page-promotions-new-user-bonus__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFF00; /* Custom color for hero title based on brand guide */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions-new-user-bonus__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

/* Buttons */
.page-promotions-new-user-bonus__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions-new-user-bonus__btn-primary,
.page-promotions-new-user-bonus__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  text-align: center;
}

.page-promotions-new-user-bonus__btn-primary {
  background-color: #C30808; /* Custom color for Register/Login */
  color: #FFFF00; /* Custom font color for Register/Login */
  border: 2px solid #C30808;
}

.page-promotions-new-user-bonus__btn-primary:hover {
  background-color: #e02020;
  border-color: #e02020;
}

.page-promotions-new-user-bonus__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-promotions-new-user-bonus__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
}

.page-promotions-new-user-bonus__btn-small {
  padding: 10px 20px;
  font-size: 1em;
}

/* General Content Styling */
.page-promotions-new-user-bonus__section-title {
  font-size: 2.8em;
  text-align: center;
  margin-bottom: 40px;
  color: inherit; /* Inherit color from parent section */
  position: relative;
  padding-bottom: 15px;
}

.page-promotions-new-user-bonus__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFFF00; /* Highlight color */
  border-radius: 2px;
}

.page-promotions-new-user-bonus__subtitle {
  font-size: 1.4em;
  text-align: center;
  margin-bottom: 60px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  color: inherit;
}

.page-promotions-new-user-bonus__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

/* Intro Section */
.page-promotions-new-user-bonus__intro-content {
  display: flex;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.page-promotions-new-user-bonus__intro-content .page-promotions-new-user-bonus__text-block {
  flex: 1;
}

.page-promotions-new-user-bonus__image-content {
  flex: 1;
  max-width: 50%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* How to Claim Section */
.page-promotions-new-user-bonus__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 60px;
}

.page-promotions-new-user-bonus__step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions-new-user-bonus__step-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #FFFF00;
}

.page-promotions-new-user-bonus__step-item p {
  margin-bottom: 25px;
  font-size: 1.05em;
}

.page-promotions-new-user-bonus__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__note {
  font-style: italic;
  text-align: center;
  margin-top: 40px;
  font-size: 1.1em;
  color: #f0f0f0;
}

/* Video Section */
.page-promotions-new-user-bonus__video-section {
  text-align: center;
}

.page-promotions-new-user-bonus__video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  max-width: 100%;
  background: #000;
  border-radius: 12px;
  margin: 40px auto;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__video-wrapper .page-promotions-new-user-bonus__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  object-fit: cover;
}

.page-promotions-new-user-bonus__video-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: pointer;
}

.page-promotions-new-user-bonus__video-caption {
  font-style: italic;
  margin-top: 20px;
  font-size: 1.05em;
  color: #666666;
}

/* Terms Section */
.page-promotions-new-user-bonus__terms-list {
  list-style: disc inside;
  margin-left: 20px;
  font-size: 1.1em;
  margin-bottom: 40px;
}

.page-promotions-new-user-bonus__terms-list li {
  margin-bottom: 15px;
}

.page-promotions-new-user-bonus__terms-list li strong {
  color: #FFFF00;
}

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

.page-promotions-new-user-bonus__game-card {
  background-color: #f8f8f8;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  padding-bottom: 20px;
  color: #333333;
}

.page-promotions-new-user-bonus__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 15px;
}

.page-promotions-new-user-bonus__game-title {
  font-size: 1.6em;
  margin-bottom: 10px;
}

.page-promotions-new-user-bonus__game-title a {
  color: #017439; /* Brand primary color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions-new-user-bonus__game-title a:hover {
  color: #005f2e;
}

.page-promotions-new-user-bonus__game-card p {
  padding: 0 20px;
  font-size: 1em;
}

/* Why Choose Section */
.page-promotions-new-user-bonus__advantages-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-promotions-new-user-bonus__advantages-list li {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.5;
  position: relative;
  padding-left: 45px;
  text-align: left;
}

.page-promotions-new-user-bonus__advantages-list li::before {
  content: '✔';
  color: #FFFF00;
  font-size: 1.5em;
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
}

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

.page-promotions-new-user-bonus__faq-item {
  background-color: #f8f8f8;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  color: #333333;
}

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  background-color: #ffffff;
  border-bottom: 1px solid #eeeeee;
  transition: background-color 0.3s ease;
}

.page-promotions-new-user-bonus__faq-question:hover {
  background-color: #f0f0f0;
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  width: 25px;
  text-align: center;
  transition: transform 0.3s ease;
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions-new-user-bonus__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  font-size: 1.05em;
  line-height: 1.6;
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to accommodate content */
  padding: 20px;
  border-top: 1px solid #eeeeee;
}

/* Final CTA Section */
.page-promotions-new-user-bonus__cta-final-section {
  text-align: center;
}

.page-promotions-new-user-bonus__image-cta {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__hero-title {
    font-size: 3em;
  }

  .page-promotions-new-user-bonus__section-title {
    font-size: 2.5em;
  }

  .page-promotions-new-user-bonus__subtitle {
    font-size: 1.3em;
  }

  .page-promotions-new-user-bonus__intro-content {
    flex-direction: column;
  }

  .page-promotions-new-user-bonus__image-content {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions-new-user-bonus__hero-section {
    padding: 100px 0 60px;
  }

  .page-promotions-new-user-bonus__hero-title {
    font-size: 2.2em;
  }

  .page-promotions-new-user-bonus__hero-description {
    font-size: 1.1em;
  }

  .page-promotions-new-user-bonus__section-title {
    font-size: 2em;
  }

  .page-promotions-new-user-bonus__subtitle {
    font-size: 1.1em;
    margin-bottom: 40px;
  }

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

  .page-promotions-new-user-bonus__btn-primary,
  .page-promotions-new-user-bonus__btn-secondary {
    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-new-user-bonus__cta-buttons,
  .page-promotions-new-user-bonus__button-group,
  .page-promotions-new-user-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-new-user-bonus__step-item,
  .page-promotions-new-user-bonus__game-card,
  .page-promotions-new-user-bonus__faq-item {
    padding: 20px;
  }

  .page-promotions-new-user-bonus__image-content,
  .page-promotions-new-user-bonus__image-full-width,
  .page-promotions-new-user-bonus__image-cta,
  .page-promotions-new-user-bonus__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions-new-user-bonus__section,
  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__container,
  .page-promotions-new-user-bonus__video-section,
  .page-promotions-new-user-bonus__video-container,
  .page-promotions-new-user-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-new-user-bonus__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section starts below header */
  }

  .page-promotions-new-user-bonus__video-wrapper {
    padding-bottom: 75% !important; /* Adjust for common mobile aspect ratios if needed, or keep 56.25% */
  }

  .page-promotions-new-user-bonus__advantages-list li {
    padding-left: 35px;
  }

  .page-promotions-new-user-bonus__advantages-list li::before {
    font-size: 1.2em;
    left: 10px;
  }

  .page-promotions-new-user-bonus__faq-answer {
    padding: 0 15px; /* Adjust padding for mobile */
  }

  .page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
    padding: 15px; /* Adjust padding for mobile */
  }
}

@media (max-width: 480px) {
  .page-promotions-new-user-bonus__hero-title {
    font-size: 1.8em;
  }

  .page-promotions-new-user-bonus__section-title {
    font-size: 1.8em;
  }

  .page-promotions-new-user-bonus__hero-description {
    font-size: 1em;
  }

  .page-promotions-new-user-bonus__btn-primary,
  .page-promotions-new-user-bonus__btn-secondary {
    font-size: 1em;
    padding: 12px 20px;
  }
}