/* 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__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 60px;
  overflow: hidden;
  box-sizing: border-box;
  background-color: var(--color-deep-green);
}

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

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

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.2em); /* Avoid hardcoded large font-size */
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-promotions__description {
  font-size: 1.1em;
  color: var(--color-text-secondary);
  margin-bottom: 30px;
}

.page-promotions__section-title {
  font-size: clamp(1.8em, 3.5vw, 2.5em);
  font-weight: 700;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 60px;
  line-height: 1.3;
}

.page-promotions__intro-section,
.page-promotions__promo-types,
.page-promotions__terms-conditions,
.page-promotions__how-to-claim,
.page-promotions__faq-section,
.page-promotions__conclusion {
  padding: 40px 0;
}

.page-promotions__content-area {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  color: var(--color-text-main);
}

.page-promotions__content-area p {
  margin-bottom: 1em;
  font-size: 1em;
  color: var(--color-text-main);
}

.page-promotions__content-area img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.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(--color-card-bg);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--color-glow);
}

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

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

.page-promotions__cta-button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1em;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  margin-top: auto; /* Push button to bottom of card */
}

.page-promotions__btn-primary {
  background: var(--color-button-gradient);
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__btn-secondary {
  background-color: var(--color-deep-green);
  color: var(--color-gold);
  border: 2px solid var(--color-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--color-border);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__list,
.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

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

.page-promotions__steps-list li strong {
  color: var(--color-gold);
}

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

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

.page-promotions__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--color-text-main);
  cursor: pointer;
  background-color: var(--color-deep-green);
  border-bottom: 1px solid var(--color-divider);
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-item summary:hover {
  background-color: var(--color-border);
}

.page-promotions__faq-item[open] summary {
  background-color: var(--color-border);
  color: #ffffff;
}

.page-promotions__faq-qtext {
  flex-grow: 1;
  color: var(--color-text-main);
}

.page-promotions__faq-item[open] .page-promotions__faq-qtext {
  color: #ffffff;
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  font-weight: 300;
  line-height: 1;
  margin-left: 15px;
  color: var(--color-gold);
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  color: #ffffff;
}

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

.page-promotions__description-text {
  text-align: center;
  color: var(--color-text-secondary);
  max-width: 800px;
  margin: 0 auto 40px auto;
  font-size: 1.1em;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions__hero-image {
    max-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-bottom: 40px;
  }

  .page-promotions__main-title {
    font-size: 2.2em;
  }

  .page-promotions__description {
    font-size: 1em;
  }

  .page-promotions__section-title {
    font-size: 1.8em;
    padding-top: 40px;
    margin-bottom: 30px;
  }

  .page-promotions__intro-section,
  .page-promotions__promo-types,
  .page-promotions__terms-conditions,
  .page-promotions__how-to-claim,
  .page-promotions__faq-section,
  .page-promotions__conclusion {
    padding: 30px 0;
  }

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

  .page-promotions__card-image {
    height: 200px;
  }

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

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

  .page-promotions__list li,
  .page-promotions__steps-list li {
    padding: 12px 15px;
    font-size: 0.95em;
  }

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

  .page-promotions__faq-answer {
    padding: 15px 20px;
    font-size: 0.9em;
  }

  /* Mobile responsive images */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__intro-section,
  .page-promotions__promo-types,
  .page-promotions__terms-conditions,
  .page-promotions__how-to-claim,
  .page-promotions__faq-section,
  .page-promotions__conclusion,
  .page-promotions__hero-content,
  .page-promotions__content-area,
  .page-promotions__card-grid,
  .page-promotions__faq-list {
    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 */
  }

  /* Mobile responsive buttons */
  .page-promotions__cta-button,
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    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__cta-buttons {
    display: flex;
    flex-direction: column; /* Stack buttons vertically on mobile */
  }
}