/* style/promo.css */

/* Base styles for the page content, assuming a dark body background from shared.css */
.page-promo {
  color: #FFF6D6; /* Text Main from custom colors for dark background */
  background-color: #0A0A0A; /* Background from custom colors */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

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

.page-promo__section {
  padding: 60px 0;
  text-align: center;
}

.page-promo__section-title {
  font-size: 2.8em;
  color: #F2C14E; /* Main brand color */
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-promo__section-description {
  font-size: 1.1em;
  color: #FFF6D6;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-promo__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;
  min-height: 600px; /* Ensure hero section has a minimum height */
  overflow: hidden;
}

.page-promo__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-promo__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-promo__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  text-align: center;
  padding: 20px;
  box-sizing: border-box;
}

.page-promo__main-title {
  font-size: clamp(2.5em, 5vw, 3.8em); /* Responsive H1 font size */
  color: #F2C14E; /* Main brand color */
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-promo__hero-description {
  font-size: 1.2em;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.page-promo__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.page-promo__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-promo__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-promo__btn-secondary {
  background: transparent;
  color: #F2C14E; /* Main brand color */
  border: 2px solid #F2C14E; /* Border from custom colors */
  margin-left: 15px;
}

.page-promo__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
}

.page-promo__inline-link {
  color: #FFD36B;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-promo__inline-link:hover {
  color: #F2C14E;
}

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

.page-promo__feature-card {
  background-color: #111111; /* Card BG from custom colors */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border from custom colors */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promo__feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px #FFD36B; /* Glow effect */
}

.page-promo__feature-icon {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 20px;
  border-radius: 8px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promo__feature-title {
  font-size: 1.6em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-promo__feature-text {
  font-size: 1em;
  color: #FFF6D6;
}

/* Promo Types Grid */
.page-promo__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promo__promo-card {
  background-color: #111111; /* Card BG from custom colors */
  padding: 25px;
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border from custom colors */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promo__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px #FFD36B; /* Glow effect */
}

.page-promo__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

.page-promo__promo-title {
  font-size: 1.5em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-promo__promo-text {
  font-size: 0.95em;
  color: #FFF6D6;
  flex-grow: 1;
  margin-bottom: 20px;
}

/* How to Claim Section */
.page-promo__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promo__step-card {
  background-color: #111111; /* Card BG from custom colors */
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #3A2A12; /* Border from custom colors */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promo__step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px #FFD36B; /* Glow effect */
}

.page-promo__step-number {
  font-size: 2.5em;
  color: #FFD36B; /* Glow color */
  font-weight: bold;
  margin-bottom: 15px;
  border: 3px solid #FFD36B;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-promo__step-title {
  font-size: 1.4em;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-promo__step-text {
  font-size: 0.95em;
  color: #FFF6D6;
}

.page-promo__button-wrapper {
  margin-top: 50px;
}

/* Terms & Conditions Section */
.page-promo__terms-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 800px;
  text-align: left;
}

.page-promo__terms-item {
  background-color: #111111; /* Card BG from custom colors */
  border: 1px solid #3A2A12; /* Border from custom colors */
  border-radius: 8px;
  padding: 15px 20px;
  margin-bottom: 15px;
  font-size: 1em;
  color: #FFF6D6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promo__terms-item strong {
  color: #F2C14E;
}

/* App Download CTA Section */
.page-promo__app-download-cta {
  background-color: #0A0A0A;
  padding: 80px 0;
  text-align: center;
}

.page-promo__app-cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.page-promo__app-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
  margin: 0 auto;
}

/* FAQ Section */
.page-promo__faq-section {
  padding-bottom: 80px;
}

.page-promo__faq-list {
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-promo__faq-item {
  background-color: #111111; /* Card BG from custom colors */
  border: 1px solid #3A2A12; /* Border from custom colors */
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-promo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  background-color: #1a1a1a;
  transition: background-color 0.3s ease;
}

.page-promo__faq-question:hover {
  background-color: #2a2a2a;
}

.page-promo__faq-title {
  font-size: 1.2em;
  color: #F2C14E;
  margin: 0;
  flex-grow: 1;
}

.page-promo__faq-toggle {
  font-size: 1.8em;
  color: #FFD36B;
  font-weight: bold;
  margin-left: 15px;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promo__faq-item.active .page-promo__faq-toggle {
  transform: rotate(0deg); /* Explicitly set for '-' */
}

.page-promo__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #FFF6D6;
  font-size: 0.95em;
}

.page-promo__faq-item.active .page-promo__faq-answer {
  max-height: 1000px !important; /* Sufficiently large for content */
  padding: 15px 20px;
}

.page-promo__faq-answer p {
  margin: 0;
  padding-bottom: 5px;
}

/* Call to Action Section */
.page-promo__call-to-action {
  background-color: #111111; /* Card BG from custom colors */
  padding: 80px 0;
  border-top: 1px solid #3A2A12;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promo__section-title {
    font-size: 2.5em;
  }
  .page-promo__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-promo__hero-description {
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-promo {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promo__section {
    padding: 40px 0;
  }
  .page-promo__section-title {
    font-size: 2em;
  }
  .page-promo__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }
  .page-promo__hero-content {
    padding: 15px;
  }
  .page-promo__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-promo__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-promo__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promo__btn-secondary {
    margin-left: 0;
    margin-top: 15px;
  }
  .page-promo__app-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }
  .page-promo__app-cta-buttons .page-promo__cta-button {
    width: 100% !important;
  }

  /* Mobile image adaptation */
  .page-promo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promo__container,
  .page-promo__section,
  .page-promo__card,
  .page-promo__hero-section,
  .page-promo__promo-card,
  .page-promo__step-card,
  .page-promo__faq-item,
  .page-promo__app-download-cta {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promo__faq-question,
  .page-promo__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promo__cta-button,
  .page-promo__btn-primary,
  .page-promo__btn-secondary,
  .page-promo a[class*="button"],
  .page-promo 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-promo__cta-buttons,
  .page-promo__button-group,
  .page-promo__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-promo__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles --header-offset */
  }
}

@media (max-width: 480px) {
  .page-promo__section-title {
    font-size: 1.8em;
  }
  .page-promo__main-title {
    font-size: clamp(1.5em, 7vw, 2.2em);
  }
  .page-promo__hero-description {
    font-size: 0.9em;
  }
  .page-promo__feature-title,
  .page-promo__promo-title,
  .page-promo__step-title {
    font-size: 1.3em;
  }
  .page-promo__faq-title {
    font-size: 1.1em;
  }
}