/* style/promotions-new-user-bonus.css */
.page-promotions-new-user-bonus {
  background-color: #08160F; /* Background color from custom palette */
  color: #F2FFF6; /* Main text color from custom palette */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-promotions-new-user-bonus__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__hero-content {
  max-width: 900px;
  width: 100%;
  padding: 20px;
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__main-title {
  color: #F2FFF6; /* Main text color */
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
}

.page-promotions-new-user-bonus__hero-description {
  font-size: 1.1rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
}

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

.page-promotions-new-user-bonus__btn-primary,
.page-promotions-new-user-bonus__btn-secondary {
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box;
  text-align: center;
}

.page-promotions-new-user-bonus__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom button color */
  color: #F2FFF6; /* Main text color */
  border: none;
}

.page-promotions-new-user-bonus__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-promotions-new-user-bonus__btn-secondary {
  background: none;
  color: #2AD16F; /* Green from primary gradient for contrast */
  border: 2px solid #2AD16F; /* Border color */
}

.page-promotions-new-user-bonus__btn-secondary:hover {
  background-color: #2AD16F;
  color: #08160F; /* Dark background color for contrast */
  transform: translateY(-2px);
}

.page-promotions-new-user-bonus__section {
  padding: 60px 20px;
  text-align: center;
}

.page-promotions-new-user-bonus__dark-section {
  background-color: #0A4B2C; /* Deep Green from custom palette */
  color: #F2FFF6;
}

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

.page-promotions-new-user-bonus__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #F2FFF6; /* Main text color */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.3;
}

.page-promotions-new-user-bonus__section-description {
  font-size: 1.05rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus__feature-grid,
.page-promotions-new-user-bonus__bonus-grid,
.page-promotions-new-user-bonus__steps-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: #11271B; /* Card BG from custom palette */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  height: 100%; /* Ensure cards are same height */
  box-sizing: border-box;
}

.page-promotions-new-user-bonus__card img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__feature-title,
.page-promotions-new-user-bonus__bonus-title,
.page-promotions-new-user-bonus__step-title {
  font-size: 1.5rem;
  color: #F2FFF6; /* Main text color */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions-new-user-bonus__feature-text,
.page-promotions-new-user-bonus__bonus-text,
.page-promotions-new-user-bonus__step-text {
  font-size: 1rem;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions-new-user-bonus__bonus-item .page-promotions-new-user-bonus__btn-primary,
.page-promotions-new-user-bonus__bonus-item .page-promotions-new-user-bonus__btn-secondary,
.page-promotions-new-user-bonus__step-item .page-promotions-new-user-bonus__btn-primary,
.page-promotions-new-user-bonus__step-item .page-promotions-new-user-bonus__btn-secondary {
  align-self: center;
  width: fit-content;
  margin-top: auto; /* Push buttons to bottom of card */
}

.page-promotions-new-user-bonus__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus__terms-item {
  background-color: #1E3A2A; /* Divider color for list item background */
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  color: #F2FFF6; /* Main text color */
  font-size: 1rem;
  display: flex;
  align-items: center;
}

.page-promotions-new-user-bonus__terms-item::before {
  content: '✓';
  color: #57E38D; /* Glow color for checkmark */
  font-weight: bold;
  margin-right: 10px;
  font-size: 1.2rem;
}

.page-promotions-new-user-bonus__faq-list {
  margin-top: 40px;
  text-align: left;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user-bonus__faq-item {
  background-color: #11271B; /* Card BG */
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background-color: #1E3A2A; /* Divider color */
  color: #F2FFF6; /* Main text color */
  font-size: 1.15rem;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
}

.page-promotions-new-user-bonus__faq-question:hover {
  background-color: #2E7A4E; /* Border color */
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
  color: #57E38D; /* Glow color */
}

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

.page-promotions-new-user-bonus__faq-answer {
  padding: 0 25px 20px;
  color: #A7D9B8; /* Secondary text color */
  font-size: 1rem;
  line-height: 1.7;
}

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-answer {
  animation: fadein 0.3s ease-out;
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Ensure contrast for button text on primary/secondary buttons */
.page-promotions-new-user-bonus__btn-primary {
  color: #F2FFF6; /* Light text on dark/gradient background */
}

.page-promotions-new-user-bonus__btn-secondary {
  color: #2AD16F; /* Green text on transparent/light background */
}

.page-promotions-new-user-bonus__btn-secondary:hover {
  color: #08160F; /* Dark text on green background */
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-promotions-new-user-bonus__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

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

  .page-promotions-new-user-bonus__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }

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

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

  .page-promotions-new-user-bonus__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-promotions-new-user-bonus__section-description {
    font-size: 0.95rem;
  }

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

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

  .page-promotions-new-user-bonus__feature-title,
  .page-promotions-new-user-bonus__bonus-title,
  .page-promotions-new-user-bonus__step-title {
    font-size: 1.3rem;
  }

  .page-promotions-new-user-bonus__feature-text,
  .page-promotions-new-user-bonus__bonus-text,
  .page-promotions-new-user-bonus__step-text {
    font-size: 0.9rem;
  }

  .page-promotions-new-user-bonus__terms-item {
    padding: 12px 15px;
    font-size: 0.9rem;
  }

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

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

  /* Mobile 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__container,
  .page-promotions-new-user-bonus__section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
}