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

.page-promotions {
  font-family: Arial, sans-serif;
  color: var(--text-main); /* Default text color for dark background */
  background-color: var(--background-color);
}

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px 60px;
  text-align: center;
  background-color: var(--deep-green-color);
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  margin-bottom: 30px;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1;
  position: relative;
  padding: 0 15px;
}

.page-promotions__main-title {
  color: var(--gold-color);
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-promotions__subtitle {
  color: var(--text-main);
  font-size: 1.1em;
  line-height: 1.6;
  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__cta-buttons--center {
  justify-content: center;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  padding: 14px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  min-width: 180px;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  border: 2px solid var(--glow-color);
  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(--glow-color);
  border: 2px solid var(--glow-color);
}

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

.page-promotions__btn-text {
  color: var(--gold-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-promotions__btn-text:hover {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-promotions__introduction-section,
.page-promotions__featured-promos,
.page-promotions__terms-conditions,
.page-promotions__final-cta {
  padding: 60px 20px;
  background-color: var(--background-color);
}

.page-promotions__categories-section,
.page-promotions__how-to-claim,
.page-promotions__faq-section {
  padding: 60px 20px;
  background-color: var(--deep-green-color);
}

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

.page-promotions__light-bg {
  background-color: var(--background-color);
  color: var(--text-main);
}

.page-promotions__dark-bg {
  background-color: var(--deep-green-color);
  color: var(--text-main);
}

.page-promotions__section-title {
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 25px;
  font-weight: bold;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

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

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

.page-promotions__category-card,
.page-promotions__promo-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__category-card:hover,
.page-promotions__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-promotions__category-image,
.page-promotions__promo-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  min-height: 200px;
}

.page-promotions__category-title {
  color: var(--gold-color);
  font-size: 1.4em;
  font-weight: bold;
  margin: 20px 20px 10px;
  text-align: center;
}

.page-promotions__category-text {
  color: var(--text-secondary);
  font-size: 0.95em;
  line-height: 1.6;
  padding: 0 20px 20px;
  text-align: center;
  flex-grow: 1;
}

.page-promotions__promo-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

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

.page-promotions__promo-title a {
  color: inherit;
  text-decoration: none;
}

.page-promotions__promo-title a:hover {
  color: var(--glow-color);
  text-decoration: underline;
}

.page-promotions__promo-description {
  color: var(--text-secondary);
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 15px;
  flex-grow: 1;
}

.page-promotions__promo-date {
  font-size: 0.85em;
  color: var(--text-secondary);
  margin-bottom: 20px;
  display: block;
}

.page-promotions__steps-list {
  list-style: none;
  padding: 0;
  margin: 40px auto 60px;
  max-width: 800px;
}

.page-promotions__step-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  padding: 25px 30px;
  margin-bottom: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

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

.page-promotions__step-text {
  color: var(--text-main);
  line-height: 1.6;
}

.page-promotions__tcs-list {
  list-style: disc;
  color: var(--text-main);
  line-height: 1.7;
  max-width: 800px;
  margin: 40px auto 30px;
  padding-left: 25px;
}

.page-promotions__tcs-item {
  margin-bottom: 10px;
}

.page-promotions__tcs-list a {
  color: var(--gold-color);
  text-decoration: none;
}

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

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

.page-promotions__faq-item {
  background-color: var(--card-bg);
  border-radius: 10px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.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(--text-main);
  cursor: pointer;
  background-color: var(--deep-green-color);
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
  list-style: none;
}

.page-promotions__faq-item[open] > .page-promotions__faq-question {
  background-color: var(--primary-color);
}

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

.page-promotions__faq-question:hover {
  background-color: var(--primary-color);
}

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

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

.page-promotions__faq-answer {
  padding: 20px 25px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.page-promotions__final-cta {
  padding: 80px 20px;
  text-align: center;
  background-color: var(--background-color);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-promotions__main-title {
    font-size: 2.5em;
  }

  .page-promotions__section-title {
    font-size: 2em;
  }
}

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

  .page-promotions__hero-section {
    padding: 10px 15px 40px;
  }

  .page-promotions__hero-image {
    height: auto !important;
    min-height: 200px !important;
  }

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

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

  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-promotions__introduction-section,
  .page-promotions__categories-section,
  .page-promotions__featured-promos,
  .page-promotions__how-to-claim,
  .page-promotions__terms-conditions,
  .page-promotions__faq-section,
  .page-promotions__final-cta {
    padding: 40px 15px;
  }

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

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

  .page-promotions__category-grid,
  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .page-promotions__category-image,
  .page-promotions__promo-image {
    height: 180px !important;
    min-height: 200px !important;
  }

  .page-promotions__category-card,
  .page-promotions__promo-card,
  .page-promotions__step-item,
  .page-promotions__faq-item {
    padding: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .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__video-section,
  .page-promotions__video-container,
  .page-promotions__video-wrapper,
  .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;
    overflow: hidden !important;
  }
  
  .page-promotions__promo-content {
    padding: 15px;
  }

  .page-promotions__step-item {
    padding: 20px;
  }

  .page-promotions__tcs-list {
    padding-left: 20px;
  }

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

  .page-promotions__faq-answer {
    padding: 15px 20px;
  }
}