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

/* Custom Colors */
:root {
  --af88-nohu-primary-color: #11A84E;
  --af88-nohu-secondary-color: #22C768;
  --af88-nohu-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --af88-nohu-card-bg: #11271B;
  --af88-nohu-background: #08160F;
  --af88-nohu-text-main: #F2FFF6;
  --af88-nohu-text-secondary: #A7D9B8;
  --af88-nohu-border-color: #2E7A4E;
  --af88-nohu-glow-color: #57E38D;
  --af88-nohu-gold-color: #F2C14E;
  --af88-nohu-divider-color: #1E3A2A;
  --af88-nohu-deep-green: #0A4B2C;
}

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-promotions-new-member-bonus {
  background-color: var(--af88-nohu-background);
  color: var(--af88-nohu-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px;
}

.page-promotions-new-member-bonus h1,
.page-promotions-new-member-bonus h2,
.page-promotions-new-member-bonus h3 {
  color: var(--af88-nohu-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions-new-member-bonus h1 {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: bold;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-member-bonus h2 {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  text-align: center;
}

.page-promotions-new-member-bonus h3 {
  font-size: clamp(1.4em, 2.5vw, 1.8em);
  font-weight: 600;
}

.page-promotions-new-member-bonus p {
  margin-bottom: 15px;
  color: var(--af88-nohu-text-main);
}

.page-promotions-new-member-bonus__description {
  font-size: clamp(1em, 1.2vw, 1.15em);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: var(--af88-nohu-text-secondary);
}

.page-promotions-new-member-bonus__section {
  padding: 60px 20px;
  background-color: var(--af88-nohu-background);
}

.page-promotions-new-member-bonus__section-title {
  margin-bottom: 40px;
}

.page-promotions-new-member-bonus__dark-bg {
  background-color: var(--af88-nohu-deep-green);
  color: var(--af88-nohu-text-main);
}

.page-promotions-new-member-bonus__dark-bg p {
  color: var(--af88-nohu-text-secondary);
}

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

.page-promotions-new-member-bonus__container--center {
  text-align: center;
}

/* Hero Section */
.page-promotions-new-member-bonus__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small padding top, body handles header offset */
  padding-bottom: 60px;
  background-color: var(--af88-nohu-deep-green);
  overflow: hidden;
}

.page-promotions-new-member-bonus__hero-image-wrapper {
  width: 100%;
  max-width: 1920px;
  margin-bottom: 40px;
}

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

.page-promotions-new-member-bonus__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 0 15px;
}

/* CTA Buttons */
.page-promotions-new-member-bonus__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-promotions-new-member-bonus__cta-buttons--center {
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-member-bonus__btn-primary,
.page-promotions-new-member-bonus__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow on desktop small sizes */
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-new-member-bonus__btn-primary {
  background: var(--af88-nohu-button-gradient);
  color: var(--af88-nohu-text-main);
  border: 2px solid transparent;
}

.page-promotions-new-member-bonus__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-promotions-new-member-bonus__btn-secondary:hover {
  background-color: var(--af88-nohu-secondary-color);
  color: var(--af88-nohu-background);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Content Images */
.page-promotions-new-member-bonus__content-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px; /* Minimum size requirement */
  min-height: 200px; /* Minimum size requirement */
}

/* Offers Grid */
.page-promotions-new-member-bonus__offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-new-member-bonus__card {
  background-color: var(--af88-nohu-card-bg);
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid var(--af88-nohu-border-color);
  color: var(--af88-nohu-text-main);
}

.page-promotions-new-member-bonus__card.page-promotions-new-member-bonus__light-bg {
  background-color: var(--af88-nohu-card-bg);
  color: var(--af88-nohu-text-main);
}

.page-promotions-new-member-bonus__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-new-member-bonus__card-title {
  font-size: 1.3em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--af88-nohu-text-main);
}

.page-promotions-new-member-bonus__card-text {
  font-size: 0.95em;
  color: var(--af88-nohu-text-secondary);
}

/* Step List / Terms List / Reason List */
.page-promotions-new-member-bonus__step-list,
.page-promotions-new-member-bonus__terms-list,
.page-promotions-new-member-bonus__reason-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions-new-member-bonus__list-item {
  background-color: var(--af88-nohu-card-bg);
  border: 1px solid var(--af88-nohu-border-color);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-new-member-bonus__list-title {
  color: var(--af88-nohu-gold-color);
  margin-bottom: 10px;
  font-size: 1.2em;
}

.page-promotions-new-member-bonus__list-text {
  color: var(--af88-nohu-text-secondary);
}

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

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

.page-promotions-new-member-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  background-color: var(--af88-nohu-deep-green);
  color: var(--af88-nohu-text-main);
  transition: background-color 0.3s ease;
}

.page-promotions-new-member-bonus__faq-question:hover {
  background-color: var(--af88-nohu-primary-color);
}

.page-promotions-new-member-bonus__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions-new-member-bonus__faq-question::marker {
  display: none;
}

.page-promotions-new-member-bonus__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--af88-nohu-gold-color);
}

.page-promotions-new-member-bonus__faq-item[open] .page-promotions-new-member-bonus__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions-new-member-bonus__faq-answer {
  padding: 15px 25px 20px;
  font-size: 0.95em;
  color: var(--af88-nohu-text-secondary);
  background-color: var(--af88-nohu-card-bg);
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions-new-member-bonus__hero-image-wrapper {
    margin-bottom: 30px;
  }
  .page-promotions-new-member-bonus__hero-content {
    max-width: 700px;
  }
  .page-promotions-new-member-bonus__offers-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions-new-member-bonus__section {
    padding: 40px 15px;
  }

  .page-promotions-new-member-bonus__hero-section {
    padding-bottom: 40px;
  }

  .page-promotions-new-member-bonus h1 {
    font-size: 2em;
  }

  .page-promotions-new-member-bonus h2 {
    font-size: 1.8em;
  }

  .page-promotions-new-member-bonus h3 {
    font-size: 1.3em;
  }

  .page-promotions-new-member-bonus__description {
    font-size: 1em;
    margin-bottom: 20px;
  }

  .page-promotions-new-member-bonus__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-promotions-new-member-bonus__container,
  .page-promotions-new-member-bonus__card,
  .page-promotions-new-member-bonus__list-item,
  .page-promotions-new-member-bonus__faq-item {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box !important;
    max-width: 100% !important;
    width: 100% !important;
  }

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

  /* Ensure all image containers are responsive */
  .page-promotions-new-member-bonus__hero-image-wrapper,
  .page-promotions-new-member-bonus__offers-grid,
  .page-promotions-new-member-bonus__card,
  .page-promotions-new-member-bonus__list-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions-new-member-bonus__card-image {
    height: auto; /* Allow auto height on mobile */
  }

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

  .page-promotions-new-member-bonus__faq-answer {
    padding: 10px 20px 15px;
  }

  .page-promotions-new-member-bonus__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, small decorative padding */
  }
}

@media (max-width: 480px) {
  .page-promotions-new-member-bonus h1 {
    font-size: 1.8em;
  }

  .page-promotions-new-member-bonus h2 {
    font-size: 1.6em;
  }

  .page-promotions-new-member-bonus__section {
    padding: 30px 10px;
  }

  .page-promotions-new-member-bonus__hero-content {
    padding: 0 10px;
  }

  .page-promotions-new-member-bonus__offers-grid {
    gap: 20px;
  }

  .page-promotions-new-member-bonus__card {
    padding: 20px;
  }
}