/* style/promotions-new-user-bonus.css */
.page-promotions-new-user-bonus {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Default light text for dark body background */
  line-height: 1.6;
  background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-promotions-new-user-bonus__section-title,
.page-promotions-new-user-bonus__hero-title {
  color: #F4B400;
  text-align: center;
  margin-bottom: 20px;
  font-size: 2.5em;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions-new-user-bonus__section-description,
.page-promotions-new-user-bonus__hero-description {
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.1em;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 700px; /* Ensure sufficient height */
  background-color: #0A2647;
  padding: 60px 20px;
  overflow: hidden;
}

.page-promotions-new-user-bonus__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.3;
}

.page-promotions-new-user-bonus__hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.page-promotions-new-user-bonus__cta-button {
  display: inline-block;
  background-color: #F4B400;
  color: #0A2647;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin-top: 20px;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure responsive */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-new-user-bonus__cta-button:hover {
  background-color: #e0a000;
  transform: translateY(-2px);
}

.page-promotions-new-user-bonus__cta-button--centered {
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  max-width: 300px;
}

.page-promotions-new-user-bonus__cta-button--secondary {
  background-color: transparent;
  color: #F4B400;
  border: 2px solid #F4B400;
}

.page-promotions-new-user-bonus__cta-button--secondary:hover {
  background-color: #F4B400;
  color: #0A2647;
}

.page-promotions-new-user-bonus__cta-button--large {
  padding: 18px 40px;
  font-size: 1.2em;
  max-width: 400px;
}

/* Overview Section */
.page-promotions-new-user-bonus__overview-section {
  padding: 80px 0;
}

.page-promotions-new-user-bonus__features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions-new-user-bonus__feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions-new-user-bonus__feature-card:hover {
  transform: translateY(-10px);
}

.page-promotions-new-user-bonus__feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__feature-title {
  color: #F4B400;
  font-size: 1.5em;
  margin-bottom: 15px;
}

.page-promotions-new-user-bonus__feature-text {
  font-size: 1em;
  color: #f0f0f0;
}

/* How to Claim Section */
.page-promotions-new-user-bonus__how-to-claim-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-promotions-new-user-bonus__steps-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 50px;
}

.page-promotions-new-user-bonus__step-item {
  text-align: center;
  padding: 25px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.page-promotions-new-user-bonus__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #F4B400;
  margin-bottom: 15px;
}

.page-promotions-new-user-bonus__step-title {
  font-size: 1.4em;
  color: #F4B400;
  margin-bottom: 10px;
}

.page-promotions-new-user-bonus__step-text {
  font-size: 1em;
  color: #e0e0e0;
}

.page-promotions-new-user-bonus__image-block {
  text-align: center;
  margin-top: 60px;
}

.page-promotions-new-user-bonus__image-block img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Terms Section */
.page-promotions-new-user-bonus__terms-section {
  padding: 80px 0;
  background-color: #0A2647;
}

.page-promotions-new-user-bonus__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus__terms-list li {
  background: rgba(255, 255, 255, 0.05);
  border-left: 5px solid #F4B400;
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  font-size: 1.05em;
  color: #f0f0f0;
}

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

/* Why Choose Section */
.page-promotions-new-user-bonus__why-choose-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

.page-promotions-new-user-bonus__advantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions-new-user-bonus__advantage-item {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-promotions-new-user-bonus__advantage-title {
  color: #F4B400;
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-promotions-new-user-bonus__advantage-text {
  font-size: 0.95em;
  color: #e0e0e0;
}

.page-promotions-new-user-bonus__game-showcase {
  text-align: center;
  margin-top: 60px;
}

.page-promotions-new-user-bonus__game-showcase img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* FAQ Section */
.page-promotions-new-user-bonus__faq-section {
  padding: 80px 0;
  background-color: #0A2647;
}

.page-promotions-new-user-bonus__faq-list {
  max-width: 800px;
  margin: 50px auto 0 auto;
}

.page-promotions-new-user-bonus__faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.page-promotions-new-user-bonus__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-promotions-new-user-bonus__faq-title {
  margin: 0;
  color: #F4B400;
  font-size: 1.2em;
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5em;
  font-weight: bold;
  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 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #e0e0e0;
}

.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: 15px 25px 25px 25px;
}

.page-promotions-new-user-bonus__faq-answer p {
  margin: 0;
  font-size: 1em;
  line-height: 1.5;
}

/* CTA Section */
.page-promotions-new-user-bonus__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #1a1a1a;
}

