/* style/promotions.css */

/* Custom Colors */
:root {
  --page-promotions-main-color: #11A84E;
  --page-promotions-secondary-color: #22C768;
  --page-promotions-btn-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;
}

/* Base styles for the page content, ensuring light text on dark background */
.page-promotions {
  background-color: var(--page-promotions-background); /* #08160F */
  color: var(--page-promotions-text-main); /* #F2FFF6 */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding for first section, body handles --header-offset */
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-promotions__section-title {
  font-size: 2.8em;
  font-weight: 700;
  color: var(--page-promotions-text-main); /* #F2FFF6 */
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-promotions__section-description {
  font-size: 1.1em;
  color: var(--page-promotions-text-secondary); /* #A7D9B8 */
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
  padding: 60px 20px;
  min-height: 600px;
  background-color: var(--page-promotions-deep-green); /* Fallback */
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  opacity: 0.3;
}

.page-promotions__hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Slightly darker overlay for text readability */
  border-radius: 10px;
}

.page-promotions__main-title {
  font-weight: 800;
  color: var(--page-promotions-gold); /* #F2C14E */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
  font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive font size */
}

.page-promotions__intro-text {
  font-size: 1.2em;
  color: var(--page-promotions-text-main); /* #F2FFF6 */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

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

.page-promotions__btn-primary {
  background: var(--page-promotions-btn-gradient); /* linear-gradient(180deg, #2AD16F 0%, #13994A 100%) */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-promotions__btn-secondary {
  background: transparent;
  color: var(--page-promotions-gold); /* #F2C14E */
  border: 2px solid var(--page-promotions-gold); /* #F2C14E */
}

.page-promotions__btn-secondary:hover {
  background: rgba(242, 193, 78, 0.1);
  transform: translateY(-3px);
}

/* Featured Promotions Section */
.page-promotions__featured-promotions,
.page-promotions__dark-section {
  background-color: var(--page-promotions-card-bg); /* #11271B */
  padding: 80px 0;
}

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

.page-promotions__card {
  background-color: var(--page-promotions-background); /* #08160F */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--page-promotions-border); /* #2E7A4E */
  color: var(--page-promotions-text-main); /* #F2FFF6 */
}

.page-promotions__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.4), 0 0 20px var(--page-promotions-glow); /* #57E38D */
}

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

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

.page-promotions__card-title {
  font-size: 1.5em;
  font-weight: 700;
  color: var(--page-promotions-text-main); /* #F2FFF6 */
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-promotions__card-text {
  font-size: 1em;
  color: var(--page-promotions-text-secondary); /* #A7D9B8 */
  margin-bottom: 25px;
}

/* How to Claim Section */
.page-promotions__how-to-claim {
  padding: 80px 0;
  background-color: var(--page-promotions-background); /* #08160F */
}

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

.page-promotions__step-item {
  text-align: center;
  padding: 25px;
  background-color: var(--page-promotions-card-bg); /* #11271B */
  border-radius: 12px;
  border: 1px solid var(--page-promotions-border); /* #2E7A4E */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__step-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 3px solid var(--page-promotions-main-color); /* #11A84E */
}

.page-promotions__step-title {
  font-size: 1.3em;
  font-weight: 700;
  color: var(--page-promotions-text-main); /* #F2FFF6 */
  margin-bottom: 10px;
}

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

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

/* Terms & Conditions Section */
.page-promotions__terms-conditions {
  padding: 80px 0;
  background-color: var(--page-promotions-card-bg); /* #11271B */
}

.page-promotions__terms-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 0 auto;
  max-width: 900px;
}

.page-promotions__terms-item {
  background-color: var(--page-promotions-background); /* #08160F */
  border: 1px solid var(--page-promotions-divider); /* #1E3A2A */
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 15px;
  font-size: 1em;
  color: var(--page-promotions-text-secondary); /* #A7D9B8 */
  line-height: 1.5;
}

.page-promotions__terms-item:last-child {
  margin-bottom: 0;
}

.page-promotions__terms-note {
  font-size: 0.9em;
  color: var(--page-promotions-text-secondary); /* #A7D9B8 */
  text-align: center;
  margin-top: 30px;
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 80px 0;
  background-color: var(--page-promotions-background); /* #08160F */
}

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

.page-promotions__faq-item {
  background-color: var(--page-promotions-card-bg); /* #11271B */
  border: 1px solid var(--page-promotions-border); /* #2E7A4E */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 1.1em;
  font-weight: 600;
  color: var(--page-promotions-text-main); /* #F2FFF6 */
  background-color: var(--page-promotions-deep-green); /* #0A4B2C */
  border-bottom: 1px solid var(--page-promotions-border);
  transition: background-color 0.3s ease;
}

.page-promotions__faq-question:hover {
  background-color: var(--page-promotions-main-color); /* #11A84E */
}

.page-promotions__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  margin-left: 15px;
  color: var(--page-promotions-gold); /* #F2C14E */
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: var(--page-promotions-main-color); /* #11A84E */
  border-bottom-color: transparent;
}

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  content: '−';
  color: #ffffff;
}

.page-promotions__faq-answer {
  padding: 20px 25px;
  font-size: 1em;
  color: var(--page-promotions-text-secondary); /* #A7D9B8 */
  background-color: var(--page-promotions-card-bg); /* #11271B */
}

/* Hide default details arrow */
.page-promotions__faq-item > summary {
  list-style: none;
}

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

/* Call to Action Section */
.page-promotions__cta-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--page-promotions-deep-green); /* #0A4B2C */
}

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

@media (max-width: 768px) {
  .page-promotions {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__section-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

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

  .page-promotions__hero-section {
    padding: 40px 15px;
    min-height: 400px;
  }

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

  .page-promotions__intro-text {
    font-size: 1em;
    margin-bottom: 25px;
  }

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

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary,
  .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: 12px 20px;
  }

  .page-promotions__featured-promotions,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions,
  .page-promotions__faq-section,
  .page-promotions__cta-section {
    padding: 40px 0;
  }

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

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

  .page-promotions__card-image,
  .page-promotions__step-icon {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

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

  .page-promotions__step-icon {
    width: 120px;
    height: 120px;
  }

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

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

@media (max-width: 480px) {
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__main-title {
    font-size: clamp(1.5em, 7vw, 2em);
  }
  .page-promotions__cta-buttons {
    gap: 10px;
  }
}