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

.page-promotions {
  background-color: var(--page-promotions-bg);
  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;
}

.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, small top padding for aesthetic */
  background-color: var(--page-promotions-deep-green);
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 675px;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  margin-top: -100px; /* Pull content slightly over image for visual flow, but not *on* the image */
  background-color: rgba(8, 22, 15, 0.8); /* Semi-transparent background for text readability */
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.5em);
  color: var(--page-promotions-gold);
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  text-shadow: 0 0 10px var(--page-promotions-glow);
}

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

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

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

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0.9;
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--page-promotions-gold);
  border: 2px solid var(--page-promotions-border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__btn-secondary:hover {
  background: var(--page-promotions-border);
  color: var(--page-promotions-text-main);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-title {
  font-size: clamp(1.8em, 3vw, 2.8em);
  color: var(--page-promotions-gold);
  text-align: center;
  margin-bottom: 20px;
  margin-top: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.5);
}

.page-promotions__section-description {
  font-size: 1.05em;
  color: var(--page-promotions-text-secondary);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

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

.page-promotions__promotion-card {
  background-color: var(--page-promotions-card-bg);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-promotions-border);
}

.page-promotions__promotion-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
}

.page-promotions__card-image {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promotions__card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 200px; /* Ensure content area has minimum height */
}

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

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

.page-promotions__why-choose-section,
.page-promotions__how-to-claim-section,
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: var(--page-promotions-bg);
}

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

.page-promotions__feature-item {
  background-color: var(--page-promotions-card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-promotions-divider);
}

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

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

.page-promotions__guide-content {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
}

.page-promotions__guide-steps {
  flex: 1 1 500px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.page-promotions__step-item {
  background-color: var(--page-promotions-card-bg);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--page-promotions-divider);
  position: relative;
  padding-left: 70px;
}

.page-promotions__step-number {
  position: absolute;
  left: 20px;
  top: 30px;
  width: 40px;
  height: 40px;
  background: var(--page-promotions-button-gradient);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  font-weight: bold;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-promotions__guide-image {
  flex: 1 1 400px;
  max-width: 500px;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  object-fit: cover;
}

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

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

.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;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

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

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

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

.page-promotions__faq-answer p {
  margin: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    margin-top: -80px;
    padding: 30px 20px;
  }

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

  .page-promotions__guide-image {
    order: -1; /* Image above steps on smaller screens */
  }
}

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

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

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

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

  .page-promotions__btn-primary,
  .page-promotions__btn-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;
  }

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

  .page-promotions__section-title {
    font-size: clamp(1.5em, 6vw, 2em);
    margin-top: 20px;
  }

  .page-promotions__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-promotions__promotions-grid {
    grid-template-columns: 1fr;
    padding: 20px 0;
  }

  .page-promotions__promotion-card {
    margin: 0 15px;
  }

  .page-promotions__why-choose-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__faq-section {
    padding: 40px 0;
  }

  .page-promotions__features-grid {
    grid-template-columns: 1fr;
    padding-top: 20px;
    margin: 0 15px;
  }

  .page-promotions__feature-item,
  .page-promotions__step-item {
    padding: 25px;
    padding-left: 60px;
    margin: 0 15px;
  }

  .page-promotions__step-number {
    left: 15px;
    top: 25px;
    width: 35px;
    height: 35px;
    font-size: 1.3em;
  }

  .page-promotions__guide-content {
    flex-direction: column;
    gap: 30px;
    padding: 0 15px;
  }

  .page-promotions__guide-image {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  .page-promotions__faq-list {
    padding-top: 20px;
    margin: 0 15px;
  }

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

  .page-promotions__faq-toggle {
    font-size: 1.3em;
  }

  .page-promotions__faq-answer {
    padding: 15px 20px;
    font-size: 0.95em;
  }

  /* Mobile image/video/container force responsive */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__hero-image,
  .page-promotions__card-image,
  .page-promotions__guide-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__promotions-grid,
  .page-promotions__features-grid,
  .page-promotions__guide-content,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
  }

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