/* style/promotions.css */
:root {
  --page-promotions-primary-color: #11A84E;
  --page-promotions-secondary-color: #22C768;
  --page-promotions-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-promotions-card-bg: #11271B;
  --page-promotions-background: #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;
}

.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__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  text-align: center;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

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

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  background: rgba(8, 22, 15, 0.7); /* Use background color with transparency */
  border-radius: 15px;
  margin-top: 80px; /* Push content down from the top */
}

.page-promotions__main-title {
  color: var(--page-promotions-gold);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  max-width: 100%; /* Ensure H1 doesn't cause overflow */
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
}

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

/* Section Titles */
.page-promotions__section-title {
  color: var(--page-promotions-gold);
  text-align: center;
  font-size: 2.5em;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* Ensure button doesn't overflow */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.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);
  opacity: 0.9;
}

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

.page-promotions__btn-secondary:hover {
  background: var(--page-promotions-deep-green);
  color: var(--page-promotions-text-main);
  border-color: var(--page-promotions-glow);
  transform: translateY(-3px);
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

/* General Text Blocks */
.page-promotions__text-block {
  color: var(--page-promotions-text-main);
  margin-bottom: 20px;
  font-size: 1.05em;
}

/* Promotions Grid */
.page-promotions__promotions-grid {
  padding: 60px 0;
  background-color: var(--page-promotions-background);
}

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

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

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

.page-promotions__card-image-wrapper {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  overflow: hidden;
}

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

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

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

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

/* How to Claim Section */
.page-promotions__how-to-claim-section {
  padding: 60px 0;
  background-color: var(--page-promotions-deep-green);
}

.page-promotions__step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-promotions__step-item {
  background-color: rgba(17, 39, 27, 0.8);
  border: 1px solid var(--page-promotions-border);
  border-radius: 10px;
  padding: 25px;
  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-title {
  color: var(--page-promotions-glow);
  font-size: 1.3em;
  margin-bottom: 10px;
  font-weight: bold;
}

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

/* Terms Section */
.page-promotions__terms-section {
  padding: 60px 0;
  background-color: var(--page-promotions-background);
  border-top: 1px solid var(--page-promotions-divider);
}

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

.page-promotions__terms-item {
  margin-bottom: 10px;
  font-size: 1.0em;
}

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

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

.page-promotions__feature-card {
  text-align: center;
  background-color: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--page-promotions-border);
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
}

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

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

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: var(--page-promotions-background);
  border-top: 1px solid var(--page-promotions-divider);
}

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  color: var(--page-promotions-text-main);
  font-size: 1.15em;
  font-weight: bold;
  background-color: var(--page-promotions-deep-green);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary element */
}

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

.page-promotions__faq-question:hover {
  background-color: rgba(10, 75, 44, 0.8);
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--page-promotions-glow);
}

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

/* Bottom CTA Section */
.page-promotions__cta-bottom-section {
  padding: 60px 0;
  background-color: var(--page-promotions-deep-green);
  text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
}

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

  .page-promotions__hero-content {
    padding: 30px 15px;
    margin-top: 60px;
  }

  .page-promotions__main-title {
    font-size: 2em !important;
  }

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

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    font-size: 1em;
    padding: 12px 25px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-left: 0 !important;
  }

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions__promotions-grid,
  .page-promotions__how-to-claim-section,
  .page-promotions__terms-section,
  .page-promotions__why-choose-section,
  .page-promotions__faq-section,
  .page-promotions__cta-bottom-section {
    padding: 40px 0;
  }

  .page-promotions__grid-wrapper {
    grid-template-columns: 1fr;
  }

  .page-promotions__step-list {
    grid-template-columns: 1fr;
  }

  .page-promotions__features-grid {
    grid-template-columns: 1fr;
  }

  .page-promotions img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__hero-content,
  .page-promotions__grid-wrapper,
  .page-promotions__step-list,
  .page-promotions__features-grid,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-promotions__hero-section {
    padding-top: 10px !important;
  }

  .page-promotions__video-section {
    padding-top: 10px !important;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8em !important;
  }
  .page-promotions__section-title {
    font-size: 1.6em;
  }
  .page-promotions__card-title {
    font-size: 1.3em;
  }
  .page-promotions__faq-question {
    font-size: 1.0em;
    padding: 15px 20px;
  }
  .page-promotions__faq-answer {
    padding: 10px 20px 15px;
  }
}