/* style/promo.css */
/* Base styles for the promo page */
.page-promo {
  background: #0A0A0A; /* Dark background as per Black Gold scheme */
  color: #FFF6D6; /* Light text for contrast on dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Container for content sections */
.page-promo__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promo__container--center {
  text-align: center;
}

/* Section titles */
.page-promo__section-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size for H2 */
  color: #F2C14E; /* Main brand color */
  text-align: center;
  margin-bottom: 20px;
  padding-top: 40px;
  font-weight: bold;
  line-height: 1.2;
}

.page-promo__section-description {
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 40px;
  color: #FFF6D6;
}

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

.page-promo__highlight {
  color: #FFD36B; /* Accent color for highlights */
  font-weight: bold;
}

/* Links */
.page-promo a {
  color: #FFD36B; /* Accent color for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promo a:hover {
  color: #F2C14E; /* Main color on hover */
  text-decoration: underline;
}

/* Buttons */
.page-promo__btn-primary,
.page-promo__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap; /* Prevent text wrapping in desktop view */
  box-sizing: border-box;
}

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

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

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

.page-promo__btn-secondary:hover {
  background: #F2C14E;
  color: #0A0A0A; /* Dark text on main color hover */
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-promo__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
}

.page-promo__cta-buttons--center {
  text-align: center;
}

/* Video Hero Section */
.page-promo__video-hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  overflow: hidden; /* Ensure content does not overflow */
}

.page-promo__video-container {
  position: relative;
  width: 100%; /* Important for desktop flex */
  max-width: 1920px; /* Max width for the video container */
  margin: 0 auto;
  box-sizing: border-box;
  display: flex; /* For stacking video and content */
  flex-direction: column; /* Stack video above content */
  align-items: center;
}

.page-promo__video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* Ensure video covers the area */
  border-radius: 10px;
}

.page-promo__hero-content {
  text-align: center;
  padding: 30px 20px;
  background: rgba(17, 17, 17, 0.8); /* Semi-transparent dark background */
  border-radius: 10px;
  margin-top: 20px; /* Separates content from video */
  max-width: 800px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.page-promo__main-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem); /* Responsive font size for H1 */
  color: #FFD36B; /* Accent color for H1 */
  margin-bottom: 15px;
  line-height: 1.1;
  font-weight: 900;
  letter-spacing: -1px;
}

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

/* Current Promotions Section */
.page-promo__current-promotions-section {
  padding: 60px 0;
  background: #0A0A0A;
}

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

.page-promo__promo-card {
  background: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 10px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promo__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-promo__promo-image {
  width: 100%;
  height: auto;
  max-height: 225px; /* Limit height to maintain aspect ratio for cards */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #3A2A12;
}

.page-promo__card-title {
  font-size: 1.4rem;
  color: #FFD36B; /* Accent color for card titles */
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promo__card-text {
  font-size: 1rem;
  color: #FFF6D6;
  margin-bottom: 25px;
  flex-grow: 1; /* Allow text to grow and push button to bottom */
}

.page-promo__promo-card .page-promo__btn-primary {
  margin-top: auto; /* Push button to the bottom of the card */
  width: 100%;
  max-width: 250px;
}

/* Bonus Types Section */
.page-promo__bonus-types-section {
  padding: 60px 0;
  background: #0A0A0A;
}

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

.page-promo__bonus-item {
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promo__bonus-item-title {
  font-size: 1.3rem;
  color: #F2C14E;
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* How to Claim Section */
.page-promo__how-to-claim-section {
  padding: 60px 0;
  background: #0A0A0A;
}

.page-promo__claim-steps {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promo__claim-steps li {
  background: #111111;
  border: 1px solid #3A2A12;
  border-left: 5px solid #F2C14E; /* Highlight with main color */
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promo__step-title {
  font-size: 1.3rem;
  color: #FFD36B;
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* Terms & Conditions Section */
.page-promo__terms-conditions-section {
  padding: 60px 0;
  background: #0A0A0A;
}

.page-promo__terms-list {
  list-style: disc;
  margin-left: 25px;
  margin-top: 30px;
  color: #FFF6D6;
}

.page-promo__terms-list li {
  margin-bottom: 10px;
  font-size: 1rem;
}

.page-promo__terms-list li strong {
  color: #F2C14E;
}

/* Why Choose Section */
.page-promo__why-choose-section {
  padding: 60px 0;
  background: #0A0A0A;
}

.page-promo__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.page-promo__benefits-list li {
  background: #111111;
  border: 1px solid #3A2A12;
  border-left: 5px solid #FFD36B;
  border-radius: 10px;
  padding: 20px;
  font-size: 1.05rem;
  color: #FFF6D6;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promo__benefits-list li strong {
  color: #F2C14E;
  display: block;
  margin-bottom: 5px;
}

/* Featured Games Section */
.page-promo__featured-games-section {
  padding: 60px 0;
  background: #0A0A0A;
}

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

.page-promo__game-card {
  display: flex;
  flex-direction: column;
  background: #111111;
  border: 1px solid #3A2A12;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  text-decoration: none;
  color: #FFF6D6;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promo__game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-promo__game-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid #3A2A12;
}

.page-promo__game-title {
  font-size: 1.3rem;
  color: #F2C14E;
  margin: 15px 10px 5px;
  font-weight: bold;
}

.page-promo__game-description {
  font-size: 0.95rem;
  color: #FFF6D6;
  padding: 0 15px 15px;
  flex-grow: 1;
}

/* FAQ Section */
.page-promo__faq-section {
  padding: 60px 0;
  background: #0A0A0A;
}

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

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

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

.page-promo__faq-question:hover {
  background: rgba(242, 193, 78, 0.1);
}

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

.page-promo__faq-item.active .page-promo__faq-toggle {
  transform: rotate(45deg); /* Plus sign becomes 'x' or 'minus' */
}

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

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

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

/* Final CTA Section */
.page-promo__final-cta-section {
  padding: 60px 0;
  background: #0A0A0A;
  text-align: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promo__section-title {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }
  .page-promo__hero-content {
    padding: 20px;
  }
}

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

  .page-promo__container {
    padding: 0 15px;
  }

  .page-promo__video-hero-section {
    padding-top: 10px !important; /* Ensure small top padding on mobile */
    padding-bottom: 30px;
  }
  
  .page-promo__video-container {
    padding: 0 15px; /* Add padding to video container */
  }

  .page-promo__hero-content {
    padding: 20px 15px;
    margin-top: 15px;
  }

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

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

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

  .page-promo__cta-buttons .page-promo__btn-primary,
  .page-promo__cta-buttons .page-promo__btn-secondary {
    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;
  }

  /* All images */
  .page-promo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  /* All containers with images or content */
  .page-promo__section,
  .page-promo__card,
  .page-promo__container,
  .page-promo__promo-card,
  .page-promo__bonus-item,
  .page-promo__claim-steps li,
  .page-promo__benefits-list li,
  .page-promo__game-card,
  .page-promo__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Video responsiveness */
  .page-promo__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-promo__video-container {
    max-width: 100% !important;
    width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .page-promo__promotions-grid,
  .page-promo__bonus-grid,
  .page-promo__games-grid {
    grid-template-columns: 1fr; /* Single column layout */
    gap: 20px;
  }
  
  .page-promo__promo-card .page-promo__btn-primary {
    max-width: 100% !important;
  }

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

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

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