/* style/promotions.css */

/* Body background is #0a0a0a (dark), so default text color should be light */
.page-promotions {
  color: #ffffff; /* Default text color for the page */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  background-color: transparent; /* Body handles the background */
}

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

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  text-align: center;
  overflow: hidden;
  background-color: #26A9E0; /* Fallback for hero section background */
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

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

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  color: #ffffff;
}

.page-promotions__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: #ffffff;
  max-width: 100%;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-promotions__hero-description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #ffffff;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.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: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions__btn-primary {
  background-color: #EA7C07; /* Login color */
  color: #ffffff;
  border: 2px solid #EA7C07;
}

.page-promotions__btn-primary:hover {
  background-color: #ff9900;
  border-color: #ff9900;
}

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

.page-promotions__btn-secondary:hover {
  background-color: #ffffff;
  color: #26A9E0;
}

.page-promotions__introduction-section,
.page-promotions__how-to-claim,
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: #0a0a0a; /* Dark background from body */
  color: #ffffff;
}

.page-promotions__promotion-types,
.page-promotions__terms-section,
.page-promotions__cta-bottom {
  padding: 60px 0;
  background-color: #26A9E0; /* Brand color as background */
  color: #ffffff;
}

.page-promotions__section-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #ffffff;
}

.page-promotions__section-title--white {
  color: #ffffff;
}

.page-promotions__text-block {
  font-size: 1.05rem;
  margin-bottom: 20px;
  text-align: justify;
  color: #ffffff;
}

.page-promotions__text-block--white {
  color: #ffffff;
}

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

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #ffffff;
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
  max-width: 100%;
  display: block;
}

.page-promotions__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-promotions__card-text {
  font-size: 0.95rem;
  margin-bottom: 25px;
  flex-grow: 1;
  color: #ffffff;
}

.page-promotions__list-item {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
  color: #ffffff;
}

.page-promotions__list-item::before {
  content: '✓';
  color: #EA7C07;
  position: absolute;
  left: 0;
  font-weight: 700;
}

.page-promotions__list-item--white {
  color: #ffffff;
}

.page-promotions__list-item--white::before {
  color: #ffffff;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
}

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

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  color: #ffffff;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1rem;
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-promotions__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

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

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

.page-promotions__faq-answer {
  padding: 15px 25px;
  font-size: 0.95rem;
  color: #f0f0f0;
}

.page-promotions__faq-answer p {
  margin-bottom: 10px;
  color: #f0f0f0;
}

.page-promotions__faq-answer a {
  color: #EA7C07;
  text-decoration: underline;
}

.page-promotions__faq-answer a:hover {
  color: #ff9900;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__introduction-section,
  .page-promotions__promotion-types,
  .page-promotions__how-to-claim,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom {
    padding-left: 15px;
    padding-right: 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions img,
  .page-promotions__card-image,
  .page-promotions__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .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;
  }

  .page-promotions__cta-button,
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    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;
  }

  .page-promotions__cta-buttons,
  .page-promotions__button-group,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    flex-direction: column;
    gap: 10px;
  }

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

  .page-promotions__hero-section,
  .page-promotions__introduction-section,
  .page-promotions__promotion-types,
  .page-promotions__how-to-claim,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .page-promotions__grid {
    grid-template-columns: 1fr;
  }

  .page-promotions__card {
    padding: 20px;
  }

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

  .page-promotions__section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
  }
}