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

/* Base styles for the page */
.page-promotions-new-user-bonus {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212; /* Inherited from shared.css body */
}

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

.page-promotions-new-user-bonus__section-title {
  font-size: 2.5em;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.page-promotions-new-user-bonus__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #f0f0f0;
}

.page-promotions-new-user-bonus__text-block strong {
  color: #FFD700;
}

.page-promotions-new-user-bonus__cta-button {
  display: block;
  width: fit-content;
  margin: 30px auto;
  padding: 15px 30px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  transition: background-color 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.page-promotions-new-user-bonus__btn-primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-promotions-new-user-bonus__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
}

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 600px;
  padding: var(--header-offset, 120px) 20px 60px; /* Use CSS variable for header offset */
  overflow: hidden;
  background-color: #1A202C; /* Dark blue/gray for hero background */
  color: #ffffff;
}

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

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

.page-promotions-new-user-bonus__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-promotions-new-user-bonus__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFD700;
  line-height: 1.2;
}

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

/* Intro Section */
.page-promotions-new-user-bonus__intro-section {
  padding: 80px 0;
  background-color: #121212;
}

/* Details Section */
.page-promotions-new-user-bonus__details-section {
  padding: 80px 0;
  background-color: #1A202C;
}

.page-promotions-new-user-bonus__grid-two-columns {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.page-promotions-new-user-bonus__image-wrapper {
  flex: 1;
  text-align: center;
}

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

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

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

.page-promotions-new-user-bonus__step-card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions-new-user-bonus__step-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
}

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

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

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

.page-promotions-new-user-bonus__list {
  list-style: disc inside;
  margin-left: 20px;
  color: #f0f0f0;
}

.page-promotions-new-user-bonus__list-item {
  margin-bottom: 10px;
  font-size: 1.1em;
}

.page-promotions-new-user-bonus__list-item strong {
  color: #FFD700;
}

/* Benefits Section */
.page-promotions-new-user-bonus__benefits-section {
  padding: 80px 0;
  background-color: #121212;
}

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

.page-promotions-new-user-bonus__card {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions-new-user-bonus__card-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  min-height: 200px; /* Ensure min size */
  object-fit: cover;
}

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

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

/* Video Section */
.page-promotions-new-user-bonus__video-section {
  padding: 80px 0;
  background-color: #1A202C;
  text-align: center;
  color: #ffffff;
}

.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;
  margin: 40px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-user-bonus__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block; /* Ensure it behaves as a block element */
  cursor: pointer;
}

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

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

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

.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;
  color: #FFD700;
  cursor: pointer;
  background-color: #1A202C;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions-new-user-bonus__faq-title {
  margin: 0;
  color: #FFD700;
  font-size: 1em; /* Adjust to fit parent font size */
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #FFD700;
}

.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;
  color: #f0f0f0;
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
  max-height: 1000px !important; /* Sufficiently large to show content */
  padding: 20px;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__hero-title {
    font-size: 3em;
  }
  .page-promotions-new-user-bonus__hero-description {
    font-size: 1.3em;
  }
  .page-promotions-new-user-bonus__section-title {
    font-size: 2em;
  }
  .page-promotions-new-user-bonus__grid-two-columns {
    flex-direction: column;
  }
}

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

  /* Hero Section */
  .page-promotions-new-user-bonus__hero-section {
    min-height: 500px;
    padding: var(--header-offset, 120px) 15px 40px !important;
  }
  .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__cta-button {
    font-size: 1em;
    padding: 12px 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* General Sections */
  .page-promotions-new-user-bonus__intro-section,
  .page-promotions-new-user-bonus__details-section,
  .page-promotions-new-user-bonus__how-to-claim-section,
  .page-promotions-new-user-bonus__terms-section,
  .page-promotions-new-user-bonus__benefits-section,
  .page-promotions-new-user-bonus__video-section,
  .page-promotions-new-user-bonus__faq-section,
  .page-promotions-new-user-bonus__cta-final-section {
    padding: 40px 0;
  }

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

  /* Images responsiveness */
  .page-promotions-new-user-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions-new-user-bonus__image-wrapper,
  .page-promotions-new-user-bonus__step-card,
  .page-promotions-new-user-bonus__card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
  }

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

  .page-promotions-new-user-bonus__video-section {
    padding-top: var(--header-offset, 120px) !important; /* Ensure video section respects header offset on mobile */
  }

  .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;
    overflow: hidden !important;
  }
  
  /* Button responsiveness */
  .page-promotions-new-user-bonus__cta-button,
  .page-promotions-new-user-bonus__btn-primary,
  .page-promotions-new-user-bonus__btn-secondary,
  .page-promotions-new-user-bonus a[class*="button"],
  .page-promotions-new-user-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-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;
  }

  /* FAQ */
  .page-promotions-new-user-bonus__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-promotions-new-user-bonus__faq-answer {
    padding: 15px;
  }
}