/* style/promotions.css */
:root {
  --primary-color: #017439;
  --secondary-color: #FFFFFF;
  --register-color: #C30808;
  --login-color: #C30808;
  --bg-color: #FFFFFF; /* Note: Body background is #121212 from shared.css */
  --reg-log-font-color: #FFFF00;
  --text-light: #ffffff;
  --text-dark: #333333;
  --header-offset: 122px; /* Default value if not set in shared.css */
}

/* Base styles for the page, adapting to dark body background */
.page-promotions {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Text color for dark body background */
  background-color: transparent; /* Rely on body background */
}

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

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-promotions__section-title {
  font-size: 2.8em;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-light);
}

.page-promotions__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding */
  min-height: 600px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-color) 0%, darken(var(--primary-color), 15%) 100%);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text-light);
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  /* clamp for responsive font size, but avoid too large */
  font-size: clamp(2.2rem, 4vw, 3.5rem); 
}

.page-promotions__tagline {
  font-size: 1.25em;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
}

.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: 700;
  transition: all 0.3s ease;
  white-space: nowrap;
  box-sizing: border-box;
}

.page-promotions__btn-primary {
  background-color: var(--register-color);
  color: var(--reg-log-font-color);
  border: 2px solid var(--register-color);
}

.page-promotions__btn-primary:hover {
  background-color: darken(var(--register-color), 10%);
  border-color: darken(var(--register-color), 10%);
}

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

.page-promotions__btn-secondary:hover {
  background-color: var(--text-light);
  color: var(--primary-color);
}

/* Highlight Promotions Section */
.page-promotions__highlight-promos {
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: var(--text-light);
}

.page-promotions__highlight-promos .page-promotions__section-title,
.page-promotions__highlight-promos .page-promotions__section-description {
  color: var(--text-light);
}

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

.page-promotions__promo-card {
  background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent white for cards */
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__card-title {
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--reg-log-font-color); /* Use a striking color for titles */
}

.page-promotions__card-text {
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__btn-text {
  color: var(--reg-log-font-color);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.page-promotions__btn-text:hover {
  color: var(--secondary-color);
}

.page-promotions__icon-arrow {
  font-size: 1.2em;
  vertical-align: middle;
}

/* VIP Program Section */
.page-promotions__vip-program {
  background-color: var(--primary-color);
}

.page-promotions__vip-program .page-promotions__section-title,
.page-promotions__vip-program .page-promotions__section-description {
  color: var(--text-light);
}

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

.page-promotions__vip-benefit-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__vip-benefit-card .page-promotions__card-title {
  color: var(--reg-log-font-color);
  margin-bottom: 10px;
}

.page-promotions__vip-benefit-card .page-promotions__card-text {
  color: rgba(255, 255, 255, 0.7);
}

.page-promotions__cta-center {
  margin-top: 40px;
}

/* How To Join Section */
.page-promotions__how-to-join {
  background-color: #121212; /* Dark body background */
  color: var(--text-light);
}

.page-promotions__how-to-join .page-promotions__section-title,
.page-promotions__how-to-join .page-promotions__section-description {
  color: var(--text-light);
}

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

.page-promotions__step-card {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-image {
  width: 100%;
  max-width: 300px;
  height: auto;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__step-card .page-promotions__card-title {
  color: var(--reg-log-font-color);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.page-promotions__step-card .page-promotions__card-text {
  color: rgba(255, 255, 255, 0.7);
}

.page-promotions__step-card .page-promotions__card-text a {
  color: var(--reg-log-font-color);
  text-decoration: underline;
}

.page-promotions__step-card .page-promotions__card-text a:hover {
  color: var(--secondary-color);
}

/* Terms & Conditions Section */
.page-promotions__terms-conditions {
  background-color: #1a1a1a;
  color: var(--text-light);
}

.page-promotions__terms-conditions .page-promotions__section-title,
.page-promotions__terms-conditions .page-promotions__section-description {
  color: var(--text-light);
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  text-align: left;
}

.page-promotions__terms-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions__terms-item .page-promotions__card-title {
  color: var(--reg-log-font-color);
  font-size: 1.4em;
  margin-bottom: 10px;
}

.page-promotions__terms-item .page-promotions__card-text {
  color: rgba(255, 255, 255, 0.7);
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: var(--primary-color);
}

.page-promotions__faq-section .page-promotions__section-title {
  color: var(--text-light);
}

.page-promotions__faq-list {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.page-promotions__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

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

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

.page-promotions__faq-qtext {
  flex-grow: 1;
}

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

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

.page-promotions__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 1em;
  color: rgba(255, 255, 255, 0.7);
}

/* Conclusion Section */
.page-promotions__conclusion {
  background-color: #121212;
  color: var(--text-light);
}

.page-promotions__conclusion .page-promotions__section-title,
.page-promotions__conclusion .page-promotions__section-description {
  color: var(--text-light);
}

.page-promotions__conclusion .page-promotions__section-description a {
  color: var(--reg-log-font-color);
  text-decoration: underline;
}

.page-promotions__conclusion .page-promotions__section-description a:hover {
  color: var(--secondary-color);
}

/* Image and Video responsive base */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-promotions video {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

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

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

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

  .page-promotions__hero-section {
    min-height: 500px;
    padding-bottom: 40px;
  }

  .page-promotions__hero-image-wrapper {
    max-height: 300px;
  }

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

  .page-promotions__tagline {
    font-size: 1.1em;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important; /* Force full width for buttons */
    max-width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

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

  .page-promotions__promo-grid,
  .page-promotions__vip-benefits-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__promo-card,
  .page-promotions__vip-benefit-card,
  .page-promotions__step-card,
  .page-promotions__terms-item {
    padding: 20px;
  }

  .page-promotions__section-title {
    font-size: 2em;
  }

  .page-promotions__section-description {
    font-size: 1em;
  }

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

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

  .page-promotions__promo-image,
  .page-promotions__step-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  /* Containers for images/videos and buttons */
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-image-wrapper,
  .page-promotions__cta-buttons,
  .page-promotions__btn-container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

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

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

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