/* style/promo.css */
/* Base styles for the promo page content */
.page-promo {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF6D6; /* Main text color for dark background */
  background-color: #0A0A0A; /* Page background color */
}

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

.page-promo__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: #FFD36B; /* Accent color for titles */
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.2;
}

.page-promo__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: #FFF6D6;
}

/* Hero Section */
.page-promo__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: #0A0A0A;
  overflow: hidden; /* Ensure image doesn't overflow */
}

.page-promo__hero-image {
  width: 100%;
  max-width: 1920px; /* Use large dimensions for image generation */
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
}

.page-promo__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1; /* Ensure content is above any background effects */
}

.page-promo__main-title {
  font-weight: 700;
  color: #FFD36B;
  margin-bottom: 20px;
  line-height: 1.2;
  /* Using clamp for responsive font size without fixed large values */
  font-size: clamp(2.2em, 4vw, 3.2em);
}

.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-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: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 180px;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-promo__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A; /* Dark text for light button */
  border: 2px solid transparent;
}

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

.page-promo__btn-secondary {
  background: transparent;
  color: #FFD36B;
  border: 2px solid #FFD36B;
}

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

/* Section specific styles */
.page-promo__introduction-section,
.page-promo__how-to-claim-section,
.page-promo__responsible-gaming-section,
.page-promo__faq-section {
  padding: 60px 0;
}

.page-promo__types-section,
.page-promo__featured-promos,
.page-promo__fc-advantage-section,
.page-promo__cta-final-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

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

.page-promo__promo-card,
.page-promo__showcase-card {
  background-color: #111111; /* Card background */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #FFF6D6;
}

.page-promo__promo-card:hover,
.page-promo__showcase-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promo__card-image,
.page-promo__showcase-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promo__card-title,
.page-promo__showcase-title {
  font-size: 1.4em;
  color: #FFD36B;
  margin: 20px 20px 10px 20px;
  line-height: 1.3;
}

.page-promo__card-description,
.page-promo__showcase-description {
  font-size: 1em;
  color: #FFF6D6;
  padding: 0 20px;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

.page-promo__promo-card .page-promo__btn-primary,
.page-promo__showcase-card .page-promo__btn-primary {
  margin: 0 20px 20px 20px;
  width: calc(100% - 40px);
}

/* How to Claim Steps */
.page-promo__claim-steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

.page-promo__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  color: #0A0A0A;
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 20px;
}

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

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

.page-promo__cta-center {
  text-align: center;
  margin-top: 50px;
}

/* Responsible Gaming */
.page-promo__content-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

.page-promo__image-left {
  width: 100%;
  max-width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promo__text-content {
  flex: 1;
  min-width: 300px;
}

/* FC Advantage List */
.page-promo__advantage-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

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

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

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

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

.page-promo__faq-item {
  background-color: #0A0A0A;
  border: 1px solid #3A2A12;
  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: #FFD36B;
  font-size: 1.2em;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.page-promo__faq-question:hover {
  background-color: #1a1a1a;
}

.page-promo__faq-question h3 {
  margin: 0;
  color: inherit;
  font-size: 1em; /* Adjust to fit parent font size */
}

.page-promo__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #FFD36B;
  transition: transform 0.3s ease;
}

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

.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: 20px;
}

.page-promo__faq-answer p {
  margin: 0;
  font-size: 1em;
  color: #FFF6D6;
}

/* Final CTA Section */
.page-promo__cta-final-section {
  text-align: center;
  padding: 80px 0;
  background-color: #111111;
}

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

@media (max-width: 768px) {
  .page-promo {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-promo__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* Ensure small top padding on mobile */
  }
  .page-promo__hero-image {
    margin-bottom: 20px;
  }
  .page-promo__hero-content {
    padding: 0 15px;
  }
  .page-promo__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
    margin-bottom: 15px;
  }
  .page-promo__hero-description {
    font-size: 1em;
    margin-bottom: 20px;
  }
  .page-promo__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
  }
  .page-promo__btn-primary,
  .page-promo__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promo__container {
    padding: 0 15px;
  }
  .page-promo__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-promo__text-block {
    font-size: 1em;
  }
  .page-promo__promo-grid,
  .page-promo__promo-showcase-grid,
  .page-promo__claim-steps,
  .page-promo__advantage-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-promo__promo-card .page-promo__btn-primary,
  .page-promo__showcase-card .page-promo__btn-primary {
    width: calc(100% - 40px);
    margin-left: 20px;
    margin-right: 20px;
  }
  .page-promo__content-wrapper {
    flex-direction: column;
  }
  .page-promo__image-left {
    max-width: 100%;
    margin-bottom: 20px;
  }

  /* Mobile image and video responsive fix */
  .page-promo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promo__section,
  .page-promo__card,
  .page-promo__container,
  .page-promo__content-area,
  .page-promo__video-container,
  .page-promo__video-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promo__hero-section {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promo__faq-question {
    font-size: 1.1em;
    padding: 15px;
  }
  .page-promo__faq-answer {
    padding: 0 15px;
  }
  .page-promo__faq-item.active .page-promo__faq-answer {
    padding: 15px;
  }
}

@media (max-width: 480px) {
  .page-promo__btn-primary,
  .page-promo__btn-secondary {
    min-width: unset; /* Allow smaller width on very small screens */
  }
}