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

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

.page-promotions__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 10px 0 60px 0; /* body handles top padding, this is for section spacing */
  background-color: var(--page-promotions-deep-green);
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  position: relative;
  z-index: 0;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
  padding: 40px 20px;
  margin-top: -150px; /* Overlap with image for visual effect */
  background: rgba(8, 22, 15, 0.8); /* Semi-transparent background for text */
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.page-promotions__main-title {
  font-size: clamp(2.2em, 4vw, 3.2em);
  color: var(--page-promotions-gold-color);
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-promotions__hero-description {
  font-size: 1.1em;
  color: var(--page-promotions-text-main);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
}

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

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

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

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

.page-promotions__video-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 */
  background-color: var(--page-promotions-background);
}

.page-promotions__section-header {
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
}

.page-promotions__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--page-promotions-text-main);
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: var(--page-promotions-text-secondary);
}

.page-promotions__video-container {
  width: 100%;
  max-width: 1000px; /* Desktop width */
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.page-promotions__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  cursor: pointer;
}

.page-promotions__video-overlay-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  cursor: pointer;
  background: transparent;
}

.page-promotions__content-section {
  padding: 60px 20px;
  background-color: var(--page-promotions-background);
}

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

.page-promotions__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-promotions__promotions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.page-promotions__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

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

.page-promotions__card-text {
  color: var(--page-promotions-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-features {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.page-promotions__card-features li {
  color: var(--page-promotions-text-main);
  margin-bottom: 8px;
  position: relative;
  padding-left: 25px;
}

.page-promotions__card-features li::before {
  content: '✓';
  color: var(--page-promotions-secondary-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.page-promotions__how-to-claim-section {
  padding: 80px 20px;
  background-color: var(--page-promotions-background);
}

.page-promotions__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.page-promotions__step-item {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-border-color);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
}

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

.page-promotions__step-icon {
  width: 60px;
  height: 60px;
  background: var(--page-promotions-button-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  color: #ffffff;
  font-weight: bold;
  margin: 0 auto 20px auto;
  box-shadow: 0 0 15px var(--page-promotions-glow-color);
}

.page-promotions__step-title {
  font-size: 1.4em;
  color: var(--page-promotions-gold-color);
  margin-bottom: 15px;
}

.page-promotions__step-text {
  color: var(--page-promotions-text-secondary);
  margin-bottom: 20px;
}

.page-promotions__step-link {
  color: var(--page-promotions-secondary-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

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

.page-promotions__terms-section {
  padding: 60px 20px;
  background-color: var(--page-promotions-background);
  color: var(--page-promotions-text-main);
}

.page-promotions__terms-content {
  max-width: 900px;
  margin: 0 auto;
  background-color: var(--page-promotions-card-bg);
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__terms-content p {
  margin-bottom: 20px;
  color: var(--page-promotions-text-secondary);
}

.page-promotions__terms-content strong {
  color: var(--page-promotions-text-main);
}

.page-promotions__terms-list {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
  color: var(--page-promotions-text-secondary);
}

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

.page-promotions__faq-section {
  padding: 60px 20px;
  background-color: var(--page-promotions-background);
}

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

.page-promotions__faq-item {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-border-color);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-promotions__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--page-promotions-gold-color);
  background-color: var(--page-promotions-deep-green);
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-item summary:hover {
  background-color: rgba(17, 168, 78, 0.2);
}

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

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 20px;
  transition: transform 0.3s ease;
}

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

.page-promotions__faq-answer {
  padding: 20px 25px;
  color: var(--page-promotions-text-secondary);
  border-top: 1px solid var(--page-promotions-divider-color);
  background-color: var(--page-promotions-card-bg);
}

.page-promotions__cta-bottom-section {
  padding: 80px 20px;
  background-color: var(--page-promotions-deep-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  text-align: center;
}

.page-promotions__cta-content {
  max-width: 600px;
}

.page-promotions__cta-title {
  font-size: clamp(2em, 4vw, 3em);
  color: var(--page-promotions-gold-color);
  margin-bottom: 20px;
  font-weight: bold;
}

.page-promotions__cta-description {
  font-size: 1.1em;
  color: var(--page-promotions-text-main);
  margin-bottom: 30px;
}

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

.page-promotions__cta-image {
  max-width: 400px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* --- Responsive Styles --- */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -100px;
  }
  .page-promotions__cta-bottom-section {
    flex-direction: column-reverse;
  }
  .page-promotions__cta-image {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-content {
    margin-top: -80px;
    padding: 30px 15px;
  }
  .page-promotions__main-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-promotions__hero-description {
    font-size: 1em;
  }
  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 0.9em;
    margin-left: 0; /* Remove margin for single column layout */
  }
  .page-promotions__btn-secondary {
    margin-top: 15px;
  }
  .page-promotions__section-title {
    font-size: clamp(1.5em, 5vw, 2em);
  }
  .page-promotions__section-description {
    font-size: 0.95em;
  }
  .page-promotions__promotions-grid,
  .page-promotions__steps-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__promotion-card {
    margin-bottom: 20px;
  }
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom-section {
    padding: 40px 15px;
  }
  .page-promotions__terms-content {
    padding: 30px 20px;
  }
  .page-promotions__faq-item summary {
    font-size: 1.1em;
    padding: 18px 20px;
  }
  .page-promotions__faq-answer {
    padding: 18px 20px;
  }
  .page-promotions__cta-title {
    font-size: clamp(1.8em, 6vw, 2.5em);
  }
  .page-promotions__cta-description {
    font-size: 1em;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  .page-promotions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__cta-buttons a {
    margin-left: 0 !important;
  }

  /* Mobile image responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Mobile video responsiveness */
  .page-promotions video,
  .page-promotions__video {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Video container mobile adaptation */
  .page-promotions__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Ensure all content containers are responsive */
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__content-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom-section,
  .page-promotions__hero-section,
  .page-promotions__hero-content,
  .page-promotions__terms-content {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-promotions__hero-section { padding-left: 0; padding-right: 0; }
  .page-promotions__hero-content { padding-left: 20px; padding-right: 20px; }

  /* Small top padding for first section */
  .page-promotions__hero-section, .page-promotions__video-section {
    padding-top: 10px !important;
  }
}