/* style/promotions-new-user-bonus-details.css */
:root {
  --primary-color: #8B0000; /* Deep Red */
  --secondary-color: #FFD700; /* Gold */
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-dark: #0d0d0d; /* Body background from shared.css */
  --bg-light: #f1f3f5;
  --border-light: #e0e0e0;
}

.page-promotions-new-user-bonus-details {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Ensure consistency with body background */
}

/* Fixed navigation bar spacing for desktop */
.page-promotions-new-user-bonus-details__hero-banner {
  padding-top: 180px; /* Desktop: Adjust based on navigation bar height */
}

/* General Section Styling */
.page-promotions-new-user-bonus-details__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 40px;
  text-align: center;
  color: var(--text-light); /* Default for dark background */
}

.page-promotions-new-user-bonus-details__text-block {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus-details__link-text {
  color: var(--secondary-color); /* Gold color for links */
  text-decoration: none;
  font-weight: bold;
}

.page-promotions-new-user-bonus-details__link-text:hover {
  text-decoration: underline;
  color: #FFA500; /* Slightly darker gold on hover */
}

.page-promotions-new-user-bonus-details__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* CTA Button Styling */
.page-promotions-new-user-bonus-details__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.page-promotions-new-user-bonus-details__btn-primary {
  background: var(--secondary-color); /* Gold background */
  color: var(--text-dark); /* Dark text for gold background */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus-details__btn-primary:hover {
  background: #FFA500; /* Darker gold */
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-bonus-details__btn-secondary {
  background: var(--primary-color); /* Deep Red background */
  color: var(--text-light); /* Light text for deep red background */
  border: 1px solid var(--secondary-color); /* Gold border */
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-user-bonus-details__btn-secondary:hover {
  background: #A50000; /* Darker red */
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
}

/* Color Contrast Classes */
.page-promotions-new-user-bonus-details__dark-bg {
  background: var(--primary-color); /* Deep Red */
  color: var(--text-light); /* White text */
}

.page-promotions-new-user-bonus-details__light-bg {
  background: var(--bg-light); /* Light Gray */
  color: var(--text-dark); /* Dark text */
}

.page-promotions-new-user-bonus-details__dark-card {
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  color: var(--text-light); /* White text */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* HERO Banner */
.page-promotions-new-user-bonus-details__hero-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  overflow: hidden; /* Ensure image doesn't overflow */
}

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

.page-promotions-new-user-bonus-details__main-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-promotions-new-user-bonus-details__subtitle {
  font-size: 20px;
  margin-bottom: 40px;
  color: var(--text-light);
  opacity: 0.9;
}

.page-promotions-new-user-bonus-details__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.2; /* Subtle background image */
}

.page-promotions-new-user-bonus-details__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Intro Section */
.page-promotions-new-user-bonus-details__intro-section {
  padding: 80px 0;
}

.page-promotions-new-user-bonus-details__intro-section .page-promotions-new-user-bonus-details__section-title {
  color: var(--text-dark);
}
.page-promotions-new-user-bonus-details__intro-section .page-promotions-new-user-bonus-details__text-block {
  color: var(--text-dark);
}
.page-promotions-new-user-bonus-details__intro-section .page-promotions-new-user-bonus-details__link-text {
  color: var(--primary-color);
}
.page-promotions-new-user-bonus-details__intro-section .page-promotions-new-user-bonus-details__link-text:hover {
  color: #A50000;
}


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

.page-promotions-new-user-bonus-details__feature-card {
  background: var(--text-light); /* White background for light section */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus-details__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions-new-user-bonus-details__feature-icon {
  width: 120px; /* Larger icons as per requirement */
  height: auto;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus-details__feature-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.page-promotions-new-user-bonus-details__feature-description {
  font-size: 16px;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus-details__register-now {
  margin-top: 60px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Bonus Details Section */
.page-promotions-new-user-bonus-details__bonus-details-section {
  padding: 80px 0;
}

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

.page-promotions-new-user-bonus-details__bonus-card {
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-new-user-bonus-details__bonus-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-bonus-details__bonus-image {
  width: 150px; /* Larger images */
  height: auto;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus-details__bonus-title {
  font-size: 26px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-promotions-new-user-bonus-details__bonus-description {
  font-size: 16px;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-promotions-new-user-bonus-details__note {
  font-size: 14px;
  margin-top: 40px;
  opacity: 0.8;
  color: var(--text-light);
}

/* How To Claim Section */
.page-promotions-new-user-bonus-details__how-to-claim-section {
  padding: 80px 0;
}

.page-promotions-new-user-bonus-details__how-to-claim-section .page-promotions-new-user-bonus-details__section-title {
  color: var(--text-dark);
}
.page-promotions-new-user-bonus-details__how-to-claim-section .page-promotions-new-user-bonus-details__text-block {
  color: var(--text-dark);
}
.page-promotions-new-user-bonus-details__how-to-claim-section .page-promotions-new-user-bonus-details__link-text {
  color: var(--primary-color);
}
.page-promotions-new-user-bonus-details__how-to-claim-section .page-promotions-new-user-bonus-details__link-text:hover {
  color: #A50000;
}

.page-promotions-new-user-bonus-details__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus-details__steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--text-light);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  padding: 25px;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus-details__step-icon {
  width: 45px;
  height: 45px;
  min-width: 45px;
  border-radius: 50%;
  background: var(--primary-color);
  color: var(--text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  flex-shrink: 0;
}

.page-promotions-new-user-bonus-details__step-content h3 {
  font-size: 22px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.page-promotions-new-user-bonus-details__step-content p {
  font-size: 16px;
  margin-bottom: 0;
  text-align: left; /* Override center alignment for text-block */
  color: var(--text-dark);
}

.page-promotions-new-user-bonus-details__step-content p a {
  color: var(--primary-color);
  font-weight: bold;
  text-decoration: none;
}

.page-promotions-new-user-bonus-details__step-content p a:hover {
  text-decoration: underline;
  color: #A50000;
}

.page-promotions-new-user-bonus-details__start-betting {
  margin-top: 60px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-promotions-new-user-bonus-details__faq-section {
  padding: 80px 0;
}

.page-promotions-new-user-bonus-details__faq-section .page-promotions-new-user-bonus-details__section-title {
  color: var(--text-dark);
}

.page-promotions-new-user-bonus-details__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-promotions-new-user-bonus-details__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
}

.page-promotions-new-user-bonus-details__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-promotions-new-user-bonus-details__faq-item.active .page-promotions-new-user-bonus-details__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus-details__faq-item.active .page-promotions-new-user-bonus-details__faq-answer p {
  color: var(--text-dark); /* Ensure text in FAQ answer is dark */
}

.page-promotions-new-user-bonus-details__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus-details__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-promotions-new-user-bonus-details__faq-question:active {
  background: #eeeeee;
}

.page-promotions-new-user-bonus-details__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus-details__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: var(--primary-color); /* Use primary color for toggle */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-promotions-new-user-bonus-details__faq-item.active .page-promotions-new-user-bonus-details__faq-toggle {
  color: var(--primary-color);
  /* JS changes text content to '-' directly, no rotation needed */
}


/* Related Articles Section */
.page-promotions-new-user-bonus-details__related-articles-section {
  padding: 80px 0;
}

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

.page-promotions-new-user-bonus-details__article-card {
  display: block;
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: var(--text-light);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-new-user-bonus-details__article-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-bonus-details__article-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promotions-new-user-bonus-details__article-card h3 {
  font-size: 20px;
  font-weight: bold;
  padding: 15px 20px 0;
  margin-top: 0;
  color: var(--secondary-color);
}

.page-promotions-new-user-bonus-details__article-card p {
  font-size: 15px;
  padding: 0 20px 20px;
  margin-bottom: 0;
  color: var(--text-light);
  text-align: left; /* Override center alignment */
}

.page-promotions-new-user-bonus-details__view-all-articles {
  margin-top: 60px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus-details__main-title {
    font-size: 40px;
  }
  .page-promotions-new-user-bonus-details__subtitle {
    font-size: 18px;
  }
  .page-promotions-new-user-bonus-details__section-title {
    font-size: 30px;
  }
  .page-promotions-new-user-bonus-details__feature-title,
  .page-promotions-new-user-bonus-details__bonus-title {
    font-size: 22px;
  }
  .page-promotions-new-user-bonus-details__step-content h3 {
    font-size: 20px;
  }
  .page-promotions-new-user-bonus-details__article-card h3 {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  /* Fixed navigation bar spacing for mobile */
  .page-promotions-new-user-bonus-details__hero-banner {
    padding-top: 160px !important; /* Mobile: Adjust based on navigation bar height */
    padding-bottom: 40px;
  }

  .page-promotions-new-user-bonus-details__main-title {
    font-size: 32px;
  }
  .page-promotions-new-user-bonus-details__subtitle {
    font-size: 16px;
  }
  .page-promotions-new-user-bonus-details__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-promotions-new-user-bonus-details__container {
    padding: 0 15px;
  }
  .page-promotions-new-user-bonus-details__intro-section,
  .page-promotions-new-user-bonus-details__bonus-details-section,
  .page-promotions-new-user-bonus-details__how-to-claim-section,
  .page-promotions-new-user-bonus-details__faq-section,
  .page-promotions-new-user-bonus-details__related-articles-section {
    padding: 60px 0;
  }

  .page-promotions-new-user-bonus-details__features-grid,
  .page-promotions-new-user-bonus-details__bonus-card-grid,
  .page-promotions-new-user-bonus-details__articles-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-promotions-new-user-bonus-details__feature-icon {
    width: 100px;
  }
  .page-promotions-new-user-bonus-details__bonus-image {
    width: 120px;
  }

  .page-promotions-new-user-bonus-details__feature-card,
  .page-promotions-new-user-bonus-details__bonus-card,
  .page-promotions-new-user-bonus-details__steps-list li {
    padding: 20px;
  }

  .page-promotions-new-user-bonus-details__feature-title,
  .page-promotions-new-user-bonus-details__bonus-title {
    font-size: 20px;
  }
  .page-promotions-new-user-bonus-details__feature-description,
  .page-promotions-new-user-bonus-details__bonus-description,
  .page-promotions-new-user-bonus-details__step-content p,
  .page-promotions-new-user-bonus-details__article-card p {
    font-size: 15px;
  }
}