/* style/promotions.css */

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

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

.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__container--center {
  text-align: center;
}

.page-promotions__section-title {
  font-size: 2.8em;
  font-weight: bold;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-promotions-text-main-color);
  line-height: 1.2;
}

.page-promotions__section-title--light {
  color: var(--page-promotions-text-main-color);
}

.page-promotions__text-block {
  font-size: 1.1em;
  margin-bottom: 20px;
  color: var(--page-promotions-text-main-color);
}

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

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

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

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height for hero image */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  min-height: 200px; /* Ensure minimum size */
}

.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.5em);
  font-weight: 900;
  color: var(--page-promotions-gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.4);
}

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

.page-promotions__cta-button {
  display: inline-block;
  background: var(--page-promotions-primary-btn-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px rgba(17, 168, 78, 0.4);
  border: none;
  cursor: pointer;
  box-sizing: border-box;
  text-align: center;
}

.page-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(17, 168, 78, 0.6);
}

.page-promotions__cta-button--small {
  padding: 10px 20px;
  font-size: 0.95em;
}

.page-promotions__cta-button--secondary {
  background: none;
  border: 2px solid var(--page-promotions-glow-color);
  color: var(--page-promotions-glow-color);
  box-shadow: none;
}

.page-promotions__cta-button--secondary:hover {
  background: rgba(87, 227, 141, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.4);
}

.page-promotions__cta-button--center {
  margin: 0 auto;
  display: block;
  max-width: 300px;
}

/* Intro Section */
.page-promotions__intro-section {
  background-color: var(--page-promotions-bg-color);
}

/* Types Section */
.page-promotions__types-section {
  background-color: var(--page-promotions-card-bg-color);
}

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

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

.page-promotions__card {
  background-color: var(--page-promotions-bg-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-promotions-divider-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--page-promotions-text-main-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(17, 168, 78, 0.3);
}

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

.page-promotions__card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--page-promotions-gold-color);
}

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

/* How-To-Claim Section */
.page-promotions__how-to-claim-section {
  background-color: var(--page-promotions-bg-color);
}

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

.page-promotions__step-card {
  background-color: var(--page-promotions-card-bg-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--page-promotions-divider-color);
  color: var(--page-promotions-text-main-color);
}

.page-promotions__step-number {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--page-promotions-primary-btn-gradient);
  color: #ffffff;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(17, 168, 78, 0.3);
}

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

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

.page-promotions__inline-link {
  color: var(--page-promotions-glow-color);
  text-decoration: underline;
  transition: color 0.3s ease;
}

.page-promotions__inline-link:hover {
  color: var(--page-promotions-gold-color);
}

/* Terms Section */
.page-promotions__terms-section {
  background-color: var(--page-promotions-deep-green-color);
}

/* FAQ Section */
.page-promotions__faq-section {
  background-color: var(--page-promotions-bg-color);
}

.page-promotions__faq-list {
  margin-top: 40px;
}

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

.page-promotions__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-weight: bold;
  font-size: 1.1em;
  color: var(--page-promotions-gold-color);
  background-color: var(--page-promotions-card-bg-color);
  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.1);
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
}

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

/* Why Choose Section */
.page-promotions__why-choose-section {
  background-color: var(--page-promotions-bg-color);
}

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

.page-promotions__feature-item {
  background-color: var(--page-promotions-card-bg-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--page-promotions-divider-color);
  color: var(--page-promotions-text-main-color);
}

.page-promotions__feature-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
  min-width: 100px; /* Ensure minimum size */
  min-height: 100px; /* Ensure minimum size */
}

.page-promotions__feature-title {
  font-size: 1.4em;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--page-promotions-gold-color);
}

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

/* Conclusion Section */
.page-promotions__conclusion-section {
  background-color: var(--page-promotions-deep-green-color);
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__section-title {
    font-size: 2.2em;
  }

  .page-promotions__main-title {
    font-size: clamp(1.8em, 5vw, 3em);
  }

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

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

@media (max-width: 768px) {
  .page-promotions__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-promotions__main-title {
    font-size: clamp(1.5em, 6vw, 2.5em);
  }

  .page-promotions__description {
    font-size: 1em;
    margin-bottom: 30px;
  }

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

  .page-promotions__hero-section {
    padding: 10px 0 40px 0;
  }

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

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

  .page-promotions__card,
  .page-promotions__step-card,
  .page-promotions__feature-item {
    padding: 25px;
  }

  .page-promotions__cta-button,
  .page-promotions__cta-button--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;
    display: block;
  }

  .page-promotions__cta-button--center {
    margin-left: auto;
    margin-right: auto;
  }

  /* Ensure all images are responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Ensure all containers with images/videos/buttons are responsive */
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-image-wrapper,
  .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;
    overflow: hidden !important;
  }

  .page-promotions__hero-content {
    padding: 0 15px;
  }

  .page-promotions__faq-item summary,
  .page-promotions__faq-answer {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media (max-width: 480px) {
  .page-promotions__section-title {
    font-size: 1.5em;
  }

  .page-promotions__main-title {
    font-size: clamp(1.2em, 7vw, 2em);
  }

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

  .page-promotions__cta-button {
    font-size: 1em;
    padding: 12px 20px;
  }

  .page-promotions__hero-section {
    padding-bottom: 30px;
  }

  .page-promotions__step-number {
    width: 50px;
    height: 50px;
    font-size: 1.8em;
  }

  .page-promotions__step-title {
    font-size: 1.2em;
  }
}