/* style/promo.css */

/* Base styles for the promo page */
.page-promo {
  background-color: #0A0A0A; /* Background color from custom palette */
  color: #FFF6D6; /* Main text color from custom palette for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px; /* Ensure space above footer */
}

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

.page-promo__dark-section {
  background-color: #111111; /* Card BG color for dark sections */
}

.page-promo__container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}

.page-promo__section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: #F2C14E; /* Main brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-promo__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #FFF6D6;
}

.page-promo__sub-title {
  font-size: 1.8rem;
  color: #FFD36B; /* Auxiliary brand color for subtitles */
  margin-top: 30px;
  margin-bottom: 15px;
  text-align: center;
}

.page-promo__text-block {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #FFF6D6;
  text-align: left;
}

.page-promo__keyword {
  font-weight: bold;
  color: #FFD36B;
}

/* Hero Section */
.page-promo__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Minimal top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
  text-align: center;
}

.page-promo__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height to prevent excessive size */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

.page-promo__hero-content-wrapper {
  max-width: 900px;
  padding: 0 15px;
}

.page-promo__hero-title {
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  font-weight: 800;
  color: #F2C14E;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-promo__hero-description {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: #FFF6D6;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* CTA Buttons */
.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-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promo__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #111111; /* Dark text for golden button */
  border: none;
}

.page-promo__btn-primary:hover {
  background: linear-gradient(180deg, #DDA11D 0%, #FFD86A 100%);
  transform: translateY(-2px);
}

.page-promo__btn-secondary {
  background: transparent;
  color: #FFD36B; /* Glow color for secondary button text */
  border: 2px solid #3A2A12; /* Border color from custom palette */
}

.page-promo__btn-secondary:hover {
  background-color: rgba(255, 211, 107, 0.1);
  border-color: #FFD36B;
  transform: translateY(-2px);
}

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

.page-promo__card {
  background-color: #111111; /* Card BG color from custom palette */
  border: 1px solid #3A2A12; /* Border color from custom palette */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6; /* Text Main for card content */
}

.page-promo__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6), 0 0 15px rgba(255, 211, 107, 0.3); /* Glow effect */
}

.page-promo__card-title {
  font-size: 1.5rem;
  color: #FFD36B;
  margin-bottom: 15px;
}

.page-promo__card-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 20px;
}

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

.page-promo__promo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0; /* Remove padding for image to fill top */
  overflow: hidden;
}

.page-promo__promo-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: block;
}

.page-promo__promo-content {
  padding: 25px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.page-promo__promo-content .page-promo__card-title {
  margin-top: 0;
  font-size: 1.4rem;
}

.page-promo__promo-content .page-promo__card-text {
  flex-grow: 1;
}

/* App Promo Section */
.page-promo__app-promo-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-promo__app-text-block {
  flex: 1;
  min-width: 300px;
  max-width: 600px;
  text-align: left;
}

.page-promo__app-text-block .page-promo__sub-title {
  text-align: left;
}

.page-promo__app-text-block .page-promo__text-block {
  margin-bottom: 15px;
}

.page-promo__app-screenshot {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 211, 107, 0.4); /* Enhanced Glow */
  display: block;
}

.page-promo__app-text-block .page-promo__cta-buttons {
  justify-content: flex-start;
  margin-top: 25px;
}

/* VIP Section */
.page-promo__vip-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 40px;
}

.page-promo__vip-image {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 211, 107, 0.4);
  display: block;
}

.page-promo__vip-list {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.page-promo__vip-list-item {
  background-color: rgba(255, 211, 107, 0.08); /* Subtle highlight for list items */
  padding: 15px 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border-left: 4px solid #F2C14E;
  color: #FFF6D6;
  font-size: 1.05rem;
}

.page-promo__vip-list-item strong {
  color: #FFD36B;
}

/* Security Features */
.page-promo__security-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.page-promo__security-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  color: #FFF6D6;
}

.page-promo__security-item .page-promo__sub-title {
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 10px;
}

.page-promo__security-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  margin: 40px auto 20px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 211, 107, 0.4);
}

/* FAQ Section */
.page-promo__faq-list {
  margin-top: 40px;
}

.page-promo__faq-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  color: #FFF6D6;
}

.page-promo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  color: #F2C14E;
  transition: background-color 0.3s ease;
}

.page-promo__faq-question:hover {
  background-color: rgba(255, 211, 107, 0.05);
}

.page-promo__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promo__faq-item.active .page-promo__faq-toggle {
  transform: rotate(45deg);
}

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

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

.page-promo__faq-answer p {
  margin-bottom: 15px;
}

.page-promo__faq-image {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: 40px auto 20px auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 211, 107, 0.4);
}

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

.page-promo__advantage-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  color: #FFF6D6;
}

.page-promo__advantage-item .page-promo__sub-title {
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 10px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promo__hero-section {
    padding-bottom: 40px;
  }
  .page-promo__section {
    padding: 40px 15px;
  }
}

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

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

  .page-promo__section-description {
    font-size: 1rem;
    margin-bottom: 30px;
  }

  .page-promo__hero-title {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
  }

  .page-promo__hero-description {
    font-size: clamp(1rem, 3vw, 1.2rem);
    margin-bottom: 30px;
  }

  .page-promo__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    width: 100%;
    box-sizing: border-box;
  }

  .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: 12px 20px;
  }
  
  .page-promo__promo-image {
    height: 200px; /* Adjust image height for smaller screens */
  }

  .page-promo__app-promo-content,
  .page-promo__vip-content {
    flex-direction: column;
  }

  .page-promo__app-text-block,
  .page-promo__vip-list {
    max-width: 100%;
    text-align: center;
  }

  .page-promo__app-text-block .page-promo__sub-title {
    text-align: center;
  }

  .page-promo__app-text-block .page-promo__cta-buttons {
    justify-content: center;
  }

  /* Mobile image responsiveness */
  .page-promo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-promo__section,
  .page-promo__card,
  .page-promo__container,
  .page-promo__app-promo-content,
  .page-promo__vip-content,
  .page-promo__security-features,
  .page-promo__advantages-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promo__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-promo__hero-content-wrapper {
    padding: 0;
  }

  .page-promo__sub-title {
    font-size: 1.5rem;
  }

  .page-promo__faq-question {
    font-size: 1.1rem;
    padding: 18px 20px;
  }

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

  .page-promo__security-item .page-promo__sub-title,
  .page-promo__advantage-item .page-promo__sub-title {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-title {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
  .page-promo__hero-description {
    font-size: clamp(0.9rem, 4vw, 1.1rem);
  }
  .page-promo__section-title {
    font-size: clamp(1.8rem, 7vw, 2.2rem);
  }
  .page-promo__sub-title {
    font-size: 1.3rem;
  }
  .page-promo__btn-primary,
  .page-promo__btn-secondary {
    font-size: 1rem;
    padding: 10px 15px;
  }
}