/* style/promo.css */

/* Base styles for the promo page */
.page-promo {
  background-color: #0A0A0A; /* Background color from custom palette */
  color: #FFF6D6; /* Main text color from custom palette */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* Sections */
.page-promo__section {
  padding: 60px 20px;
  text-align: center;
}

/* Fixed header spacing: body already has padding-top from shared.css */
.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;
  overflow: hidden;
}

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

.page-promo__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.5); /* Darken image for text readability */
}

.page-promo__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
  color: #FFF6D6;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promo__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: #FFD36B; /* Using Glow color for H1 */
}

.page-promo__intro-text {
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promo__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 700;
  margin-bottom: 20px;
  color: #FFD36B; /* Using Glow color for section titles */
}

.page-promo__section-description {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #FFF6D6;
}

/* 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-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
}

.page-promo__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for contrast on bright button */
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

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

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

.page-promo__btn-secondary:hover {
  background: #F2C14E;
  color: #111111;
}

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

.page-promo__mt-large {
  margin-top: 40px;
}

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

.page-promo__promo-card {
  background-color: #111111; /* Card BG color */
  border: 1px solid #3A2A12; /* Border color */
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  color: #FFF6D6;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-promo__promo-card-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: #FFD36B;
}

.page-promo__promo-card-description {
  font-size: 1rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promo__promo-card-btn {
  align-self: flex-end;
  margin-top: auto;
}

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

.page-promo__step-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 30px;
  color: #FFF6D6;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-promo__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: #F2C14E; /* Main color */
  color: #111111;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 20px;
}

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

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

.page-promo__image-full-width {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-top: 20px;
  display: block;
}

/* Bonus Types */
.page-promo__types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-promo__type-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 25px;
  color: #FFF6D6;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-promo__type-card-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFD36B;
}

.page-promo__type-card-text {
  font-size: 0.95rem;
}

/* Terms & Conditions */
.page-promo__terms-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-promo__term-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 25px;
  color: #FFF6D6;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

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

.page-promo__term-text {
  font-size: 0.95rem;
}

/* Why Choose */
.page-promo__benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: left;
}

.page-promo__benefit-item {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 25px;
  color: #FFF6D6;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-promo__benefit-title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #FFD36B;
}

.page-promo__benefit-text {
  font-size: 0.95rem;
}

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

.page-promo__game-card {
  background-color: #111111;
  border: 1px solid #3A2A12;
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  color: #FFF6D6;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

.page-promo__game-card-title {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.page-promo__game-card-title a {
  color: #FFD36B; /* Link color for game titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promo__game-card-title a:hover {
  color: #F2C14E;
}

.page-promo__game-card-text {
  font-size: 0.9rem;
}

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

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

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

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

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

.page-promo__faq-item.active .page-promo__faq-toggle {
  transform: rotate(45deg); /* Change + to X or similar */
}

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

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

/* Responsible Gaming */
.page-promo__responsible-gaming {
  background-color: #111111;
  padding: 40px 20px;
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

/* Final CTA */
.page-promo__final-cta-section {
  padding-bottom: 80px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promo__hero-content {
    padding: 15px;
  }
  .page-promo__main-title {
    font-size: clamp(2.2rem, 4.5vw, 3rem);
  }
  .page-promo__intro-text {
    font-size: 1.1rem;
  }
  .page-promo__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  }
}

@media (max-width: 768px) {
  .page-promo__section {
    padding: 40px 15px;
  }
  .page-promo__hero-content {
    padding: 10px;
  }
  .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: 12px 20px;
    font-size: 1rem;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promo__cta-buttons,
  .page-promo__button-group,
  .page-promo__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  /* Mobile image adaptation */
  .page-promo img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promo__section,
  .page-promo__card,
  .page-promo__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promo__hero-image {
    filter: brightness(0.6); /* Slightly less dark on mobile */
  }
  .page-promo__main-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }
  .page-promo__intro-text {
    font-size: 1rem;
  }
  .page-promo__promo-card-image,
  .page-promo__game-card-image {
    height: auto; /* Allow height to adjust naturally */
  }
  .page-promo__promo-card-title,
  .page-promo__step-title,
  .page-promo__type-card-title,
  .page-promo__term-title,
  .page-promo__benefit-title,
  .page-promo__game-card-title {
    font-size: 1.2rem;
  }
  .page-promo__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-promo__faq-answer {
    padding: 0 20px;
  }
  .page-promo__faq-item.active .page-promo__faq-answer {
    padding: 10px 20px 15px 20px;
  }
}

@media (max-width: 480px) {
  .page-promo__main-title {
    font-size: clamp(1.8rem, 9vw, 2.2rem);
  }
  .page-promo__intro-text {
    font-size: 0.95rem;
  }
  .page-promo__section-title {
    font-size: clamp(1.6rem, 7vw, 2rem);
  }
  .page-promo__section-description {
    font-size: 1rem;
  }
}