:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1A1A1A; /* Dark Grey */
  --text-on-dark: #f0f0f0; /* Light text for dark backgrounds */
  --text-on-light: #333333; /* Dark text for light backgrounds */
  --card-bg-dark: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark theme cards */
  --card-border-dark: rgba(255, 255, 255, 0.15);
  --button-hover-dark: #ccad00; /* Darker gold for hover */
  --button-secondary-hover-dark: #333333;
  --faq-question-bg: #222222;
  --faq-question-border: #333333;
  --faq-answer-bg: #1a1a1a;
  --faq-toggle-color: #FFD700;
}

.page-promotions {
  color: var(--text-on-dark); /* Default text color for the page, based on body background #121212 */
  background-color: #121212; /* Matches body background for consistency */
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  padding-top: 120px; /* Desktop: Ensure content is not hidden by fixed header */
}

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

.page-promotions__section-title {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__section-subtitle {
  font-size: 18px;
  text-align: center;
  color: var(--text-on-dark);
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #0a0a0a 100%);
  padding: 80px 0;
  text-align: center;
  border-bottom: 5px solid var(--primary-color);
}

.page-promotions__main-title {
  font-size: 48px;
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.2;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-promotions__hero-description {
  font-size: 20px;
  color: var(--text-on-dark);
  max-width: 900px;
  margin: 0 auto 40px auto;
}

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

.page-promotions__cta-button {
  display: inline-block;
  padding: 15px 40px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions__cta-button--primary {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.page-promotions__cta-button--primary:hover {
  background: var(--button-hover-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions__cta-button--secondary {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.page-promotions__cta-button--secondary:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* General Section Styling */
.page-promotions__introduction-section,
.page-promotions__types-section,
.page-promotions__guide-section,
.page-promotions__terms-section,
.page-promotions__benefits-section,
.page-promotions__faq-section,
.page-promotions__call-to-action-section {
  padding: 80px 0;
}

.page-promotions__dark-bg {
  background-color: var(--secondary-color);
  color: var(--text-on-dark);
}

.page-promotions__text-block p {
  margin-bottom: 20px;
  font-size: 17px;
  color: var(--text-on-dark);
}

.page-promotions__text-block h3 {
  color: var(--primary-color);
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 15px;
}

.page-promotions__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  margin-top: 40px;
}

.page-promotions__image--full-width {
  width: 100%;
}

.page-promotions__image--center {
  margin-left: auto;
  margin-right: auto;
}

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

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

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

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

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

.page-promotions__card-title {
  font-size: 22px;
  color: var(--primary-color);
  margin-top: 0;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-promotions__card-content p {
  font-size: 16px;
  color: var(--text-on-dark);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 6px;
  font-size: 16px;
  font-weight: bold;
  text-align: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
  align-self: flex-start;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__card-button:hover {
  background: var(--button-hover-dark);
  transform: translateY(-1px);
}

/* Guide Section */
.page-promotions__guide-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
}

.page-promotions__guide-list li {
  background: var(--card-bg-dark);
  border: 1px solid var(--card-border-dark);
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 20px;
  font-size: 17px;
  color: var(--text-on-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions__guide-list li strong {
  color: var(--primary-color);
  font-size: 18px;
  display: block;
  margin-bottom: 10px;
}

/* Terms Section */
.page-promotions__terms-list {
  list-style: disc;
  padding-left: 30px;
  margin-top: 30px;
}

.page-promotions__terms-list li {
  margin-bottom: 15px;
  font-size: 17px;
  color: var(--text-on-dark);
}

.page-promotions__terms-list li strong {
  color: var(--primary-color);
}

/* Benefits Section */
.page-promotions__benefits-list {
  list-style: none;
  padding: 0;
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.page-promotions__benefits-list li {
  background: var(--card-bg-dark);
  border: 1px solid var(--card-border-dark);
  border-radius: 8px;
  padding: 20px;
  font-size: 17px;
  color: var(--text-on-dark);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  padding-left: 45px;
}

.page-promotions__benefits-list li::before {
  content: '✅'; /* Checkmark icon */
  position: absolute;
  left: 15px;
  top: 20px;
  font-size: 20px;
  color: var(--primary-color);
}

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

.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--faq-question-bg);
  border: 1px solid var(--faq-question-border);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-promotions__faq-question:hover {
  background: #2a2a2a;
  border-color: #444444;
}

.page-promotions__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-on-dark);
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-promotions__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: var(--faq-toggle-color);
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-promotions__faq-item.active .page-promotions__faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-promotions__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: var(--faq-answer-bg);
  color: var(--text-on-dark);
  border-radius: 0 0 8px 8px;
}

.page-promotions__faq-item.active .page-promotions__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to accommodate content */
  padding: 20px 25px !important;
  opacity: 1;
}

.page-promotions__faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
}

/* Call to Action Section */
.page-promotions__call-to-action-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, #ccad00 100%);
  padding: 80px 0;
  text-align: center;
  border-top: 5px solid var(--secondary-color);
}

.page-promotions__call-to-action-section .page-promotions__section-title {
  color: var(--secondary-color);
  text-shadow: none;
}

.page-promotions__cta-description {
  font-size: 20px;
  color: var(--secondary-color);
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.page-promotions__call-to-action-section .page-promotions__cta-button--primary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-promotions__call-to-action-section .page-promotions__cta-button--primary:hover {
  background: #333333;
  color: var(--primary-color);
}

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

  .page-promotions__section-title {
    font-size: 30px;
  }

  .page-promotions__hero-description,
  .page-promotions__cta-description,
  .page-promotions__text-block p,
  .page-promotions__guide-list li,
  .page-promotions__terms-list li,
  .page-promotions__benefits-list li {
    font-size: 16px;
  }

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

  .page-promotions__card-content p {
    font-size: 15px;
  }

  .page-promotions__card-button {
    font-size: 15px;
    padding: 10px 18px;
  }
}

@media (max-width: 768px) {
  .page-promotions {
    padding-top: 100px !important; /* Mobile: Adjust for mobile fixed header */
    font-size: 15px;
    line-height: 1.6;
  }

  .page-promotions__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-promotions__hero-section,
  .page-promotions__introduction-section,
  .page-promotions__types-section,
  .page-promotions__guide-section,
  .page-promotions__terms-section,
  .page-promotions__benefits-section,
  .page-promotions__faq-section,
  .page-promotions__call-to-action-section {
    padding: 50px 0;
  }

  .page-promotions__main-title {
    font-size: 32px;
  }

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

  .page-promotions__section-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
  }

  .page-promotions__hero-description,
  .page-promotions__cta-description {
    font-size: 16px;
  }

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

  .page-promotions__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 12px 25px !important;
    font-size: 16px !important;
  }

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

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

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

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

  .page-promotions__card-content p {
    font-size: 14px;
  }

  .page-promotions__card-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 14px !important;
    padding: 10px 15px !important;
  }

  .page-promotions__guide-list li,
  .page-promotions__terms-list li,
  .page-promotions__benefits-list li {
    padding: 20px;
    font-size: 15px;
  }

  .page-promotions__guide-list li strong {
    font-size: 16px;
  }

  .page-promotions__benefits-list li::before {
    top: 18px;
    font-size: 18px;
  }

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

  .page-promotions__faq-question h3 {
    font-size: 16px;
  }

  .page-promotions__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

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

  .page-promotions__faq-answer p {
    font-size: 14px;
  }

  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__image--full-width,
  .page-promotions__image--center {
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
  }

  .page-promotions__text-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}