/* style/promotions-new-user.css */
:root {
  --primary-color: #26A9E0;
  --secondary-color: #FFFFFF;
  --text-dark: #333333;
  --text-light: #ffffff;
  --login-color: #EA7C07;
}

/* Assume body background is dark from shared.css, so default text should be light */
.page-promotions-new-user {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
}

.page-promotions-new-user__dark-bg {
  background: var(--primary-color);
  color: var(--text-light);
}

.page-promotions-new-user__light-bg {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.page-promotions-new-user__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions-new-user__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles top offset, this is for visual spacing */
  min-height: 500px;
  overflow: hidden;
}

.page-promotions-new-user__hero-image-wrapper {
  width: 100%;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.page-promotions-new-user__hero-content {
  position: relative;
  z-index: 10;
  padding: 30px 20px;
  max-width: 800px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 8px;
  margin-top: 20px; /* Space below image */
}

.page-promotions-new-user__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin-bottom: 15px;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size for H1 */
}

.page-promotions-new-user__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-promotions-new-user__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-promotions-new-user__btn-primary,
.page-promotions-new-user__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
  cursor: pointer;
}

.page-promotions-new-user__btn-primary {
  background: var(--login-color); /* Use login color for primary action */
  color: var(--text-light);
  border: 2px solid var(--login-color);
}

.page-promotions-new-user__btn-primary:hover {
  background: darken(var(--login-color), 10%);
  border-color: darken(var(--login-color), 10%);
}

.page-promotions-new-user__btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

.page-promotions-new-user__btn-secondary:hover {
  background: var(--text-light);
  color: var(--primary-color);
}

.page-promotions-new-user__btn-large {
  padding: 15px 30px;
  font-size: 1.1rem;
}

.page-promotions-new-user__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
}

.page-promotions-new-user__section-description {
  font-size: 1.05rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Highlights Section */
.page-promotions-new-user__highlights-section {
  padding: 60px 0;
}

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

.page-promotions-new-user__promotion-card {
  background: var(--secondary-color);
  color: var(--text-dark);
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.page-promotions-new-user__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promotions-new-user__card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 20px 15px 10px 15px;
  color: var(--primary-color);
}

.page-promotions-new-user__card-text {
  font-size: 1rem;
  padding: 0 20px 20px 20px;
  flex-grow: 1;
}

.page-promotions-new-user__card-button {
  display: block;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 12px 20px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border-radius: 0 0 12px 12px;
}

.page-promotions-new-user__card-button:hover {
  background: darken(var(--primary-color), 10%);
}

/* How to Claim Section */
.page-promotions-new-user__how-to-claim-section {
  padding: 60px 0;
  background: var(--primary-color);
  color: var(--text-light);
}

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

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

.page-promotions-new-user__step-icon-wrapper {
  background: var(--text-light);
  border-radius: 50%;
  padding: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions-new-user__step-icon {
  width: 100px;
  height: 100px;
  display: block;
  object-fit: contain;
}

.page-promotions-new-user__step-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-promotions-new-user__step-text {
  font-size: 1rem;
  max-width: 300px;
}

.page-promotions-new-user__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Terms Section */
.page-promotions-new-user__terms-section {
  padding: 60px 0;
}

.page-promotions-new-user__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-new-user__terms-list li {
  margin-bottom: 15px;
  font-size: 1.05rem;
  line-height: 1.8;
  position: relative;
  padding-left: 30px;
  color: var(--text-dark);
}

.page-promotions-new-user__list-marker {
  color: var(--primary-color);
  font-size: 1.5rem;
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.6;
}

/* FAQ Section */
.page-promotions-new-user__faq-section {
  padding: 60px 0;
  background: var(--primary-color);
  color: var(--text-light);
}

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

.page-promotions-new-user__faq-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: var(--text-light);
}

.page-promotions-new-user__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-light);
  transition: background-color 0.3s ease;
  list-style: none; /* For details summary */
}

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

.page-promotions-new-user__faq-question:hover {
  background: rgba(255, 255, 255, 0.15);
}

.page-promotions-new-user__faq-qtext {
  flex-grow: 1;
}

.page-promotions-new-user__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  margin-left: 20px;
}

.page-promotions-new-user__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-light);
}

.page-promotions-new-user__faq-answer p {
  margin-bottom: 0;
  color: var(--text-light);
}

/* Final CTA */
.page-promotions-new-user__cta-final {
  padding: 80px 0;
  text-align: center;
}

.page-promotions-new-user__cta-content {
  max-width: 900px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions-new-user__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }
  .page-promotions-new-user__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-promotions-new-user {
    font-size: 16px;
    line-height: 1.6;
  }
  
  .page-promotions-new-user__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-promotions-new-user__hero-content {
    padding: 20px;
  }

  .page-promotions-new-user__main-title {
    font-size: 2.2rem;
    margin-bottom: 10px;
  }

  .page-promotions-new-user__hero-description {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .page-promotions-new-user__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }

  .page-promotions-new-user__btn-primary,
  .page-promotions-new-user__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions-new-user__section-title {
    font-size: 1.8rem;
  }

  .page-promotions-new-user__section-description {
    font-size: 0.95rem;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-promotions-new-user__highlights-section,
  .page-promotions-new-user__how-to-claim-section,
  .page-promotions-new-user__terms-section,
  .page-promotions-new-user__faq-section,
  .page-promotions-new-user__cta-final {
    padding: 40px 0;
  }

  .page-promotions-new-user__promotion-grid,
  .page-promotions-new-user__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }

  .page-promotions-new-user__promotion-card,
  .page-promotions-new-user__step-item,
  .page-promotions-new-user__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions-new-user__card-image {
    height: 180px;
  }

  .page-promotions-new-user__card-title {
    font-size: 1.3rem;
  }

  .page-promotions-new-user__terms-list {
    padding: 0 15px;
  }

  .page-promotions-new-user__terms-list li {
    font-size: 1rem;
    padding-left: 25px;
  }

  .page-promotions-new-user__list-marker {
    font-size: 1.3rem;
  }

  .page-promotions-new-user__faq-question {
    font-size: 1.1rem;
    padding: 15px 20px;
  }

  .page-promotions-new-user__faq-answer {
    padding: 0 20px 15px 20px;
  }

  /* Ensure all images are responsive and don't overflow */
  .page-promotions-new-user img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions-new-user__section,
  .page-promotions-new-user__card,
  .page-promotions-new-user__container,
  .page-promotions-new-user__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Added for general content containers */
  }
  
  /* Specific padding for sections to prevent content touching edges */
  .page-promotions-new-user__highlights-section .page-promotions-new-user__container,
  .page-promotions-new-user__how-to-claim-section .page-promotions-new-user__container,
  .page-promotions-new-user__terms-section .page-promotions-new-user__container,
  .page-promotions-new-user__faq-section .page-promotions-new-user__container,
  .page-promotions-new-user__cta-final .page-promotions-new-user__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-promotions-new-user__video-section {
    padding-top: 10px !important;
  }
}