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

.page-promotions {
  background-color: var(--page-promotions-bg);
  color: var(--page-promotions-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.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, body handles header offset */
  box-sizing: border-box;
}

.page-promotions__hero-image {
  width: 100%;
  max-width: 1920px;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 30px;
}

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

.page-promotions__main-title {
  font-weight: 700;
  line-height: 1.2;
  color: var(--page-promotions-text-main);
  margin-bottom: 20px;
  max-width: 100%; /* Ensure H1 doesn't overflow */
}

.page-promotions__hero-description {
  color: var(--page-promotions-text-secondary);
  font-size: 1.1em;
  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: 15px 30px;
  border-radius: 8px;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions__btn-primary {
  background: var(--page-promotions-btn-gradient);
  color: var(--page-promotions-text-main);
  border: 2px solid transparent;
}

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

.page-promotions__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.page-promotions__section {
  padding: 80px 20px;
  text-align: center;
  box-sizing: border-box;
}

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

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

.page-promotions__section-description {
  font-size: 1.1em;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-promotions__card {
  background-color: var(--page-promotions-card-bg);
  border-radius: 10px;
  padding: 30px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-promotions-border);
  color: var(--page-promotions-text-main);
  height: 100%; /* Ensure cards have equal height */
  box-sizing: border-box;
}

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

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

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

.page-promotions__card .page-promotions__btn-primary {
  margin-top: auto; /* Push button to bottom */
  width: auto;
  align-self: center;
}

.page-promotions__vip-benefits {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
}

.page-promotions__vip-benefits li {
  background-color: var(--page-promotions-card-bg);
  margin-bottom: 15px;
  padding: 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  color: var(--page-promotions-text-main);
  border: 1px solid var(--page-promotions-border);
  font-size: 1.05em;
}

.page-promotions__vip-icon {
  font-size: 1.5em;
  margin-right: 15px;
  color: var(--page-promotions-gold);
}

.page-promotions__btn-center {
  margin: 40px auto 0 auto;
  display: block;
  width: fit-content;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
  counter-reset: step-counter;
}

.page-promotions__steps-list li {
  background-color: var(--page-promotions-card-bg);
  margin-bottom: 20px;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid var(--page-promotions-border);
  color: var(--page-promotions-text-main);
  position: relative;
  padding-left: 60px;
}

.page-promotions__steps-list li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--page-promotions-deep-green);
  color: var(--page-promotions-gold);
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
}

.page-promotions__text {
  color: var(--page-promotions-text-secondary);
  font-size: 1em;
  text-align: left;
  max-width: 800px;
  margin: 0 auto 20px auto;
}

.page-promotions__terms-list {
  list-style: disc;
  text-align: left;
  max-width: 800px;
  margin: 40px auto;
  color: var(--page-promotions-text-secondary);
  padding-left: 20px;
}

.page-promotions__terms-list li {
  margin-bottom: 10px;
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: 600;
  cursor: pointer;
  color: var(--page-promotions-text-main);
  background-color: var(--page-promotions-card-bg);
  border-bottom: 1px solid var(--page-promotions-divider);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: 1px solid var(--page-promotions-divider);
}

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

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

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

.page-promotions__faq-answer {
  padding: 15px 25px 20px 25px;
  color: var(--page-promotions-text-secondary);
  line-height: 1.6;
}

.page-promotions__faq-answer p {
  margin: 0;
  color: var(--page-promotions-text-secondary);
}

.page-promotions__text-center {
  text-align: center;
}

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

.page-promotions a {
  color: var(--page-promotions-glow);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.8em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px;
  }
  .page-promotions__section {
    padding: 60px 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions__main-title {
    font-size: clamp(2em, 8vw, 2.5em); /* Clamp for H1 */
  }
  .page-promotions__section-title {
    font-size: clamp(1.8em, 7vw, 2.2em);
  }
  .page-promotions__hero-description,
  .page-promotions__section-description,
  .page-promotions__card-text,
  .page-promotions__vip-benefits li,
  .page-promotions__steps-list li,
  .page-promotions__text,
  .page-promotions__terms-list li,
  .page-promotions__faq-answer p {
    font-size: 1em;
  }

  .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__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;
    overflow: hidden !important;
  }

  .page-promotions__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__hero-section,
  .page-promotions__section,
  .page-promotions__container,
  .page-promotions__card,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-promotions__hero-section {
    padding-top: 10px !important; /* body handles header offset */
  }
  .page-promotions__card .page-promotions__btn-primary {
    width: 100%;
  }
  .page-promotions__vip-benefits li,
  .page-promotions__steps-list li {
    padding-left: 45px;
  }
  .page-promotions__steps-list li::before {
    left: 15px;
    width: 30px;
    height: 30px;
    font-size: 1em;
  }
}