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

/* Body background is dark #0d0d1a, so text should be light #ffffff */
.page-promotions-new-user-bonus {
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.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 {
  padding: 60px 0;
}

.page-promotions-new-user-bonus__section-title {
  font-size: clamp(28px, 3.5vw, 42px);
  color: #26A9E0;
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

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

.page-promotions-new-user-bonus__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-bottom: 60px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  background-color: #0d0d1a; /* Ensure hero section has a dark background */
}

.page-promotions-new-user-bonus__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  position: relative;
}

.page-promotions-new-user-bonus__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-promotions-new-user-bonus__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Adjust to bring content slightly over the image if desired, but not covering text */
  position: relative; /* Ensure content is above other elements, but not overlapping image */
  z-index: 1;
}

.page-promotions-new-user-bonus__main-title {
  font-size: clamp(32px, 4vw, 56px);
  color: #FFFFFF;
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-promotions-new-user-bonus__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-promotions-new-user-bonus__btn-primary {
  background-color: #26A9E0;
  color: #FFFFFF;
  border: 2px solid #26A9E0;
}

.page-promotions-new-user-bonus__btn-primary:hover {
  background-color: #1a7fb4;
  border-color: #1a7fb4;
  transform: translateY(-2px);
}

.page-promotions-new-user-bonus__btn-secondary {
  background-color: #FFFFFF;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions-new-user-bonus__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1a7fb4;
  border-color: #1a7fb4;
  transform: translateY(-2px);
}

.page-promotions-new-user-bonus__btn-tertiary {
  background-color: transparent;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-promotions-new-user-bonus__btn-tertiary:hover {
  background-color: #26A9E0;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.page-promotions-new-user-bonus__list-ordered,
.page-promotions-new-user-bonus__list-unordered {
  list-style-position: inside;
  padding-left: 20px;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__list-ordered li,
.page-promotions-new-user-bonus__list-unordered li {
  margin-bottom: 10px;
  font-size: 17px;
  color: #f0f0f0;
}

.page-promotions-new-user-bonus__list-ordered li strong {
  color: #26A9E0;
}

.page-promotions-new-user-bonus__image-content {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ Section */
.page-promotions-new-user-bonus__faq-section {
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-promotions-new-user-bonus__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  color: #ffffff;
}

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-promotions-new-user-bonus__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

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

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #26A9E0;
}

.page-promotions-new-user-bonus__faq-answer {
  padding: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: #e0e0e0;
}

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-question {
  border-bottom: 1px solid transparent;
}

.page-promotions-new-user-bonus__cta-final {
  background-color: #26A9E0;
  padding: 80px 0;
  text-align: center;
}

.page-promotions-new-user-bonus__cta-container .page-promotions-new-user-bonus__section-title {
  color: #FFFFFF;
  margin-bottom: 25px;
}

.page-promotions-new-user-bonus__cta-container .page-promotions-new-user-bonus__text-block {
  color: #FFFFFF;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

  .page-promotions-new-user-bonus__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-promotions-new-user-bonus__section {
    padding: 40px 0;
  }

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

  .page-promotions-new-user-bonus__text-block {
    font-size: 16px;
  }

  .page-promotions-new-user-bonus__hero-section {
    padding-bottom: 40px;
    padding-top: 10px !important; /* Ensure small padding, not header-offset */
  }

  .page-promotions-new-user-bonus__hero-content {
    padding: 20px 15px;
    margin-top: -60px; /* Adjust for smaller screens */
  }

  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(28px, 8vw, 48px);
    margin-bottom: 15px;
  }

  .page-promotions-new-user-bonus__hero-description {
    font-size: 17px;
    margin-bottom: 30px;
  }

  .page-promotions-new-user-bonus__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    margin-bottom: 15px; /* Add spacing between buttons if stacked */
  }

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

  /* Image 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__hero-image-wrapper,
  .page-promotions-new-user-bonus__section,
  .page-promotions-new-user-bonus__container,
  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__faq-item,
  .page-promotions-new-user-bonus__cta-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

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

  .page-promotions-new-user-bonus__faq-answer {
    font-size: 15px;
    padding: 15px;
  }

  .page-promotions-new-user-bonus__faq-toggle {
    font-size: 20px;
  }

  .page-promotions-new-user-bonus__cta-final {
    padding: 60px 0;
  }
}