/* style/promotions.css */

:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient-start: #2AD16F;
  --color-button-gradient-end: #13994A;
  --color-card-bg: #11271B;
  --color-background: #08160F;
  --color-text-main: #F2FFF6;
  --color-text-secondary: #A7D9B8;
  --color-border: #2E7A4E;
  --color-glow: #57E38D;
  --color-gold: #F2C14E;
  --color-divider: #1E3A2A;
  --color-deep-green: #0A4B2C;
}

.page-promotions {
  color: var(--color-text-main); /* Ensure light text on dark body background */
  background-color: var(--color-background);
}

.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 as body handles header offset */
  background-color: var(--color-background);
  overflow: hidden;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
}

.page-promotions__main-title {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--color-gold);
  margin-bottom: 20px;
  max-width: 100%;
}

.page-promotions__hero-description {
  font-size: 1.1em;
  line-height: 1.6;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

.page-promotions__btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background: var(--color-button-gradient-start);
  background-image: linear-gradient(180deg, var(--color-button-gradient-start) 0%, var(--color-button-gradient-end) 100%);
  color: var(--color-text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__content-area,
.page-promotions__how-to-join,
.page-promotions__faq-section,
.page-promotions__cta-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background-color: var(--color-background);
  border-radius: 10px;
  margin-bottom: 20px;
}

.page-promotions__deep-green-bg {
  background-color: var(--color-deep-green);
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto 20px auto;
  border-radius: 10px;
}

.page-promotions__section-title {
  font-size: 2.2em;
  font-weight: 700;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 30px;
  line-height: 1.3;
}

.page-promotions__text-block {
  font-size: 1em;
  line-height: 1.6;
  color: var(--color-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-promotions__promo-card,
.page-promotions__step-card,
.page-promotions__faq-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--color-text-main);
}

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

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

.page-promotions__card-title {
  font-size: 1.4em;
  font-weight: 600;
  color: var(--color-text-main);
  margin-bottom: 15px;
}

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

.page-promotions__btn-secondary {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95em;
  transition: background-color 0.3s ease, color 0.3s ease;
  margin-top: auto;
}

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

.page-promotions__feature-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.page-promotions__feature-item {
  background-color: var(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 20px;
  text-align: left;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__feature-title {
  font-size: 1.3em;
  font-weight: 600;
  color: var(--color-gold);
  margin-bottom: 10px;
}

.page-promotions__feature-description {
  font-size: 0.9em;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  overflow: hidden;
  color: var(--color-text-main);
  background-color: var(--color-card-bg);
  text-align: left;
}

.page-promotions__faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.1em;
  color: var(--color-text-main);
  background-color: var(--color-card-bg);
  list-style: none;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 10px;
  color: var(--color-gold);
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  padding: 10px 20px 20px 20px;
  font-size: 0.95em;
  line-height: 1.6;
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-divider);
}

.page-promotions__cta-section {
  text-align: center;
  padding-bottom: 60px;
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.5em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

  .page-promotions__hero-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-promotions__main-title {
    font-size: 2em;
    padding: 0 15px;
  }

  .page-promotions__hero-description {
    font-size: 1em;
    padding: 0 15px;
  }

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

  .page-promotions__content-area,
  .page-promotions__how-to-join,
  .page-promotions__faq-section,
  .page-promotions__cta-section,
  .page-promotions__deep-green-bg {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
    padding: 0 15px;
  }

  .page-promotions__text-block {
    font-size: 0.95em;
    padding: 0 15px;
  }

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

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

  .page-promotions__promo-card,
  .page-promotions__step-card,
  .page-promotions__feature-item,
  .page-promotions__faq-item {
    padding: 20px;
  }

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

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

  .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__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions__cta-buttons a {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em;
  }
  .page-promotions__section-title {
    font-size: 1.6em;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    font-size: 0.9em;
  }
}