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

/* Variables for colors */
:root {
  --primary-color: #2F6BFF;
  --secondary-color: #6FA3FF;
  --button-gradient: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%);
  --card-bg: #FFFFFF;
  --section-bg: #F4F7FB;
  --text-main: #1F2D3D;
  --text-dark: #000000;
  --border-color: #D6E2FF;
  --glow-color: #A5C4FF;
  --white-color: #ffffff;
  --light-gray-text: #f0f0f0;
}

.page-promotions-new-user-bonus {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color for light backgrounds */
  background-color: var(--section-bg);
}

/* --- Hero Section --- */
.page-promotions-new-user-bonus__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  text-align: center;
  background-color: var(--primary-color);
  overflow: hidden;
}

.page-promotions-new-user-bonus__hero-image {
  width: 100%;
  height: auto;
  max-height: 675px;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
}

.page-promotions-new-user-bonus__hero-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--white-color);
  position: relative;
  z-index: 1;
}

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

.page-promotions-new-user-bonus__intro-text {
  font-size: clamp(1em, 1.5vw, 1.3em);
  margin-bottom: 30px;
  color: var(--light-gray-text);
}

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

.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: 600;
  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(--white-color);
  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);
  opacity: 0.9;
}

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

.page-promotions-new-user-bonus__btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  background-color: var(--section-bg);
}

/* --- General Section Styles --- */
.page-promotions-new-user-bonus__overview-section,
.page-promotions-new-user-bonus__how-to-claim-section,
.page-promotions-new-user-bonus__terms-section,
.page-promotions-new-user-bonus__faq-section,
.page-promotions-new-user-bonus__final-cta-section {
  padding: 80px 20px;
  text-align: center;
  overflow: hidden;
}

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

.page-promotions-new-user-bonus__dark-bg {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.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(1.8em, 3vw, 2.8em);
  font-weight: 700;
  margin-bottom: 40px;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus__section-title--light {
  color: var(--white-color);
}

.page-promotions-new-user-bonus__text-block {
  font-size: 1.1em;
  margin-bottom: 25px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-main);
}

.page-promotions-new-user-bonus__text-block--light {
  color: var(--light-gray-text);
}

.page-promotions-new-user-bonus__card {
  background: var(--card-bg);
  color: var(--text-main);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  text-align: left;
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-new-user-bonus__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* --- Feature Grid --- */
.page-promotions-new-user-bonus__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.page-promotions-new-user-bonus__feature-icon {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 8px;
}

.page-promotions-new-user-bonus__feature-title {
  font-size: 1.4em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus__feature-description {
  font-size: 1em;
  color: var(--text-main);
}

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

.page-promotions-new-user-bonus__step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-promotions-new-user-bonus__step-number {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: var(--secondary-color);
  color: var(--white-color);
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions-new-user-bonus__step-title {
  font-size: 1.5em;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.page-promotions-new-user-bonus__step-description {
  font-size: 1em;
  color: var(--text-main);
}

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

/* --- Terms Section --- */
.page-promotions-new-user-bonus__terms-list {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto;
  text-align: left;
}

.page-promotions-new-user-bonus__terms-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1.05em;
  color: var(--text-main);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.page-promotions-new-user-bonus__faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promotions-new-user-bonus__faq-item summary {
  list-style: none; /* Hide default marker */
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-promotions-new-user-bonus__faq-item summary::-webkit-details-marker {
  display: none; /* Hide default marker for webkit */
}

.page-promotions-new-user-bonus__faq-item summary:hover {
  background-color: #f9f9f9;
}

.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: var(--primary-color);
}

.page-promotions-new-user-bonus__faq-answer {
  padding: 0 20px 20px;
  font-size: 1em;
  color: var(--text-main);
  line-height: 1.7;
}

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

/* --- Final CTA Section --- */
.page-promotions-new-user-bonus__final-cta-section {
  padding: 100px 20px;
}

/* --- Responsive Design --- */

/* All images basic responsive styles */
.page-promotions-new-user-bonus img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* All content area images must be >= 200px */
.page-promotions-new-user-bonus__feature-icon,
.page-promotions-new-user-bonus__hero-image {
  min-width: 200px;
  min-height: 200px;
}

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

  .page-promotions-new-user-bonus__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-promotions-new-user-bonus__main-title {
    font-size: 2.2em;
  }

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

  .page-promotions-new-user-bonus__cta-buttons {
    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: 12px 20px;
    font-size: 1em;
    margin: 0 auto; /* Center buttons */
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions-new-user-bonus__overview-section,
  .page-promotions-new-user-bonus__how-to-claim-section,
  .page-promotions-new-user-bonus__terms-section,
  .page-promotions-new-user-bonus__faq-section,
  .page-promotions-new-user-bonus__final-cta-section {
    padding: 50px 15px;
  }

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

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

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

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

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

  .page-promotions-new-user-bonus__faq-item summary {
    padding: 15px;
    font-size: 1.05em;
  }

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

  /* Mobile specific 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__section,
  .page-promotions-new-user-bonus__card,
  .page-promotions-new-user-bonus__container,
  .page-promotions-new-user-bonus__hero-section,
  .page-promotions-new-user-bonus__overview-section,
  .page-promotions-new-user-bonus__how-to-claim-section,
  .page-promotions-new-user-bonus__terms-section,
  .page-promotions-new-user-bonus__faq-section,
  .page-promotions-new-user-bonus__final-cta-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__cta-buttons {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-wrap: wrap !important;
    gap: 15px;
  }

  /* Ensure content area images are at least 200px, but responsive */
  .page-promotions-new-user-bonus__feature-icon,
  .page-promotions-new-user-bonus__hero-image {
    min-width: unset; /* Override min-width for mobile, let max-width: 100% handle it */
    min-height: unset;
  }
  
  /* Fallback for text contrast if body bg is dark */
  .page-promotions-new-user-bonus__dark-bg {
    color: var(--white-color);
  }
  .page-promotions-new-user-bonus__light-bg {
    color: var(--text-main);
  }
}