/* 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;
}

.page-promotions__section-padding {
  padding: 80px 0;
}

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

.page-promotions__section-title {
  font-size: clamp(28px, 4vw, 42px);
  color: var(--page-promotions-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.page-promotions__text-block {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__text-secondary {
  color: var(--page-promotions-text-secondary);
}

.page-promotions__highlight {
  color: var(--page-promotions-gold);
  font-weight: bold;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.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 {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--page-promotions-glow);
}

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

.page-promotions__btn-secondary:hover {
  background-color: var(--page-promotions-glow);
  color: var(--page-promotions-bg);
  box-shadow: 0 0 15px var(--page-promotions-glow);
}

.page-promotions__cta-center {
  text-align: center;
  margin-top: 40px;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-promotions-deep-green);
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 1920px; /* Max width for the image */
  margin-bottom: 40px; /* Space between image and content */
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

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

.page-promotions__hero-title {
  font-size: clamp(36px, 5vw, 60px);
  color: var(--page-promotions-text-main);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.1;
}

.page-promotions__hero-description {
  font-size: clamp(18px, 2.5vw, 24px);
  color: var(--page-promotions-text-secondary);
  margin-bottom: 40px;
  line-height: 1.5;
}

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

/* Intro Section */
.page-promotions__intro-section .page-promotions__text-block {
  text-align: left;
}

/* Types Section */
.page-promotions__dark-bg {
  background-color: var(--page-promotions-card-bg);
  color: var(--page-promotions-text-main);
}

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

.page-promotions__promo-card {
  background-color: var(--page-promotions-deep-green);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-promotions-border);
}

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

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

.page-promotions__card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

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

.page-promotions__promo-card .page-promotions__btn-primary {
  margin-top: auto;
  width: 100%;
}

/* How to Claim Section */
.page-promotions__step-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
}

.page-promotions__step-item {
  background-color: var(--page-promotions-card-bg);
  border-radius: 10px;
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-left: 5px solid var(--page-promotions-glow);
}

.page-promotions__step-title {
  font-size: 22px;
  color: var(--page-promotions-text-main);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-promotions__step-description {
  font-size: 16px;
  color: var(--page-promotions-text-secondary);
  line-height: 1.6;
}

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

.page-promotions__step-description a:hover {
  text-decoration: underline;
}

/* Terms Section */
.page-promotions__terms-section .page-promotions__text-block {
  text-align: left;
}

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

.page-promotions__terms-section a:hover {
  text-decoration: underline;
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 40px;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 18px;
  font-weight: 600;
  color: var(--page-promotions-text-main);
  cursor: pointer;
  list-style: none;
}

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

.page-promotions__faq-qtext {
  flex-grow: 1;
}

.page-promotions__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-promotions-glow);
}

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

/* CTA Final Section */
.page-promotions__cta-final {
  text-align: center;
}

.page-promotions__cta-final .page-promotions__section-title {
  margin-bottom: 20px;
}

.page-promotions__cta-final .page-promotions__text-block {
  margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__section-padding {
    padding: 60px 0;
  }

  .page-promotions__hero-title {
    font-size: clamp(30px, 4.5vw, 50px);
  }

  .page-promotions__hero-description {
    font-size: clamp(16px, 2.2vw, 20px);
  }

  .page-promotions__promo-cards {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }

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

  .page-promotions__card-title {
    font-size: 22px;
  }

  .page-promotions__step-item {
    padding: 25px;
  }

  .page-promotions__step-title {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .page-promotions__section-padding {
    padding: 40px 0;
  }

  .page-promotions__container {
    padding: 0 15px;
  }

  .page-promotions__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 30px;
  }

  .page-promotions__text-block {
    font-size: 16px;
    line-height: 1.5;
  }

  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important; /* body handles header offset */
  }

  .page-promotions__hero-image-wrapper {
    margin-bottom: 30px;
  }

  .page-promotions__hero-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .page-promotions__hero-description {
    font-size: clamp(15px, 3.5vw, 18px);
    margin-bottom: 30px;
  }

  .page-promotions__hero-cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions__promo-cards {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

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

  .page-promotions__card-title {
    font-size: 20px;
  }

  .page-promotions__card-description {
    font-size: 15px;
  }

  .page-promotions__step-item {
    padding: 20px;
  }

  .page-promotions__step-title {
    font-size: 18px;
  }

  .page-promotions__step-description {
    font-size: 15px;
  }

  .page-promotions__faq-question {
    padding: 18px 20px;
    font-size: 16px;
  }

  .page-promotions__faq-answer {
    padding: 0 20px 18px;
    font-size: 15px;
  }

  /* Ensure all images and their containers are responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__hero-image-wrapper,
  .page-promotions__promo-card,
  .page-promotions__step-item,
  .page-promotions__faq-item,
  .page-promotions__container,
  .page-promotions__promo-cards {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 0;
    padding-right: 0;
    overflow: hidden !important;
  }
  .page-promotions__hero-section .page-promotions__container, 
  .page-promotions__intro-section .page-promotions__container,
  .page-promotions__types-section .page-promotions__container,
  .page-promotions__how-to-claim .page-promotions__container,
  .page-promotions__terms-section .page-promotions__container,
  .page-promotions__faq-section .page-promotions__container,
  .page-promotions__cta-section .page-promotions__container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-promotions__promo-cards {
    display: flex;
    flex-direction: column;
  }

  .page-promotions__promo-card .page-promotions__btn-primary {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .page-promotions__cta-buttons {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions__section-title {
    font-size: clamp(22px, 7vw, 30px);
  }
  .page-promotions__hero-title {
    font-size: clamp(26px, 8vw, 36px);
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 10px 15px;
    font-size: 15px;
  }
  .page-promotions__promo-card .page-promotions__btn-primary {
    font-size: 15px;
  }
}