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

.page-promotions {
  color: var(--color-text-main); /* Default text color for dark body background */
  background-color: var(--color-bg-body);
  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;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* body handles padding-top, this is decorative */
  overflow: hidden;
  color: var(--color-text-main);
}

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

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

.page-promotions__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
  border-radius: 10px;
}

.page-promotions__main-title {
  font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  color: var(--color-gold);
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.7);
}

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

.page-promotions__cta-button {
  display: inline-block;
  background: var(--button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-sizing: border-box;
}

.page-promotions__cta-button:hover {
  filter: brightness(1.1);
  box-shadow: 0 0 15px var(--color-glow);
}

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

.page-promotions__cta-button--secondary:hover {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 0 10px var(--color-primary);
}

.page-promotions__section-title {
  font-size: 2.5em;
  font-weight: 700;
  color: var(--color-gold);
  text-align: center;
  margin-bottom: 40px;
  padding-top: 40px;
  text-shadow: 0 0 8px rgba(87, 227, 141, 0.5);
}

.page-promotions__intro-section,
.page-promotions__how-to-claim,
.page-promotions__terms-conditions-summary,
.page-promotions__faq-section,
.page-promotions__final-cta {
  padding: 60px 0;
  background-color: var(--color-bg-body);
}

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

.page-promotions__categories-section {
  padding: 60px 0;
  background-color: var(--color-deep-green);
}

.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  justify-content: center;
  align-items: stretch;
}

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

.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(87, 227, 141, 0.3);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistent card image display */
  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 {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 15px;
}

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

.page-promotions__card-button {
  display: inline-block;
  background: var(--button-gradient);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9em;
  text-align: center;
  transition: background 0.3s ease;
  box-sizing: border-box;
}

.page-promotions__card-button:hover {
  filter: brightness(1.1);
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions__step-item {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

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

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

.page-promotions__step-text a {
  color: var(--color-glow);
  text-decoration: none;
}

.page-promotions__step-text a:hover {
  text-decoration: underline;
}

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

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

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

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.2em;
  font-weight: 600;
  color: var(--color-text-main);
  background-color: var(--color-deep-green);
  border-bottom: 1px solid var(--color-divider);
}

.page-promotions__faq-question::-webkit-details-marker, /* Hide default marker */
.page-promotions__faq-question::marker { /* Standard way to hide marker */
  display: none;
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  border-bottom: 1px solid var(--color-border);
}

.page-promotions__faq-qtext {
  flex-grow: 1;
  color: var(--color-gold);
}

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

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

.page-promotions__faq-answer p {
  margin-bottom: 10px;
}

.page-promotions__faq-answer a {
  color: var(--color-glow);
  text-decoration: none;
}

.page-promotions__faq-answer a:hover {
  text-decoration: underline;
}

.page-promotions__button-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.text--gold {
  color: var(--color-gold);
  font-weight: 600;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-promotions__hero-content {
    max-width: 90%;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is decorative */
    padding-bottom: 40px;
  }

  .page-promotions__hero-content {
    position: static;
    transform: none;
    margin-top: 20px;
    width: 100%;
    max-width: 100%;
    padding: 20px 15px;
    background: var(--color-bg-body);
    border-radius: 0;
  }

  .page-promotions__hero-image-wrapper {
    max-height: 400px;
  }

  .page-promotions__hero-image {
    filter: brightness(0.8); /* Less darkening on mobile if text moves below */
  }

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

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

  .page-promotions__cta-button,
  .page-promotions__card-button {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1em !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    box-sizing: border-box !important;
  }

  .page-promotions__button-group {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

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

  .page-promotions__intro-section,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions-summary,
  .page-promotions__faq-section,
  .page-promotions__final-cta {
    padding: 40px 0;
  }

  .page-promotions__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions__card-image {
    height: 200px; /* Adjust height for mobile */
  }

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

  .page-promotions__card-content {
    padding: 20px;
  }

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

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

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

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}