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

.page-promotions-new-user-bonus {
  background-color: var(--page-bg);
  color: var(--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__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-bottom: 60px;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
}

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

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

.page-promotions-new-user-bonus__hero-content {
  position: relative;
  padding: 40px 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for readability */
  border-radius: 10px;
  margin-top: -80px; /* Overlap slightly for visual effect, but not on image directly */
  z-index: 1;
}

.page-promotions-new-user-bonus__main-title {
  font-size: clamp(2em, 4vw, 3.2em);
  font-weight: 700;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

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

.page-promotions-new-user-bonus__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.8em);
  font-weight: 700;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
}

.page-promotions-new-user-bonus__section-description {
  font-size: 1em;
  color: var(--text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-promotions-new-user-bonus__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  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(--button-gradient);
  color: var(--text-main);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-bonus__btn-secondary {
  background: var(--card-bg);
  color: var(--gold-color);
  border: 2px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

/* Benefits Section */
.page-promotions-new-user-bonus__benefits-section {
  padding: 60px 0;
  background-color: var(--page-bg);
}

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

.page-promotions-new-user-bonus__benefit-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--text-main);
}

.page-promotions-new-user-bonus__benefit-card:hover {
  transform: translateY(-5px);
}

.page-promotions-new-user-bonus__benefit-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  object-fit: contain;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-new-user-bonus__benefit-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-promotions-new-user-bonus__benefit-text {
  font-size: 0.95em;
  color: var(--text-secondary);
}

/* Bonus Details Section */
.page-promotions-new-user-bonus__bonus-details-section {
  padding: 60px 0;
  background-color: var(--deep-green);
}

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

.page-promotions-new-user-bonus__bonus-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

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

.page-promotions-new-user-bonus__bonus-title {
  font-size: 1.5em;
  color: var(--gold-color);
  margin-bottom: 15px;
}

.page-promotions-new-user-bonus__bonus-text {
  font-size: 1em;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

.page-promotions-new-user-bonus__terms-note {
  font-size: 0.9em;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 40px;
}

.page-promotions-new-user-bonus__center-cta {
  text-align: center;
  margin-top: 40px;
}

/* How to Register Section */
.page-promotions-new-user-bonus__how-to-register-section {
  padding: 60px 0;
  background-color: var(--page-bg);
}

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

.page-promotions-new-user-bonus__step-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  color: var(--text-main);
}

.page-promotions-new-user-bonus__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--button-gradient);
  color: var(--text-main);
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.page-promotions-new-user-bonus__step-text {
  font-size: 0.95em;
  color: var(--text-secondary);
}

/* Game Showcase Section */
.page-promotions-new-user-bonus__game-showcase-section {
  padding: 60px 0;
  background-color: var(--deep-green);
}

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

.page-promotions-new-user-bonus__game-card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: var(--text-main);
}

.page-promotions-new-user-bonus__game-card:hover {
  transform: translateY(-5px);
}

.page-promotions-new-user-bonus__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-new-user-bonus__game-title {
  font-size: 1.4em;
  color: var(--gold-color);
  margin: 20px 20px 10px;
}

.page-promotions-new-user-bonus__game-title a {
  color: var(--gold-color);
  text-decoration: none;
}

.page-promotions-new-user-bonus__game-title a:hover {
  text-decoration: underline;
}

.page-promotions-new-user-bonus__game-text {
  font-size: 0.95em;
  color: var(--text-secondary);
  margin: 0 20px 20px;
}

/* FAQ Section */
.page-promotions-new-user-bonus__faq-section {
  padding: 60px 0;
  background-color: var(--page-bg);
}

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

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

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--text-main);
  background-color: rgba(0, 0, 0, 0.2);
}

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

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

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--gold-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 20px 20px;
  font-size: 0.95em;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Final CTA Section */
.page-promotions-new-user-bonus__cta-final-section {
  padding: 60px 0;
  background-color: var(--deep-green);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__hero-content {
    margin-top: -60px;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }

  .page-promotions-new-user-bonus__section-title {
    font-size: clamp(1.6em, 5vw, 2.2em);
  }

  .page-promotions-new-user-bonus__hero-content {
    padding: 30px 15px;
    margin-top: -40px;
  }

  .page-promotions-new-user-bonus__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }

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

  .page-promotions-new-user-bonus__container {
    padding: 0 15px;
  }

  /* Mobile image adaptation */
  .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__benefits-section,
  .page-promotions-new-user-bonus__bonus-details-section,
  .page-promotions-new-user-bonus__how-to-register-section,
  .page-promotions-new-user-bonus__game-showcase-section,
  .page-promotions-new-user-bonus__faq-section,
  .page-promotions-new-user-bonus__cta-final-section,
  .page-promotions-new-user-bonus__benefit-card,
  .page-promotions-new-user-bonus__bonus-card,
  .page-promotions-new-user-bonus__step-card,
  .page-promotions-new-user-bonus__game-card,
  .page-promotions-new-user-bonus__faq-item,
  .page-promotions-new-user-bonus__center-cta,
  .page-promotions-new-user-bonus__hero-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  
  .page-promotions-new-user-bonus__hero-section {
    padding-top: 10px !important;
  }

  /* Mobile button adaptation */
  .page-promotions-new-user-bonus__cta-button,
  .page-promotions-new-user-bonus__btn-primary,
  .page-promotions-new-user-bonus__btn-secondary,
  .page-promotions-new-user-bonus a[class*="button"],
  .page-promotions-new-user-bonus a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions-new-user-bonus__cta-buttons,
  .page-promotions-new-user-bonus__button-group,
  .page-promotions-new-user-bonus__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    overflow: hidden !important;
  }

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