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

.page-promotions {
  color: var(--page-promotions-text-main); /* Default text color for dark body background */
  background-color: var(--page-promotions-background);
}

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

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

.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--page-promotions-deep-green);
  overflow: hidden;
}

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

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions__hero-content {
  text-align: center;
  max-width: 900px;
  z-index: 1;
  color: var(--page-promotions-text-main);
}

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

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

.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: 14px 30px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  box-sizing: border-box;
  max-width: 100%;
}

.page-promotions__btn-primary {
  background: var(--page-promotions-btn-gradient);
  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);
  opacity: 0.9;
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--page-promotions-glow);
  border: 2px solid var(--page-promotions-glow);
  box-shadow: 0 4px 15px rgba(87, 227, 141, 0.2);
}

.page-promotions__btn-secondary:hover {
  transform: translateY(-3px);
  background-color: var(--page-promotions-glow);
  color: var(--page-promotions-background);
  box-shadow: 0 6px 20px rgba(87, 227, 141, 0.4);
}

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

.page-promotions__section-title {
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: var(--page-promotions-text-main);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.page-promotions__sub-title {
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--page-promotions-glow);
}

.page-promotions__text-block p,
.page-promotions__text-block li {
  line-height: 1.7;
  margin-bottom: 15px;
  color: var(--page-promotions-text-secondary);
}

.page-promotions__text-block strong {
  color: var(--page-promotions-text-main);
}

.page-promotions__introduction-section,
.page-promotions__guide-section,
.page-promotions__conclusion-section {
  background-color: var(--page-promotions-background);
  color: var(--page-promotions-text-secondary);
}

.page-promotions__content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__featured-promos-section {
  background-color: var(--page-promotions-card-bg);
  padding: 60px 20px;
  color: var(--page-promotions-text-main);
}

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

.page-promotions__promo-card {
  background-color: var(--page-promotions-deep-green);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  color: var(--page-promotions-text-secondary);
  border: 1px solid var(--page-promotions-border);
}

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

.page-promotions__card-title {
  font-weight: 600;
  color: var(--page-promotions-text-main);
  margin-bottom: 10px;
}

.page-promotions__card-description {
  font-size: 0.95em;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__btn-primary {
  margin-top: auto;
  align-self: flex-start;
}

.page-promotions__guide-list {
  list-style: decimal;
  padding-left: 25px;
  margin-bottom: 20px;
  color: var(--page-promotions-text-secondary);
}

.page-promotions__guide-list li {
  margin-bottom: 10px;
}

.page-promotions__support-list {
  list-style: disc;
  padding-left: 25px;
  margin-bottom: 20px;
  color: var(--page-promotions-text-secondary);
}

.page-promotions__support-list li {
  margin-bottom: 8px;
}

.page-promotions__faq-section {
  background-color: var(--page-promotions-card-bg);
  padding: 60px 20px;
  color: var(--page-promotions-text-main);
}

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

.page-promotions__faq-item {
  background-color: var(--page-promotions-deep-green);
  border: 1px solid var(--page-promotions-border);
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  color: var(--page-promotions-text-secondary);
}

.page-promotions__faq-item summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  color: var(--page-promotions-text-main);
  transition: background-color 0.3s ease;
}

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

.page-promotions__faq-item summary:hover {
  background-color: rgba(46, 122, 78, 0.2);
}

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

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

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

.page-promotions__faq-item[open] .page-promotions__faq-toggle {
  content: "−";
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 40px 15px;
    padding-top: 10px !important;
  }

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

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

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

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

  .page-promotions__content-area {
    padding: 30px 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

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

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

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

  .page-promotions__promo-card {
    padding: 20px;
  }

  .page-promotions__card-image {
    height: 180px;
  }

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

  /* 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__promo-grid {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  /* Override for elements that might have their own padding/margin */
  .page-promotions__hero-image-wrapper {
    padding-left: 0;
    padding-right: 0;
  }

  .page-promotions__faq-list {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
  }
  .page-promotions__faq-item {
    margin-left: 0;
    margin-right: 0;
  }
}