/* style/promo.css */

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

.page-promo *, .page-promo *::before, .page-promo *::after {
  box-sizing: inherit;
}

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

.page-promo__section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #F2C14E; /* Main Color */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promo__section-description {
  font-size: 18px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

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

.page-promo__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  position: relative;
  margin-bottom: 40px;
}

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

.page-promo__hero-content-wrapper {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-promo__main-title {
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 900;
  color: #FFD36B; /* Glow Color */
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-promo__hero-description {
  font-size: 20px;
  color: #FFF6D6;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promo__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Gradient */
  color: #111111; /* Dark text for contrast on bright button */
  padding: 15px 40px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-promo__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-promo__cta-button--secondary {
  background: #111111; /* Card BG */
  color: #FFD36B; /* Glow Color */
  border: 2px solid #FFD36B; /* Glow Color */
  box-shadow: none;
}

.page-promo__cta-button--secondary:hover {
  background: #FFD36B;
  color: #111111;
  box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

/* Overview Section */
.page-promo__overview-section {
  padding: 60px 0;
  background-color: #0A0A0A;
}

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

.page-promo__card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promo__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-promo__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  margin-bottom: 20px;
}

.page-promo__card-title {
  font-size: 24px;
  color: #F2C14E;
  margin-bottom: 15px;
  padding: 0 20px;
}

.page-promo__card-text {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 25px;
  flex-grow: 1;
  padding: 0 20px;
}

.page-promo__card-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Gradient */
  color: #111111; /* Dark text for contrast */
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto;
}

.page-promo__card-button:hover {
  opacity: 0.9;
}

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

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

.page-promo__step-item {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  text-align: center;
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promo__step-image {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 25px;
}

.page-promo__step-title {
  font-size: 22px;
  color: #FFD36B; /* Glow Color */
  margin-bottom: 15px;
}

.page-promo__step-text {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promo__step-button {
  display: inline-block;
  background: #F2C14E; /* Main Color */
  color: #111111; /* Dark text for contrast */
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto;
}

.page-promo__step-button:hover {
  background-color: #FFD36B;
}

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

.page-promo__terms-list {
  list-style: disc inside;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 30px auto;
  padding-left: 20px;
  color: #FFF6D6;
  font-size: 16px;
}

.page-promo__terms-list li {
  margin-bottom: 10px;
}

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

.page-promo__more-info {
  text-align: center;
  font-size: 16px;
  color: #FFF6D6;
}

.page-promo__text-link {
  color: #F2C14E;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

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

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

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

.page-promo__game-card {
  background-color: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  padding-bottom: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.page-promo__game-title {
  font-size: 22px;
  color: #F2C14E;
  margin-bottom: 10px;
  padding: 0 20px;
}

.page-promo__game-text {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
  padding: 0 20px;
}

.page-promo__game-button {
  display: inline-block;
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button Gradient */
  color: #111111; /* Dark text for contrast */
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  margin-top: auto;
}

.page-promo__game-button:hover {
  opacity: 0.9;
}

/* Why OKBET Section */
.page-promo__why-okbet-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG for a slightly different background */
}

.page-promo__dark-section .page-promo__section-title,
.page-promo__dark-section .page-promo__section-description {
  color: #FFF6D6;
}

.page-promo__features-list {
  list-style: none;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  color: #FFF6D6;
  font-size: 17px;
}

.page-promo__features-list li {
  background-color: rgba(242, 193, 78, 0.05); /* Very subtle highlight */
  border: 1px solid #3A2A12; /* Border */
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.page-promo__features-list li::before {
  content: '✔️';
  color: #FFD36B;
  font-size: 1.2em;
  line-height: 1;
}

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

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

.page-promo__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

.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: #FFD36B; /* Glow Color */
  font-size: 18px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

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

.page-promo__faq-item-title {
  margin: 0;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.page-promo__faq-toggle {
  font-size: 24px;
  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;
  color: #FFF6D6;
  font-size: 16px;
}

.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-bottom: 0;
}

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

.page-promo__button-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promo__hero-image-wrapper {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  .page-promo__container {
    padding: 0 15px !important;
  }

  .page-promo__section-title {
    font-size: 32px;
  }

  .page-promo__section-description {
    font-size: 16px;
  }

  .page-promo__main-title {
    font-size: 40px;
  }

  .page-promo__hero-description {
    font-size: 18px;
  }

  .page-promo__cta-button,
  .page-promo__cta-button--secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 15px 20px;
  }

  .page-promo__button-group {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .page-promo__promotion-cards,
  .page-promo__steps,
  .page-promo__game-cards,
  .page-promo__features-list {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promo__card-image,
  .page-promo__step-image,
  .page-promo__game-image {
    height: auto;
  }

  .page-promo__card,
  .page-promo__step-item,
  .page-promo__game-card,
  .page-promo__faq-item {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Ensure images within content areas are fully responsive */
  .page-promo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promo__hero-section,
  .page-promo__overview-section,
  .page-promo__how-to-claim-section,
  .page-promo__terms-section,
  .page-promo__featured-games-section,
  .page-promo__why-okbet-section,
  .page-promo__faq-section,
  .page-promo__cta-final-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-promo__hero-section {
    padding-top: 10px !important; /* Specific for hero to prevent double padding */
  }

  .page-promo__hero-image-wrapper {
    margin-bottom: 20px;
  }

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

  .page-promo__terms-list {
    padding-left: 0;
    text-align: left;
  }

  .page-promo__features-list li {
    text-align: left;
    padding: 15px;
  }

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

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

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