/* style/promo.css */

/* Custom Colors */
:root {
  --nustar-primary-color: #F2C14E;
  --nustar-secondary-color: #FFD36B;
  --nustar-card-bg: #111111;
  --nustar-background: #0A0A0A;
  --nustar-text-main: #FFF6D6;
  --nustar-border-color: #3A2A12;
  --nustar-glow-color: #FFD36B;
  --nustar-button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-promo {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--nustar-text-main); /* Light text on dark body background */
  background-color: var(--nustar-background); /* Ensure consistent background */
}

.page-promo__section {
  padding: 60px 20px;
  text-align: center;
  background-color: var(--nustar-background);
}

.page-promo__dark-section {
  background-color: var(--nustar-background);
  color: var(--nustar-text-main);
}

.page-promo__light-bg {
  background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
  color: var(--nustar-text-main);
}

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

.page-promo__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom */
  overflow: hidden;
}

.page-promo__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
}

.page-promo__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-promo__hero-content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin-top: 40px;
  padding: 0 20px;
  text-align: center;
}

.page-promo__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: bold;
  color: var(--nustar-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promo__hero-description {
  font-size: 1.1em;
  color: #ccc;
  margin-bottom: 30px;
}

.page-promo__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--nustar-text-main);
  margin-bottom: 30px;
  font-weight: bold;
}

.page-promo__section-description {
  font-size: 1.1em;
  color: #ccc;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promo__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-promo__btn-primary,
.page-promo__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 200px;
  box-sizing: border-box;
}

.page-promo__btn-primary {
  background: var(--nustar-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

.page-promo__btn-secondary {
  background: transparent;
  color: var(--nustar-secondary-color);
  border: 2px solid var(--nustar-secondary-color);
  box-shadow: 0 4px 10px rgba(255, 211, 107, 0.2);
}

.page-promo__btn-secondary:hover {
  background: var(--nustar-secondary-color);
  color: var(--nustar-background);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(255, 211, 107, 0.4);
}

.page-promo__features-grid,
.page-promo__rewards-list,
.page-promo__vip-tiers,
.page-promo__tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promo__card {
  background-color: var(--nustar-card-bg);
  border: 1px solid var(--nustar-border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

.page-promo__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-promo__card-image {
  width: 100%;
  height: 200px; /* Min height 200px */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.page-promo__tier-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.page-promo__card-title {
  font-size: 1.4em;
  color: var(--nustar-secondary-color);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promo__card-text {
  font-size: 1em;
  color: #bbb;
  flex-grow: 1;
}

.page-promo__app-download-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-promo__qr-code {
  width: 200px;
  height: 200px;
  border-radius: 8px;
  border: 5px solid #fff;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.page-promo__faq-section {
  text-align: left;
}

.page-promo__faq-list {
  margin-top: 40px;
}

.page-promo__faq-item {
  background-color: var(--nustar-card-bg);
  border: 1px solid var(--nustar-border-color);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  background-color: #1a1a1a;
  color: var(--nustar-text-main);
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

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

.page-promo__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
  color: var(--nustar-secondary-color);
}

.page-promo__faq-item.active .page-promo__faq-toggle {
  transform: rotate(45deg); /* Plus to X */
}

.page-promo__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 25px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #bbb;
  background-color: var(--nustar-card-bg);
}

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

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-promo {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promo__hero-section {
    padding: 10px 0 40px 0;
  }

  .page-promo__main-title {
    font-size: clamp(1.8em, 8vw, 2.5em);
    margin-top: 20px;
  }

  .page-promo__hero-description {
    font-size: 1em;
  }

  .page-promo__section {
    padding: 40px 15px;
  }

  .page-promo__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
  }

  .page-promo__section-description {
    font-size: 0.95em;
  }

  .page-promo__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .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__features-grid,
  .page-promo__rewards-list,
  .page-promo__vip-tiers,
  .page-promo__tips-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promo__card {
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  }

  .page-promo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promo__section,
  .page-promo__card,
  .page-promo__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promo__hero-image-wrapper {
    max-height: 300px;
  }

  .page-promo__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-promo__faq-answer {
    padding: 0 20px;
  }

  .page-promo__faq-item.active .page-promo__faq-answer {
    padding: 15px 20px;
  }
}