.page-promotions-new-user-bonus__cta-content {
  max-width: 900px;
}

.page-promotions-new-user-bonus__cta-title {
  color: #F4B400;
  font-size: 2.2em;
  margin-bottom: 20px;
}

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

.page-promotions-new-user-bonus__cta-image-wrapper {
  margin-top: 40px;
}

.page-promotions-new-user-bonus__cta-image-wrapper img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* General Image Styling */
.page-promotions-new-user-bonus img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 8px; /* Consistent rounded corners for all content images */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .page-promotions-new-user-bonus__hero-section {
    min-height: 500px;
    padding: 40px 15px;
  }

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

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

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

  .page-promotions-new-user-bonus__section-description {
    font-size: 0.95em;
  }

  .page-promotions-new-user-bonus__cta-button {
    padding: 12px 25px;
    font-size: 1em;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions-new-user-bonus__cta-button--centered {
    max-width: 100% !important;
  }

  .page-promotions-new-user-bonus__cta-button--large {
    font-size: 1.1em;
    max-width: 100% !important;
  }

  .page-promotions-new-user-bonus__overview-section,
  .page-promotions-new-user-bonus__how-to-claim-section,
  .page-promotions-new-user-bonus__terms-section,
  .page-promotions-new-user-bonus__why-choose-section,
  .page-promotions-new-user-bonus__faq-section,
  .page-promotions-new-user-bonus__cta-section {
    padding: 50px 0;
  }

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

  .page-promotions-new-user-bonus__features-grid,
  .page-promotions-new-user-bonus__steps-wrapper,
  .page-promotions-new-user-bonus__advantages-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-new-user-bonus__feature-icon {
    width: 60px;
    height: 60px;
  }

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

  .page-promotions-new-user-bonus__step-number {
    font-size: 2em;
  }

  .page-promotions-new-user-bonus__step-title {
    font-size: 1.2em;
  }

  .page-promotions-new-user-bonus__terms-list li {
    padding: 15px;
    font-size: 0.95em;
  }

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

  .page-promotions-new-user-bonus__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }

  .page-promotions-new-user-bonus__faq-title {
    font-size: 1.1em;
  }

  .page-promotions-new-user-bonus__faq-answer {
    padding: 0 20px;
  }

  .page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
    padding: 10px 20px 20px 20px;
  }

  /* Ensure all images are responsive and don't overflow */
  .page-promotions-new-user-bonus img {
    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__hero-section,
  .page-promotions-new-user-bonus__overview-section,
  .page-promotions-new-user-bonus__how-to-claim-section,
  .page-promotions-new-user-bonus__terms-section,
  .page-promotions-new-user-bonus__why-choose-section,
  .page-promotions-new-user-bonus__faq-section,
  .page-promotions-new-user-bonus__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }
  
  /* If multiple buttons horizontally arranged, allow wrap */
  .page-promotions-new-user-bonus__cta-buttons,
  .page-promotions-new-user-bonus__button-group {
    display: flex;
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px; /* Spacing between stacked buttons */
    align-items: center;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* Color Contrast Fixes */
.page-promotions-new-user-bonus__dark-bg {
  background: #0A2647;
  color: #ffffff;
}

.page-promotions-new-user-bonus__light-bg {
  background: #ffffff;
  color: #333333;
}

.page-promotions-new-user-bonus__medium-bg {
  background: #F4B400;
  color: #000000;
}

/* Ensure all images do not use filter */
.page-promotions-new-user-bonus img {
  filter: none !important;
}