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

/* Variables */
:root {
  --primary-color: #1A2B4C;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark-card: rgba(255, 255, 255, 0.08);
  --border-color: rgba(255, 255, 255, 0.15);
}

/* Base styles for the page content, assuming dark body background */
.page-promotions-new-user-bonus {
  color: var(--text-light); /* Light text on dark body background */
  background-color: transparent; /* Body background handled by shared.css */
  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;
}

.page-promotions-new-user-bonus__section-title {
  font-size: 2.5em;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-promotions-new-user-bonus__text-block {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 20px;
  text-align: justify;
  color: var(--text-light);
}

.page-promotions-new-user-bonus__text-block a {
  color: var(--secondary-color);
  text-decoration: none;
}

.page-promotions-new-user-bonus__text-block a:hover {
  text-decoration: underline;
}

.page-promotions-new-user-bonus__highlight {
  color: var(--secondary-color);
  font-weight: bold;
}

.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;
  transition: all 0.3s ease;
  text-align: center;
  cursor: pointer;
  box-sizing: border-box;
  max-width: 100%; /* Ensure responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-promotions-new-user-bonus__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

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

.page-promotions-new-user-bonus__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-promotions-new-user-bonus__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.page-promotions-new-user-bonus__cta-center {
  text-align: center;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* Hero Section */
.page-promotions-new-user-bonus__hero-section {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

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

.page-promotions-new-user-bonus__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
}

.page-promotions-new-user-bonus__hero-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  padding: 20px;
  color: var(--text-light);
}

.page-promotions-new-user-bonus__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  line-height: 1.1;
  color: var(--secondary-color);
  font-weight: 800;
}

.page-promotions-new-user-bonus__hero-description {
  font-size: 1.4em;
  margin-bottom: 30px;
  line-height: 1.5;
  color: var(--text-light);
}

.page-promotions-new-user-bonus__hero-cta {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Introduction Section */
.page-promotions-new-user-bonus__introduction-section,
.page-promotions-new-user-bonus__how-to-claim-section,
.page-promotions-new-user-bonus__terms-conditions-section,
.page-promotions-new-user-bonus__bonus-types-section,
.page-promotions-new-user-bonus__maximize-benefits-section,
.page-promotions-new-user-bonus__faq-section,
.page-promotions-new-user-bonus__conclusion-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: var(--text-light);
}

/* How to Claim Section */
.page-promotions-new-user-bonus__steps-grid {
  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: var(--bg-dark-card);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.page-promotions-new-user-bonus__step-icon {
  font-size: 2.5em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 700;
}

.page-promotions-new-user-bonus__step-title {
  font-size: 1.5em;
  color: var(--text-light);
  margin-bottom: 10px;
}

.page-promotions-new-user-bonus__step-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-light);
}

.page-promotions-new-user-bonus__image-full {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Terms & Conditions Section */
.page-promotions-new-user-bonus__list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions-new-user-bonus__list-item {
  background-color: var(--bg-dark-card);
  padding: 15px 20px;
  margin-bottom: 10px;
  border-radius: 8px;
  font-size: 1.1em;
  line-height: 1.6;
  border-left: 5px solid var(--secondary-color);
  color: var(--text-light);
}

.page-promotions-new-user-bonus__list-item strong {
  color: var(--secondary-color);
}

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

.page-promotions-new-user-bonus__type-card {
  background-color: var(--bg-dark-card);
  padding: 30px;
  border-radius: 12px;
  text-align: left;
  border: 1px solid var(--border-color);
  height: 100%; /* Ensure cards are same height */
  display: flex;
  flex-direction: column;
}

.page-promotions-new-user-bonus__type-title {
  font-size: 1.6em;
  color: var(--secondary-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions-new-user-bonus__type-description {
  font-size: 1em;
  line-height: 1.6;
  color: var(--text-light);
  flex-grow: 1;
}

/* Maximize Benefits Section */
.page-promotions-new-user-bonus__list--styled {
  list-style: disc;
  margin-left: 20px;
}

.page-promotions-new-user-bonus__list--styled .page-promotions-new-user-bonus__list-item {
  background-color: transparent;
  border-left: none;
  padding-left: 0;
  margin-left: 20px;
}

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

.page-promotions-new-user-bonus__faq-item {
  background-color: var(--bg-dark-card);
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: var(--primary-color);
  color: var(--text-light);
  font-size: 1.2em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-promotions-new-user-bonus__faq-question:hover {
  background-color: rgba(26, 43, 76, 0.8);
}

.page-promotions-new-user-bonus__faq-title {
  margin: 0;
  color: var(--text-light);
  font-size: 1.2em;
  line-height: 1.4;
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.8em;
  line-height: 1;
  color: var(--secondary-color);
  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-out, padding 0.3s ease-out;
  background-color: var(--bg-dark-card);
  color: var(--text-light);
}

.page-promotions-new-user-bonus__faq-item.active .page-promotions-new-user-bonus__faq-answer {
  max-height: 1000px !important; /* Sufficient height for content */
  padding: 20px 25px;
}

.page-promotions-new-user-bonus__faq-answer p {
  margin: 0;
  line-height: 1.6;
  color: var(--text-light);
}

/* Conclusion Section */
.page-promotions-new-user-bonus__conclusion-section {
  text-align: center;
  padding-bottom: 100px;
}

.page-promotions-new-user-bonus__conclusion-section .page-promotions-new-user-bonus__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* 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.2em;
  }

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

@media (max-width: 768px) {
  .page-promotions-new-user-bonus {
    font-size: 16px;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
  }

  .page-promotions-new-user-bonus__hero-section {
    height: 60vh;
    min-height: 400px;
  }

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

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

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

  .page-promotions-new-user-bonus__btn-primary,
  .page-promotions-new-user-bonus__btn-secondary {
    width: 100%;
    padding: 12px 20px;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-promotions-new-user-bonus__text-block {
    font-size: 1em;
  }

  .page-promotions-new-user-bonus__introduction-section,
  .page-promotions-new-user-bonus__how-to-claim-section,
  .page-promotions-new-user-bonus__terms-conditions-section,
  .page-promotions-new-user-bonus__bonus-types-section,
  .page-promotions-new-user-bonus__maximize-benefits-section,
  .page-promotions-new-user-bonus__faq-section,
  .page-promotions-new-user-bonus__conclusion-section {
    padding: 60px 0;
  }

  .page-promotions-new-user-bonus__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

  .page-promotions-new-user-bonus__image-full {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  .page-promotions-new-user-bonus__cta-center {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0 15px;
  }

  .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-toggle {
    font-size: 1.5em;
  }

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

/* Ensure images in content areas are responsive and not too small */
.page-promotions-new-user-bonus img {
  max-width: 100%;
  height: auto;
  display: block;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px; /* Minimum size for content images */
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: auto !important;
    min-height: auto !important;
  }
  .page-promotions-new-user-bonus__section,
  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions-new-user-bonus__hero-section {
    padding-top: 0 !important; /* Hero section does not need extra padding-top as main handles it */
  }
}