/* style/promo.css */

/* Base styles for the page */
.page-promo {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Text Main */
  background-color: #0A0A0A; /* Background */
  box-sizing: border-box;
}

.page-promo * {
  box-sizing: border-box;
}

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

/* Sections */
.page-promo__hero-section,
.page-promo__info-section,
.page-promo__promo-highlights,
.page-promo__games-section,
.page-promo__how-to-start,
.page-promo__testimonials-section,
.page-promo__partners-section,
.page-promo__responsible-gaming-section,
.page-promo__faq-section,
.page-promo__final-cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: #0A0A0A; /* Ensure dark background for light text */
}

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

.page-promo__video-container {
  width: 100%; /* Desktop width */
  max-width: 100%;
  overflow: hidden;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  margin-bottom: 40px;
}

.page-promo__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  display: block;
}

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

.page-promo__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: bold;
  color: #FFD36B; /* Glow color for main title */
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.page-promo__hero-description {
  font-size: 1.25rem;
  color: #FFF6D6;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

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

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

.page-promo__btn-primary,
.page-promo__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
  box-sizing: border-box;
  width: auto; /* Default to auto, responsive for mobile */
}

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

.page-promo__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-promo__btn-secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow color for text */
  border: 2px solid #FFD36B; /* Glow color for border */
}

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

.page-promo__btn-small {
  padding: 10px 20px;
  font-size: 1rem;
}

.page-promo__text-link {
  color: #FFD36B;
  text-decoration: underline;
}

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

/* Card styles */
.page-promo__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #FFF6D6;
}

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

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

.page-promo__feature-icon {
  width: 200px;
  height: 200px;
  object-fit: contain;
  margin: 0 auto 20px;
  display: block;
  border-radius: 8px;
}

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

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

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

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

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

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

.page-promo__cta-area {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #3A2A12;
}

.page-promo__cta-text {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #FFF6D6;
}

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

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

.page-promo__game-title {
  font-size: 1.3rem;
  color: #F2C14E;
  margin-bottom: 10px;
}

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

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

.page-promo__step-image {
  width: 400px;
  height: 300px;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
  border-radius: 8px;
}

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

.page-promo__step-text {
  font-size: 1rem;
  color: #FFF6D6;
}

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

.page-promo__testimonial-text {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: #FFF6D6;
}

.page-promo__testimonial-author {
  font-weight: bold;
  color: #F2C14E;
}

/* Partners Section */
.page-promo__partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(167px, 1fr)); /* 2x5 grid, 167px wide */
  gap: 20px;
  margin-top: 40px;
  justify-items: center; /* Center items in the grid */
}

.page-promo__partner-item {
  width: 167px;
  height: 127px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  padding: 10px;
}

.page-promo__partner-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

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

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

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

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

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

.page-promo__faq-item.active .page-promo__faq-toggle {
  transform: rotate(0deg); /* '-' sign is default, no rotation */
}

.page-promo__faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  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 show content */
  padding: 15px 20px;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promo__hero-section,
  .page-promo__info-section,
  .page-promo__promo-highlights,
  .page-promo__games-section,
  .page-promo__how-to-start,
  .page-promo__testimonials-section,
  .page-promo__partners-section,
  .page-promo__responsible-gaming-section,
  .page-promo__faq-section,
  .page-promo__final-cta-section {
    padding: 60px 0;
  }

  .page-promo__main-title {
    font-size: clamp(2rem, 4.5vw, 3rem);
  }

  .page-promo__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

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

  .page-promo__hero-section {
    padding-top: 10px !important; /* Ensure small top padding */
    padding-bottom: 40px;
  }

  .page-promo__hero-content,
  .page-promo__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promo__video-container {
    padding-bottom: 75%; /* Adjust aspect ratio for mobile if needed, e.g., 4:3 or 3:4 for portrait */
  }

  .page-promo__main-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }

  .page-promo__hero-description,
  .page-promo__section-description {
    font-size: 1rem;
  }

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

  .page-promo__btn-primary,
  .page-promo__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promo__features-grid,
  .page-promo__promo-grid,
  .page-promo__games-grid,
  .page-promo__steps-grid,
  .page-promo__testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promo__feature-icon,
  .page-promo__promo-image,
  .page-promo__game-image,
  .page-promo__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-promo__partners-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on mobile */
    gap: 15px;
  }

  .page-promo__partner-item {
    width: 100%; /* Take full available width in its grid column */
    height: auto;
    padding: 10px;
  }

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

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

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