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

.page-promotions-new-user-bonus {
  background-color: var(--hello88-background);
  color: var(--hello88-text-main);
  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;
  text-align: center;
}

.page-promotions-new-user-bonus__dark-bg {
  background-color: var(--hello88-background);
  color: var(--hello88-text-main);
}

.page-promotions-new-user-bonus__light-bg {
  background-color: #11271B; /* Using card BG for contrast with dark body */
  color: var(--hello88-text-main);
}

.page-promotions-new-user-bonus__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--hello88-gold);
}

.page-promotions-new-user-bonus__text-block {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--hello88-text-secondary);
}

.page-promotions-new-user-bonus__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  text-align: center;
}

.page-promotions-new-user-bonus__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-promotions-new-user-bonus__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.page-promotions-new-user-bonus__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: var(--hello88-gold);
  margin-bottom: 20px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.page-promotions-new-user-bonus__description {
  font-size: 1.2em;
  color: var(--hello88-text-main);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-new-user-bonus__btn-primary {
  background: var(--hello88-button-gradient);
  color: #ffffff;
  border: 2px solid var(--hello88-primary-color);
  box-shadow: 0 4px 15px rgba(17, 168, 78, 0.4);
}

.page-promotions-new-user-bonus__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(17, 168, 78, 0.6);
}

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

.page-promotions-new-user-bonus__btn-secondary:hover {
  background-color: var(--hello88-gold);
  color: var(--hello88-background);
  transform: translateY(-3px);
}

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

.page-promotions-new-user-bonus__card {
  background-color: var(--hello88-card-bg);
  color: var(--hello88-text-main);
  border: 1px solid var(--hello88-border);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions-new-user-bonus__step-item img,
.page-promotions-new-user-bonus__promo-card img,
.page-promotions-new-user-bonus__feature-item img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
  border-radius: 8px;
  min-width: 200px; /* Minimum size for content images */
  min-height: 200px;
  object-fit: cover;
}

.page-promotions-new-user-bonus__step-title,
.page-promotions-new-user-bonus__promo-title,
.page-promotions-new-user-bonus__feature-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--hello88-gold);
}

.page-promotions-new-user-bonus__step-description,
.page-promotions-new-user-bonus__promo-description,
.page-promotions-new-user-bonus__feature-description {
  font-size: 1em;
  color: var(--hello88-text-secondary);
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__tip,
.page-promotions-new-user-bonus__note {
  font-size: 1em;
  color: var(--hello88-text-main);
  background-color: var(--hello88-deep-green);
  padding: 20px;
  border-radius: 8px;
  margin-top: 40px;
  text-align: left;
}

.page-promotions-new-user-bonus__tip strong,
.page-promotions-new-user-bonus__note strong {
  color: var(--hello88-gold);
}

.page-promotions-new-user-bonus__cta-center {
  margin-top: 40px;
}

.page-promotions-new-user-bonus__link {
  color: var(--hello88-primary-color);
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
  display: inline-block;
  transition: color 0.3s ease;
}

.page-promotions-new-user-bonus__link:hover {
  color: var(--hello88-gold);
}

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

.page-promotions-new-user-bonus__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
}

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--hello88-deep-green);
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--hello88-text-main);
  border-bottom: 1px solid var(--hello88-divider);
  list-style: none; /* For details/summary */
}

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

.page-promotions-new-user-bonus__faq-qtext {
  flex-grow: 1;
  color: var(--hello88-gold);
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--hello88-gold);
  margin-left: 15px;
}

.page-promotions-new-user-bonus__faq-answer {
  padding: 20px;
  background-color: var(--hello88-card-bg);
  color: var(--hello88-text-secondary);
  font-size: 1em;
}

.page-promotions-new-user-bonus__faq-answer p {
  margin-bottom: 10px;
}

.page-promotions-new-user-bonus__final-cta-section {
  padding-top: 40px;
  padding-bottom: 60px;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .page-promotions-new-user-bonus__container {
    padding: 0 15px !important;
  }

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

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

  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
  }

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

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

  .page-promotions-new-user-bonus__btn-primary,
  .page-promotions-new-user-bonus__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-promotions-new-user-bonus__step-item img,
  .page-promotions-new-user-bonus__promo-card img,
  .page-promotions-new-user-bonus__feature-item img,
  .page-promotions-new-user-bonus img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px !important;
    min-height: 200px !important;
    box-sizing: border-box !important;
  }

  .page-promotions-new-user-bonus__hero-image-wrapper {
    max-height: 400px;
  }

  .page-promotions-new-user-bonus__hero-image {
    height: 400px; /* Fixed height for mobile hero to ensure proper crop */
    object-fit: cover;
    object-position: center;
  }

  .page-promotions-new-user-bonus__step-title,
  .page-promotions-new-user-bonus__promo-title,
  .page-promotions-new-user-bonus__feature-title {
    font-size: 1.5em;
  }

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

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

@media (max-width: 480px) {
  .page-promotions-new-user-bonus__section-title {
    font-size: 1.8em;
  }

  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(1.5em, 10vw, 2.2em);
  }
}