/* style/promotions.css */

:root {
  --page-promotions-main-color: #11A84E;
  --page-promotions-accent-color: #22C768;
  --page-promotions-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-promotions-card-bg: #11271B;
  --page-promotions-bg: #08160F;
  --page-promotions-text-main: #F2FFF6;
  --page-promotions-text-secondary: #A7D9B8;
  --page-promotions-border: #2E7A4E;
  --page-promotions-glow: #57E38D;
  --page-promotions-gold: #F2C14E;
  --page-promotions-divider: #1E3A2A;
  --page-promotions-deep-green: #0A4B2C;
}

/* Base styles for the page content */
.page-promotions {
  background-color: var(--page-promotions-bg); /* Body background is dark, so content background should match */
  color: var(--page-promotions-text-main);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

/* General container for content sections */
.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  box-sizing: border-box;
  border-radius: 12px;
}

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

.page-promotions__light-bg {
  background-color: var(--page-promotions-bg);
  color: var(--page-promotions-text-main);
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0 60px 0; /* body already has padding-top, only small decorative padding-top here */
  background-color: var(--page-promotions-bg);
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit height to prevent excessive stretching */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  min-height: 200px; /* Minimum size requirement */
}

.page-promotions__hero-content {
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  box-sizing: border-box;
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  background-color: var(--page-promotions-card-bg);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  z-index: 10;
  position: relative;
  border: 1px solid var(--page-promotions-border);
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Use clamp for H1 font size */
  font-weight: bold;
  color: var(--page-promotions-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

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

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

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

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

.page-promotions__btn-secondary:hover {
  background: var(--page-promotions-gold);
  color: var(--page-promotions-bg);
  transform: translateY(-3px);
}

/* Section Titles */
.page-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--page-promotions-text-main);
  text-align: center;
  margin-bottom: 30px;
  font-weight: bold;
  line-height: 1.3;
}

.page-promotions__text-block {
  font-size: 1rem;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 20px;
  text-align: justify;
}

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

/* Image content within sections */
.page-promotions__image-content {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 30px auto;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__image-content--center {
  margin-left: auto;
  margin-right: auto;
}

/* Card Grid for Bonus Types */
.page-promotions__card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__card {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-width: 200px;
  min-height: 200px;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
}

.page-promotions__card-image {
  width: 100%;
  max-width: 400px; /* Ensure image doesn't overflow card */
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

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

.page-promotions__card-description {
  font-size: 0.95rem;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-promotions__step-item {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-border);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-promotions__step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--page-promotions-button-gradient);
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 20px;
}

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

.page-promotions__step-description {
  font-size: 0.95rem;
  color: var(--page-promotions-text-secondary);
}

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

.page-promotions__step-description a:hover {
  color: var(--page-promotions-glow);
}

/* Terms and Benefits Lists */
.page-promotions__terms-list,
.page-promotions__benefits-list {
  list-style: none;
  padding-left: 0;
  margin-top: 30px;
}

.page-promotions__terms-list li,
.page-promotions__benefits-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--page-promotions-text-secondary);
}

.page-promotions__terms-list li::before,
.page-promotions__benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--page-promotions-glow);
  font-weight: bold;
}

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

.page-promotions__terms-list li a:hover {
  color: var(--page-promotions-glow);
}

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

.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;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--page-promotions-text-main);
  font-weight: bold;
  background-color: var(--page-promotions-deep-green);
  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-question::marker {
  display: none;
}

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

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

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

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

.page-promotions__faq-answer a:hover {
  color: var(--page-promotions-glow);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -60px;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__overview-section,
  .page-promotions__bonus-types-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__why-choose-section,
  .page-promotions__faq-section,
  .page-promotions__call-to-action {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions__hero-section {
    padding-top: 10px !important;
    padding-bottom: 40px !important;
  }

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

  .page-promotions__hero-content {
    margin-top: -40px;
    padding: 25px 15px;
  }

  .page-promotions__main-title {
    font-size: 2rem; /* Adjusted for mobile */
  }

  .page-promotions__hero-description {
    font-size: 1rem;
  }

  .page-promotions__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: 0.95rem;
  }

  .page-promotions__section-title {
    font-size: 1.8rem;
  }

  .page-promotions__text-block {
    font-size: 0.95rem;
  }

  .page-promotions__image-content,
  .page-promotions__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    min-width: 200px !important;
    min-height: 200px !important;
  }

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

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

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

  .page-promotions__faq-question {
    padding: 15px 20px;
    font-size: 1rem;
  }

  .page-promotions__faq-answer {
    padding: 10px 20px;
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8rem;
  }

  .page-promotions__hero-description {
    font-size: 0.9rem;
  }

  .page-promotions__section-title {
    font-size: 1.6rem;
  }
}