/* style/promotions.css */

:root {
  --color-primary: #11A84E;
  --color-secondary: #22C768;
  --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --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 {
  background-color: var(--color-background);
  color: var(--color-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.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__section-title {
  font-size: clamp(28px, 4vw, 48px);
  color: var(--color-text-main);
  margin-bottom: 40px;
  font-weight: bold;
  letter-spacing: 0.05em;
}

.page-promotions__sub-title {
  font-size: clamp(22px, 3vw, 32px);
  color: var(--color-text-main);
  margin-top: 30px;
  margin-bottom: 20px;
  font-weight: 600;
}

.page-promotions__content-block {
  max-width: 900px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
  line-height: 1.8;
  color: var(--color-text-secondary);
}

.page-promotions__content-block p {
  margin-bottom: 15px;
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  min-height: 600px; /* Ensure hero section has a decent height */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

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

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  background: rgba(0, 0, 0, 0.4); /* Subtle overlay for text readability */
  border-radius: 10px;
  margin-top: 200px; /* Push content down to avoid overlapping image top */
}

.page-promotions__main-title {
  color: var(--color-gold);
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promotions__description {
  color: var(--color-text-main);
  font-size: clamp(18px, 2vw, 24px);
  margin-bottom: 30px;
  line-height: 1.5;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  background: var(--color-button-gradient);
  color: var(--color-text-main);
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-promotions__cta-button--large {
  padding: 18px 40px;
  font-size: 1.3em;
}

.page-promotions__image-gallery {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap;
}

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

.page-promotions__image-item {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--color-border);
}

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

.page-promotions__card {
  background-color: var(--color-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 250px;
}

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

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

.page-promotions__card-button {
  display: inline-block;
  background: var(--color-button-gradient);
  color: var(--color-text-main);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-promotions__card-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

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

.page-promotions__step-card {
  background-color: var(--color-card-bg);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--color-border);
  text-align: center;
}

.page-promotions__step-icon {
  font-size: 2.5em;
  color: var(--color-gold);
  background-color: var(--color-deep-green);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  border: 2px solid var(--color-glow);
  box-shadow: 0 0 15px var(--color-glow);
}

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

.page-promotions__step-text {
  color: var(--color-text-secondary);
  font-size: 0.95em;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-promotions__step-button {
  display: inline-block;
  background: var(--color-button-gradient);
  color: var(--color-text-main);
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-promotions__step-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

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

.page-promotions__dark-section .page-promotions__section-title {
  color: var(--color-gold);
}

.page-promotions__dark-section .page-promotions__sub-title {
  color: var(--color-text-main);
}

.page-promotions__dark-section .page-promotions__content-block {
  color: var(--color-text-secondary);
}

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

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

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

.page-promotions__faq-question::-webkit-details-marker {
  display: none; /* For details/summary */
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  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: 0 25px 20px 25px;
  font-size: 1em;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.page-promotions__conclusion-section {
  padding-bottom: 80px;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: 150px;
    padding: 30px;
  }
  .page-promotions__main-title {
    font-size: clamp(32px, 4.5vw, 56px);
  }
  .page-promotions__description {
    font-size: clamp(16px, 1.8vw, 22px);
  }
  .page-promotions__section-title {
    font-size: clamp(26px, 3.5vw, 42px);
  }
  .page-promotions__sub-title {
    font-size: clamp(20px, 2.5vw, 28px);
  }
  .page-promotions__content-block {
    font-size: 1em;
  }
}

@media (max-width: 768px) {
  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__hero-content {
    margin-top: 100px;
    padding: 20px;
    max-width: calc(100% - 30px); /* Adjust for padding on small screens */
  }
  .page-promotions__main-title {
    font-size: clamp(28px, 6vw, 48px);
  }
  .page-promotions__description {
    font-size: clamp(15px, 2.5vw, 18px);
  }
  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promotions__cta-button--large {
    padding: 15px 30px;
    font-size: 1.1em;
  }
  .page-promotions__image-item {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__grid, .page-promotions__steps-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 15px;
  }
  .page-promotions__card, .page-promotions__step-card {
    padding: 25px;
  }
  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-promotions__faq-answer {
    padding: 0 20px 15px 20px;
  }
  .page-promotions__cta-button, .page-promotions__card-button, .page-promotions__step-button {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .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;
    flex-wrap: wrap !important;
    gap: 10px;
  }
  .page-promotions__container, .page-promotions__overview-section, .page-promotions__types-section, .page-promotions__how-to-join-section, .page-promotions__terms-section, .page-promotions__benefits-section, .page-promotions__faq-section, .page-promotions__conclusion-section {
    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;
  }
  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: clamp(24px, 8vw, 36px);
  }
  .page-promotions__description {
    font-size: clamp(14px, 3vw, 16px);
  }
  .page-promotions__cta-button--large {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promotions__section-title {
    font-size: clamp(22px, 5vw, 32px);
  }
  .page-promotions__sub-title {
    font-size: clamp(18px, 4vw, 24px);
  }
}