/* style/promotions.css */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --bg-color: #08160F;
  --card-bg-color: #11271B;
  --text-main-color: #F2FFF6;
  --text-secondary-color: #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%);
}

/* Base styles for the page, ensuring text contrast on dark background */
.page-promotions {
  background-color: var(--bg-color);
  color: var(--text-main-color);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-promotions__section-intro {
  color: var(--text-secondary-color);
  margin-bottom: 30px;
}

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

.page-promotions__section {
  padding: 60px 0;
  text-align: center;
}

.page-promotions__section-title {
  color: var(--gold-color);
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 20px;
  font-weight: 700;
}

.page-promotions__subsection-title {
  color: var(--secondary-color);
  font-size: clamp(22px, 3vw, 30px);
  margin-top: 40px;
  margin-bottom: 15px;
  font-weight: 600;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0 60px 0; /* body handles padding-top, use small decorative padding here */
  overflow: hidden;
}

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

.page-promotions__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 40px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.page-promotions__main-title {
  color: var(--gold-color);
  font-size: clamp(36px, 6vw, 56px);
  margin-bottom: 20px;
  font-weight: 800;
  line-height: 1.2;
}

.page-promotions__hero-description {
  color: var(--text-main-color);
  font-size: clamp(16px, 2vw, 20px);
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  background: var(--button-gradient);
  color: var(--text-main-color);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

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

.page-promotions__cta-button--small {
  padding: 12px 25px;
  font-size: 16px;
  margin-top: 20px;
}

/* Overview Section */
.page-promotions__overview-section p {
  color: var(--text-secondary-color);
  text-align: left;
  margin-bottom: 20px;
}

.page-promotions__content-image {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 30px auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

/* Promo Types Section (Dark Background) */
.page-promotions__promo-types-section {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
}

.page-promotions__promo-types-section .page-promotions__section-intro {
  color: var(--text-secondary-color);
}

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

.page-promotions__promo-card {
  background-color: var(--bg-color);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-promotions__card-title {
  color: var(--secondary-color);
  font-size: 24px;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-promotions__card-text {
  color: var(--text-secondary-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-promotions__btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
  padding: 10px 20px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.3s ease;
  margin-top: auto;
  align-self: flex-start;
}

.page-promotions__btn-secondary:hover {
  background: var(--secondary-color);
  color: var(--bg-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Guide Section */
.page-promotions__guide-section p {
  color: var(--text-secondary-color);
  text-align: left;
  margin-bottom: 20px;
}

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

.page-promotions__step-item {
  background-color: var(--card-bg-color);
  padding: 25px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

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

.page-promotions__step-text {
  color: var(--text-secondary-color);
  font-size: 15px;
  line-height: 1.6;
}

/* Terms Section (Dark Background) */
.page-promotions__terms-section {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
}

.page-promotions__terms-section p {
  color: var(--text-secondary-color);
  text-align: left;
  margin-bottom: 20px;
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 40px;
  text-align: left;
}

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

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background-color: var(--deep-green-color);
  color: var(--text-main-color);
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none; /* Remove default marker for details summary */
}

.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;
  color: var(--text-main-color);
}

.page-promotions__faq-toggle {
  font-size: 24px;
  margin-left: 15px;
  color: var(--gold-color);
}

.page-promotions__faq-answer {
  padding: 15px 25px;
  color: var(--text-secondary-color);
  font-size: 15px;
  line-height: 1.6;
  border-top: 1px solid var(--divider-color);
}

/* Conclusion Section (Dark Background) */
.page-promotions__conclusion-section {
  background-color: var(--card-bg-color);
  color: var(--text-main-color);
}

.page-promotions__conclusion-section p {
  color: var(--text-secondary-color);
  margin-bottom: 20px;
}

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

  .page-promotions__main-title {
    font-size: clamp(32px, 5vw, 48px);
  }

  .page-promotions__section-title {
    font-size: clamp(26px, 3.5vw, 38px);
  }
}

@media (max-width: 768px) {
  .page-promotions__section {
    padding: 40px 0;
  }

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

  .page-promotions__hero-content {
    padding: 25px 15px;
    border-radius: 10px;
  }

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

  .page-promotions__hero-description {
    font-size: clamp(15px, 2.5vw, 18px);
    margin-bottom: 25px;
  }

  .page-promotions__cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }

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

  .page-promotions__section-title {
    font-size: clamp(24px, 4vw, 32px);
  }

  .page-promotions__subsection-title {
    font-size: clamp(20px, 3.5vw, 26px);
    margin-top: 30px;
  }

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

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

  .page-promotions__card-title {
    font-size: 20px;
  }

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

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

  /* Mobile responsive for images, videos, buttons (IMPORTANT) */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  
  .page-promotions__section,
  .page-promotions__container,
  .page-promotions__promo-card,
  .page-promotions__step-item,
  .page-promotions__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-promotions__hero-section,
  .page-promotions__overview-section,
  .page-promotions__promo-types-section,
  .page-promotions__guide-section,
  .page-promotions__terms-section,
  .page-promotions__faq-section,
  .page-promotions__conclusion-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions__cta-button,
  .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-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .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;
    margin-left: auto;
    margin-right: auto;
  }

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

  .page-promotions__hero-content {
    width: calc(100% - 30px) !important; /* Adjust for padding */
    margin-left: 15px;
    margin-right: 15px;
  }
}