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

/* Base styles for the page content, assuming body has a dark background from shared.css */
.page-promotions-new-user-bonus {
  background-color: var(--background-color, #08160F);
  color: var(--text-main-color, #F2FFF6); /* Light text for dark background */
  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__heading {
  color: var(--text-main-color, #F2FFF6);
  font-size: clamp(2em, 4vw, 2.8em); /* Use clamp for responsive H2 */
  margin-bottom: 30px;
  font-weight: 700;
}

.page-promotions-new-user-bonus__paragraph {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-promotions-new-user-bonus__link {
  color: var(--gold-color, #F2C14E);
  text-decoration: underline;
}

/* Hero Section */
.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;
  color: var(--text-main-color, #F2FFF6);
}

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

.page-promotions-new-user-bonus__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly darken image for text contrast */
}

.page-promotions-new-user-bonus__hero-content {
  max-width: 900px;
  padding: 0 20px;
  text-align: center;
}

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

.page-promotions-new-user-bonus__intro-text {
  font-size: clamp(1.1em, 2vw, 1.4em);
  margin-bottom: 40px;
  color: var(--text-secondary-color, #A7D9B8);
}

/* CTA Buttons */
.page-promotions-new-user-bonus__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text breaking */
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions-new-user-bonus__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff; /* White text for green gradient button */
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

/* Card Grid */
.page-promotions-new-user-bonus__card-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(--card-bg-color, #11271B); /* Dark card background */
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: var(--text-main-color, #F2FFF6); /* Light text for dark card */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions-new-user-bonus__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-promotions-new-user-bonus__card-title {
  color: var(--gold-color, #F2C14E);
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions-new-user-bonus__card-text {
  color: var(--text-secondary-color, #A7D9B8);
  font-size: 1em;
}

.page-promotions-new-user-bonus__note {
  font-style: italic;
  color: var(--text-secondary-color, #A7D9B8);
  margin-top: 30px;
  font-size: 0.95em;
}

/* Steps Section */
.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-color, #11271B);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-main-color, #F2FFF6);
}

.page-promotions-new-user-bonus__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #ffffff;
  border-radius: 50%;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions-new-user-bonus__step-title {
  color: var(--gold-color, #F2C14E);
  font-size: 1.4em;
  margin-bottom: 10px;
  font-weight: 600;
}

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

.page-promotions-new-user-bonus__button-wrapper {
  margin-top: 40px;
}

/* Benefits Section */
.page-promotions-new-user-bonus__benefit-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  text-align: left;
}

.page-promotions-new-user-bonus__benefit-item {
  background-color: var(--card-bg-color, #11271B);
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-main-color, #F2FFF6);
}

.page-promotions-new-user-bonus__benefit-title {
  color: var(--gold-color, #F2C14E);
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: 600;
}

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

/* Games Section */
.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-color, #11271B);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: var(--text-main-color, #F2FFF6);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions-new-user-bonus__game-image {
  width: 100%;
  height: 180px; /* Consistent height for game images */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
  max-width: 100%;
  display: block;
}

.page-promotions-new-user-bonus__game-title {
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: 600;
}

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

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

.page-promotions-new-user-bonus__game-text {
  color: var(--text-secondary-color, #A7D9B8);
  font-size: 0.9em;
}

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

.page-promotions-new-user-bonus__faq-item {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  color: var(--text-main-color, #F2FFF6);
}

.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(--gold-color, #F2C14E);
  background-color: var(--deep-green-color, #0A4B2C);
  border-bottom: 1px solid var(--divider-color, #1E3A2A);
}

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

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-question {
  border-bottom: 1px solid var(--divider-color, #1E3A2A);
}

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

.page-promotions-new-user-bonus__faq-answer p {
  margin-bottom: 0;
  color: inherit;
}

/* Final CTA Section */
.page-promotions-new-user-bonus__cta-final {
  background-color: var(--deep-green-color, #0A4B2C);
  padding: 80px 0;
}

.page-promotions-new-user-bonus__cta-final .page-promotions-new-user-bonus__heading {
  color: var(--gold-color, #F2C14E);
}

.page-promotions-new-user-bonus__cta-final .page-promotions-new-user-bonus__paragraph {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main-color, #F2FFF6);
}


/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__hero-section {
    padding-bottom: 40px;
  }

  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }

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

@media (max-width: 768px) {
  .page-promotions-new-user-bonus {
    font-size: 16px;
    line-height: 1.6;
  }

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

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

  .page-promotions-new-user-bonus__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
    padding-bottom: 30px;
  }

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

  /* Images 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__card-image,
  .page-promotions-new-user-bonus__game-image {
    height: auto !important; /* Allow height to adjust proportionally */
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Buttons responsiveness */
  .page-promotions-new-user-bonus__cta-button,
  .page-promotions-new-user-bonus__btn-primary,
  .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__button-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__step-card,
  .page-promotions-new-user-bonus__benefit-item,
  .page-promotions-new-user-bonus__game-card,
  .page-promotions-new-user-bonus__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 20px;
    padding-right: 20px;
  }

  .page-promotions-new-user-bonus__card-grid,
  .page-promotions-new-user-bonus__steps-grid,
  .page-promotions-new-user-bonus__benefit-list,
  .page-promotions-new-user-bonus__game-grid {
    grid-template-columns: 1fr;
  }

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

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