/* style/promo.css */

/* Base styles for the promo page content */
.page-promo {
  color: #FFF6D6; /* Text Main color for dark background */
  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;
}

/* Sections */
.page-promo__section {
  padding: 60px 0;
  text-align: center;
  background: #0A0A0A; /* Background color for dark body */
}

.page-promo__dark-bg {
  background: #0A0A0A;
}

.page-promo__dark-section {
  background: #F2C14E; /* Main color for a highlighted section */
  color: #ffffff;
}

.page-promo__section-title {
  font-size: clamp(2em, 4vw, 2.8em);
  font-weight: bold;
  margin-bottom: 30px;
  color: #FFF6D6;
  line-height: 1.2;
}

.page-promo__section-title--light {
  color: #ffffff;
}

.page-promo__text-block {
  max-width: 800px;
  margin: 0 auto 20px auto;
  font-size: 1.1em;
  color: #FFF6D6;
}

.page-promo__text-block--light {
  color: #ffffff;
}

/* Hero Section */
.page-promo__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 600px;
  padding: 10px 0 60px 0; /* 10px top padding to accommodate shared header offset on body */
  overflow: hidden;
}

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

.page-promo__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

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

.page-promo__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promo__hero-description {
  font-size: 1.3em;
  color: #FFF6D6;
  margin-bottom: 40px;
}

/* CTA Buttons */
.page-promo__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

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

.page-promo__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-promo__btn-secondary {
  background: #111111; /* Card BG color */
  color: #FFD36B;
  border: 2px solid #3A2A12; /* Border color */
}

.page-promo__btn-secondary:hover {
  background: #222222;
  color: #FFD86A;
  border-color: #FFD86A;
  transform: translateY(-2px);
}

.page-promo__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-promo__btn-large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-promo__cta-center {
  margin-top: 40px;
}

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

.page-promo__card {
  background: #111111; /* Card BG */
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #FFF6D6;
}

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

.page-promo__card-title {
  font-size: 1.8em;
  color: #FFD36B;
  margin-bottom: 10px;
}

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

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

.page-promo__step-item {
  background: #111111;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  color: #FFF6D6;
}

.page-promo__step-number {
  font-size: 2.5em;
  font-weight: bold;
  color: #FFD36B;
  margin-bottom: 15px;
}

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

.page-promo__step-description {
  font-size: 1em;
  color: #FFF6D6;
}

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

.page-promo__game-card {
  background: #111111;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: #FFF6D6;
}

.page-promo__game-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

.page-promo__game-title {
  font-size: 1.6em;
  color: #FFD36B;
  margin-bottom: 8px;
}

.page-promo__game-description {
  font-size: 0.95em;
  color: #FFF6D6;
  margin-bottom: 15px;
}

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

.page-promo__vip-item {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
}

.page-promo__vip-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 15px;
}

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

.page-promo__vip-description {
  font-size: 0.95em;
  color: #ffffff;
}

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

.page-promo__feature-item {
  background: #111111;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: left;
  color: #FFF6D6;
}

.page-promo__feature-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 15px;
}

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

.page-promo__feature-description {
  font-size: 0.95em;
  color: #FFF6D6;
}

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

.page-promo__app-qr {
  width: 200px;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
  background: #FFF6D6;
  padding: 10px;
}

.page-promo__app-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
  max-width: 350px;
}

/* FAQ Section */
.page-promo__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promo__faq-item {
  background: #111111;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #FFF6D6;
  border: 1px solid #3A2A12;
}

.page-promo__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: #FFD36B;
  background: #111111;
}

.page-promo__faq-question:hover {
  background: #222222;
}

.page-promo__faq-toggle {
  font-size: 1.5em;
  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 20px;
  transition: max-height 0.3s ease, padding 0.3s ease;
  text-align: left;
  font-size: 1em;
  color: #FFF6D6;
}

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

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

/* Final CTA Section */
.page-promo__cta-final {
  padding: 80px 0;
}

.page-promo__cta-final-content {
  max-width: 900px;
}

/* Floating CTA Button */
.page-promo__floating-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.page-promo__floating-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease-in-out;
}

.page-promo__floating-btn:hover {
    transform: translateY(-5px);
}

.page-promo__floating-icon {
    font-size: 1.5em;
    line-height: 1;
}

.page-promo__floating-text {
    font-size: 1em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promo__hero-content {
    padding: 20px 15px;
  }

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

@media (max-width: 768px) {
  .page-promo__section {
    padding: 40px 0;
  }

  .page-promo__hero-section {
    min-height: 400px;
    padding-bottom: 40px;
  }

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

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

  .page-promo__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }

  .page-promo__btn-primary,
  .page-promo__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 15px 10px;
    white-space: normal !important;
    word-wrap: break-word !important;
    font-size: 1em;
  }
  
  .page-promo__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Mobile image responsiveness */
  .page-promo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block;
  }
  
  .page-promo__card-image,
  .page-promo__game-image,
  .page-promo__feature-image {
    height: auto; /* Allow auto height for mobile */
    min-height: 200px; /* Ensure minimum size for content images */
  }

  /* Specific image exceptions for mobile */
  .page-promo__vip-icon {
    width: 48px !important;
    height: 48px !important;
  }
  
  .page-promo__app-qr {
    width: 150px !important;
    height: 150px !important;
  }

  .page-promo__app-buttons {
    max-width: 100%;
  }

  .page-promo__floating-cta {
      bottom: 15px;
      right: 15px;
  }

  .page-promo__floating-btn {
      padding: 10px 20px;
      font-size: 0.9em;
  }
  
  .page-promo__floating-icon {
      font-size: 1.2em;
  }
  
  .page-promo__floating-text {
      font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  .page-promo__hero-section {
    padding-top: 10px; /* Consistent top padding */
  }

  .page-promo__main-title {
    font-size: 2em;
  }

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

  .page-promo__section-title {
    font-size: 1.8em;
  }

  .page-promo__text-block {
    font-size: 0.95em;
  }

  .page-promo__grid-cards,
  .page-promo__steps-grid,
  .page-promo__games-grid,
  .page-promo__vip-features,
  .page-promo__security-features {
    grid-template-columns: 1fr;
  }

  .page-promo__card,
  .page-promo__step-item,
  .page-promo__game-card,
  .page-promo__vip-item,
  .page-promo__feature-item {
    padding: 20px;
  }

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

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

  .page-promo__cta-final {
    padding: 60px 0;
  }
}