/* style/promotions.css */

/* Custom Colors */
:root {
  --tl88-primary-color: #11A84E;
  --tl88-secondary-color: #22C768;
  --tl88-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --tl88-card-bg: #11271B;
  --tl88-background: #08160F;
  --tl88-text-main: #F2FFF6;
  --tl88-text-secondary: #A7D9B8;
  --tl88-border: #2E7A4E;
  --tl88-glow: #57E38D;
  --tl88-gold: #F2C14E;
  --tl88-divider: #1E3A2A;
  --tl88-deep-green: #0A4B2C;
}

.page-promotions {
  background-color: var(--tl88-background);
  color: var(--tl88-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  box-sizing: border-box;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  filter: brightness(0.6); /* Slightly dim the image for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  color: var(--tl88-text-main);
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
  box-sizing: border-box;
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--tl88-gold);
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: var(--tl88-text-main);
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: var(--tl88-button-gradient);
  color: #ffffff;
  border: 2px solid var(--tl88-primary-color);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--tl88-text-main);
  border: 2px solid var(--tl88-border);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--tl88-primary-color);
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.3);
}

.page-promotions__section {
  padding: 60px 0;
  background-color: var(--tl88-background);
  border-bottom: 1px solid var(--tl88-divider);
}

.page-promotions__introduction {
  padding-top: 30px;
}

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

.page-promotions__section-title {
  font-size: 2.5em;
  color: var(--tl88-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.3);
}

.page-promotions__text-block {
  font-size: 1.05em;
  color: var(--tl88-text-main);
  margin-bottom: 20px;
  text-align: justify;
}

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

.page-promotions__promo-card {
  background-color: var(--tl88-card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--tl88-border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(17, 168, 78, 0.5);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
  border-bottom: 1px solid var(--tl88-divider);
}

.page-promotions__card-title {
  font-size: 1.5em;
  color: var(--tl88-gold);
  margin: 25px 15px 15px;
  font-weight: 600;
}

.page-promotions__card-text {
  font-size: 0.95em;
  color: var(--tl88-text-secondary);
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__btn-primary,
.page-promotions__promo-card .page-promotions__btn-secondary {
  margin: 0 20px 25px;
  width: calc(100% - 40px);
  max-width: none; /* Override max-width for card buttons */
}

.page-promotions__list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.page-promotions__list-item {
  background-color: var(--tl88-card-bg);
  border: 1px solid var(--tl88-border);
  border-radius: 8px;
  padding: 18px 25px;
  margin-bottom: 15px;
  color: var(--tl88-text-main);
  font-size: 1.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__list-item strong {
  color: var(--tl88-gold);
}

.page-promotions__steps-list {
  list-style: decimal;
  padding-left: 25px;
  margin: 20px 0;
}

.page-promotions__steps-list .page-promotions__list-item {
  text-align: left;
  padding: 15px 20px;
}

.page-promotions__faq-list {
  margin-top: 30px;
}

.page-promotions__faq-item {
  background-color: var(--tl88-card-bg);
  border: 1px solid var(--tl88-border);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--tl88-gold);
  cursor: pointer;
  background-color: var(--tl88-deep-green);
  border-bottom: 1px solid var(--tl88-border);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: 1px solid var(--tl88-border);
}

.page-promotions__faq-question::-webkit-details-marker,
.page-promotions__faq-question::marker {
  display: none;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  transition: transform 0.3s ease;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  transform: rotate(45deg);
}

.page-promotions__faq-answer {
  padding: 15px 25px 20px;
  font-size: 1em;
  color: var(--tl88-text-secondary);
  text-align: justify;
}

.page-promotions__faq-answer-text {
  margin: 0;
}

.page-promotions__conclusion .page-promotions__section-title {
  margin-top: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

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

  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-promotions__hero-content {
    padding: 15px;
  }

  .page-promotions__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-promotions__description {
    font-size: 0.95em;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    padding: 0 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-promotions__section {
    padding: 40px 0;
  }

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

  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promotions__text-block {
    font-size: 0.95em;
  }

  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-promotions__promo-card {
    margin: 0 auto;
    max-width: 400px; /* Constraint for single column cards */
  }

  .page-promotions__card-image {
    height: 200px;
  }

  .page-promotions__card-title {
    font-size: 1.3em;
  }

  .page-promotions__card-text {
    font-size: 0.9em;
  }

  .page-promotions__list-item {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1em;
  }

  .page-promotions__faq-answer {
    padding: 15px 20px;
  }

  /* Mobile specific image adaptation */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-promotions__hero-section {
    padding-top: 10px !important; /* body already handles --header-offset */
  }

  /* Mobile video adaptation (if any) - not present in this page, but as a general rule */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-promotions__video-section {
    padding-top: 10px !important;
  }
}

/* Contrast Fixes (if needed, based on background analysis) */
/* The chosen color scheme already provides good contrast with dark background and light text */