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

/* Base styles for the page */
.page-promotions {
  color: var(--text-main-color); /* Default text color for dark background */
  background-color: var(--background-color);
}

.page-promotions a {
  color: var(--gold-color);
  text-decoration: none;
}

.page-promotions a:hover {
  text-decoration: underline;
  color: var(--glow-color);
}

/* Sections */
.page-promotions__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: var(--background-color);
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

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

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

.page-promotions__main-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main-color);
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.page-promotions__description {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: none;
}

.page-promotions__btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

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

.page-promotions__btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(87, 227, 141, 0.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 700;
  color: var(--text-main-color);
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gold-color);
  border-radius: 2px;
}

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

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

.page-promotions__intro-section {
  background-color: var(--background-color);
  color: var(--text-main-color);
  border-bottom: 1px solid var(--divider-color);
}

.page-promotions__text-block {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary-color);
  margin-bottom: 20px;
  text-align: justify;
}

.page-promotions__text-block--light {
  color: var(--text-main-color);
}

.page-promotions__types-section {
  background-color: var(--deep-green-color);
  padding: 60px 0;
}

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

.page-promotions__promo-card {
  background-color: var(--card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: var(--text-main-color);
}

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px;
  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.5rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--gold-color);
  line-height: 1.3;
}

.page-promotions__card-title a {
  color: inherit;
  text-decoration: none;
}

.page-promotions__card-title a:hover {
  text-decoration: underline;
}

.page-promotions__card-description {
  font-size: 1rem;
  color: var(--text-secondary-color);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-link {
  display: inline-block;
  padding: 10px 20px;
  background: var(--button-gradient);
  color: #ffffff;
  border-radius: 6px;
  font-weight: 500;
  text-align: center;
  transition: background 0.3s ease;
  align-self: flex-start;
}

.page-promotions__card-link:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  text-decoration: none;
}

.page-promotions__how-to-join-section {
  background-color: var(--background-color);
  padding: 60px 0;
  border-bottom: 1px solid var(--divider-color);
}

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

.page-promotions__steps-list li {
  background-color: var(--card-bg-color);
  border-left: 5px solid var(--gold-color);
  padding: 20px 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color);
}

.page-promotions__step-title {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--gold-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-promotions__steps-list li p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary-color);
  margin-bottom: 0;
}

.page-promotions__benefits-section {
  background-color: var(--deep-green-color);
  padding: 60px 0;
}

.page-promotions__benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.page-promotions__benefits-list li {
  background-color: var(--card-bg-color);
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--text-main-color);
  transition: transform 0.3s ease;
}

.page-promotions__benefits-list li:hover {
  transform: translateY(-3px);
}

.page-promotions__benefit-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--gold-color);
  margin-top: 0;
  margin-bottom: 10px;
}

.page-promotions__benefits-list li p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-secondary-color);
  margin-bottom: 0;
}

.page-promotions__faq-section {
  background-color: var(--background-color);
  padding: 60px 0;
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-color);
  cursor: pointer;
  transition: background-color 0.3s ease;
  user-select: none;
  list-style: none; /* For details/summary */
}

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

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: var(--deep-green-color);
}

.page-promotions__faq-qtext {
  flex-grow: 1;
  padding-right: 15px;
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--glow-color);
}

.page-promotions__faq-answer {
  padding: 0 25px 20px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-secondary-color);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.page-promotions__faq-item[open] .page-promotions__faq-answer {
  max-height: 500px; /* Arbitrary large value for smooth transition */
  padding-top: 10px;
}

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

.page-promotions__cta-section {
  background-color: var(--deep-green-color);
  padding: 80px 0;
  text-align: center;
}

.page-promotions__cta-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-promotions__btn-primary--large {
  padding: 18px 40px;
  font-size: 1.25rem;
  margin-top: 30px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    max-width: 768px;
  }
  .page-promotions__main-title {
    font-size: clamp(2.2rem, 5vw, 3rem);
  }
  .page-promotions__section-title {
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
  }
  .page-promotions__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px;
  }
  .page-promotions__hero-image-wrapper {
    margin-bottom: 15px;
  }
  .page-promotions__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__main-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
    margin-bottom: 15px;
  }
  .page-promotions__description {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 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-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__container {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__section-title {
    font-size: clamp(1.6rem, 5.5vw, 2.2rem);
    margin-bottom: 30px;
  }
  .page-promotions__text-block {
    font-size: 0.95rem;
  }
  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .page-promotions__promo-card {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__card-title {
    font-size: 1.3rem;
  }
  .page-promotions__card-description {
    font-size: 0.9rem;
  }
  .page-promotions__steps-list li,
  .page-promotions__benefits-list li {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions__step-title,
  .page-promotions__benefit-title {
    font-size: 1.2rem;
  }
  .page-promotions__faq-question {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 0 20px 15px;
  }
  .page-promotions__cta-section {
    padding: 60px 0;
  }
  .page-promotions__btn-primary--large {
    padding: 16px 30px;
    font-size: 1.1rem;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-promotions img,
  .page-promotions video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper,
  .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: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-promotions__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-promotions__cta-buttons {
    display: flex;
    flex-direction: column;
  }
}