/* style/promotions.css */
:root {
  --page-promotions-bg: #08160F;
  --page-promotions-card-bg: #11271B;
  --page-promotions-text-main: #F2FFF6;
  --page-promotions-text-secondary: #A7D9B8;
  --page-promotions-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --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;
  justify-content: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  overflow: hidden;
}

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

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

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  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.2em); /* Responsive font size */
  color: var(--page-promotions-gold);
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-promotions__description {
  font-size: clamp(1em, 1.5vw, 1.2em);
  color: var(--page-promotions-text-main);
  margin-bottom: 30px;
}

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: var(--page-promotions-button-gradient);
  color: var(--page-promotions-text-main);
  text-decoration: none;
  border-radius: 8px;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-promotions__cta-button--large {
  padding: 18px 35px;
  font-size: 1.2em;
}

.page-promotions__section-title {
  font-size: clamp(1.8em, 3vw, 2.5em);
  color: var(--page-promotions-gold);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-promotions__overview-section,
.page-promotions__types-section,
.page-promotions__how-to-claim-section,
.page-promotions__benefits-section,
.page-promotions__faq-section,
.page-promotions__cta-final-section {
  padding: 60px 0;
}

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

.page-promotions__text-block a {
  color: var(--page-promotions-glow);
  text-decoration: underline;
}

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

.page-promotions__promotion-card {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-border);
  border-radius: 10px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

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

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

.page-promotions__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--page-promotions-button-gradient);
  color: var(--page-promotions-text-main);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  font-size: 0.9em;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  width: auto;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__card-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-promotions__step-by-step-guide {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-top: 40px;
}

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

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

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

.page-promotions__guide-text a {
  color: var(--page-promotions-glow);
  text-decoration: underline;
}

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

.page-promotions__list-item {
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-divider);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  color: var(--page-promotions-text-secondary);
  font-size: 1.05em;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-promotions__list-item strong {
  color: var(--page-promotions-gold);
  margin-right: 10px;
}

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

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

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

.page-promotions__faq-item summary:hover {
  background-color: var(--page-promotions-border);
}

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

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

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

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

.page-promotions__cta-final-section {
  text-align: center;
  padding-bottom: 80px;
}

.page-promotions__cta-final-section .page-promotions__text-block {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    padding: 30px;
  }
}

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

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

  .page-promotions__description {
    font-size: clamp(0.9em, 3vw, 1.1em);
  }

  .page-promotions__promotions-grid,
  .page-promotions__step-by-step-guide {
    grid-template-columns: 1fr;
  }

  .page-promotions__overview-section,
  .page-promotions__types-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__benefits-section,
  .page-promotions__faq-section,
  .page-promotions__cta-final-section {
    padding: 40px 0;
  }

  /* Mobile image responsiveness */
  .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,
  .page-promotions__hero-section,
  .page-promotions__overview-section,
  .page-promotions__types-section,
  .page-promotions__how-to-claim-section,
  .page-promotions__benefits-section,
  .page-promotions__faq-section,
  .page-promotions__cta-final-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Mobile button responsiveness */
  .page-promotions__cta-button,
  .page-promotions__card-button,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    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-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;
    flex-wrap: wrap !important;
    gap: 10px;
  }

  .page-promotions__cta-buttons {
    display: flex;
    flex-direction: column; 
  }

  .page-promotions__hero-section {
    padding-top: 10px !important; /* body handles --header-offset, this is for visual spacing */
    padding-bottom: 40px;
  }

  .page-promotions__hero-content {
    width: 100%;
    border-radius: 0;
    padding: 20px;
  }
}