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

/* Base styles for the page content, ensuring proper text contrast on dark background */
.page-promotions-new-user-bonus {
  background-color: #08160F; /* Custom background color */
  color: #F2FFF6; /* Main text color for dark background */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  font-size: 16px;
}

.page-promotions-new-user-bonus a {
  color: #57E38D; /* Glow color for links */
  text-decoration: none;
}

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

/* Section spacing and container */
.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;
}

.page-promotions-new-user-bonus__section-title {
  font-size: 2.5em;
  color: #F2C14E; /* Gold color for main titles */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promotions-new-user-bonus__text-block {
  margin-bottom: 20px;
  text-align: justify;
}

/* 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;
  text-align: center;
  background-color: #0A4B2C; /* Deep Green background for hero */
}

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

.page-promotions-new-user-bonus__hero-image {
  width: 100%;
  height: auto; /* Maintain aspect ratio */
  object-fit: cover;
}

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

.page-promotions-new-user-bonus__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
  color: #F2FFF6; /* Main text color */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.page-promotions-new-user-bonus__hero-description {
  font-size: 1.1em;
  color: #A7D9B8; /* Secondary text color */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-promotions-new-user-bonus__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-weight: bold;
  text-transform: uppercase;
  transition: all 0.3s ease;
  text-align: center;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow long words to break */
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions-new-user-bonus__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
  color: #F2FFF6; /* Text Main color for button */
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions-new-user-bonus__btn-secondary {
  background: transparent;
  color: #F2FFF6; /* Text Main color for button */
  border: 2px solid #2E7A4E; /* Border color */
}

.page-promotions-new-user-bonus__btn-secondary:hover {
  background-color: rgba(46, 122, 78, 0.2); /* Slightly lighter border color for hover */
  transform: translateY(-2px);
}

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

/* Content Images */
.page-promotions-new-user-bonus__content-image {
  width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 30px 0;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

/* Lists */
.page-promotions-new-user-bonus__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  color: #F2FFF6;
}

.page-promotions-new-user-bonus__list-item {
  margin-bottom: 10px;
}

.page-promotions-new-user-bonus__steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
}

.page-promotions-new-user-bonus__step-item {
  background-color: #11271B; /* Card BG color */
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  position: relative;
  padding-left: 80px;
}

.page-promotions-new-user-bonus__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 30px;
  top: 30px;
  background-color: #2AD16F; /* Button top gradient color */
  color: #08160F; /* Background color for step number */
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-promotions-new-user-bonus__step-title {
  color: #F2C14E; /* Gold color */
  font-size: 1.5em;
  margin-top: 0;
  margin-bottom: 10px;
}

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

.page-promotions-new-user-bonus__feature-card {
  background-color: #11271B; /* Card BG color */
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  color: #F2FFF6;
}

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

.page-promotions-new-user-bonus__feature-icon {
  width: 100%;
  height: auto;
  max-width: 150px;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions-new-user-bonus__feature-title {
  font-size: 1.4em;
  color: #F2C14E; /* Gold color */
  margin-bottom: 10px;
}

.page-promotions-new-user-bonus__feature-description {
  color: #A7D9B8; /* Secondary text color */
}

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

.page-promotions-new-user-bonus__faq-item {
  background-color: #11271B; /* Card BG color */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #F2FFF6;
}

.page-promotions-new-user-bonus__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  background-color: #1E3A2A; /* Divider color for question background */
  border-bottom: 1px solid #2E7A4E; /* Border color */
  color: #F2FFF6; /* Main text color */
  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;
}

.page-promotions-new-user-bonus__faq-toggle {
  font-size: 1.5em;
  margin-left: 15px;
  color: #57E38D; /* Glow color */
}

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

/* Details element specific styling */
.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-question {
  border-bottom: 1px solid #2E7A4E;
}

.page-promotions-new-user-bonus__faq-item[open] .page-promotions-new-user-bonus__faq-toggle {
  content: '−';
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-new-user-bonus__section-title {
    font-size: 2em;
  }
  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(1.8em, 5vw, 2.8em);
  }
  .page-promotions-new-user-bonus__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user-bonus section {
    padding: 40px 0;
  }
  .page-promotions-new-user-bonus__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(1.6em, 6vw, 2.5em);
  }
  .page-promotions-new-user-bonus__hero-description {
    font-size: 1em;
  }
  .page-promotions-new-user-bonus__cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
  }
  .page-promotions-new-user-bonus__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }
  .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;
  }
  .page-promotions-new-user-bonus__hero-image-wrapper {
    max-height: 400px;
  }
  .page-promotions-new-user-bonus__hero-section {
    padding-bottom: 40px;
  }

  /* 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__section,
  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__container,
  .page-promotions-new-user-bonus__features-grid,
  .page-promotions-new-user-bonus__feature-card,
  .page-promotions-new-user-bonus__step-item {
    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-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-promotions-new-user-bonus__step-item {
    padding-left: 30px; /* Adjust for smaller screens, number may overlap */
  }
  .page-promotions-new-user-bonus__step-item::before {
    left: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions-new-user-bonus__section-title {
    font-size: 1.5em;
  }
  .page-promotions-new-user-bonus__main-title {
    font-size: clamp(1.4em, 7vw, 2em);
  }
  .page-promotions-new-user-bonus__hero-description {
    font-size: 0.9em;
  }
  .page-promotions-new-user-bonus__hero-image-wrapper {
    max-height: 300px;
  }
  .page-promotions-new-user-bonus__feature-card {
    padding: 20px;
  }
  .page-promotions-new-user-bonus__feature-title {
    font-size: 1.2em;
  }
  .page-promotions-new-user-bonus__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }
  .page-promotions-new-user-bonus__faq-answer {
    padding: 15px 20px;
  }
}