.page-khuyen-mai {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Custom background color */
}

.page-khuyen-mai__container {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.page-khuyen-mai__hero-section {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Brand gradient background */
  color: #ffffff; /* White text for dark background */
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  padding-bottom: 60px;
  text-align: center;
}

.page-khuyen-mai__main-title {
  font-size: clamp(2.2em, 4vw, 3.5em);
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-khuyen-mai__description {
  font-size: clamp(1em, 2vw, 1.3em);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0.9;
}

.page-khuyen-mai__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.page-khuyen-mai__btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.page-khuyen-mai__btn--primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%); /* Custom button gradient */
  color: #ffffff;
  border: 2px solid #FF5A4F;
}

.page-khuyen-mai__btn--primary:hover {
  background: #E53935;
  border-color: #E53935;
  transform: translateY(-2px);
}

.page-khuyen-mai__btn--secondary {
  background: #ffffff;
  color: #E53935; /* Brand color text */
  border: 2px solid #E53935;
}

.page-khuyen-mai__btn--secondary:hover {
  background: #E53935;
  color: #ffffff;
  transform: translateY(-2px);
}

.page-khuyen-mai__btn--outline {
  background: transparent;
  color: #E53935;
  border: 2px solid #E53935;
}

.page-khuyen-mai__btn--outline:hover {
  background: #E53935;
  color: #ffffff;
}

.page-khuyen-mai__section {
  padding: 60px 0;
  background-color: #FFFFFF; /* Card background */
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai__promo-overview {
  margin-top: -30px; /* Pull up to overlap hero section slightly */
  position: relative;
  z-index: 1;
}

.page-khuyen-mai__section-title {
  font-size: 2.2em;
  color: #E53935; /* Brand color for titles */
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.3;
}

.page-khuyen-mai__section p {
  font-size: 1.1em;
  margin-bottom: 20px;
  text-align: justify;
}

.page-khuyen-mai__figure {
  margin: 40px auto;
  text-align: center;
  max-width: 800px;
}

.page-khuyen-mai__figure img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-width: 200px;
  min-height: 200px;
}

.page-khuyen-mai__figure figcaption {
  font-size: 0.9em;
  color: #666666;
  margin-top: 10px;
}

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

.page-khuyen-mai__promo-card {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-khuyen-mai__promo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-khuyen-mai__card-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: 700;
}

.page-khuyen-mai__promo-card p {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
  text-align: center;
}

.page-khuyen-mai__card-btn {
  display: inline-block;
  padding: 10px 20px;
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease;
  white-space: normal;
  word-wrap: break-word;
  max-width: 100%;
  box-sizing: border-box;
  border: none;
}

.page-khuyen-mai__card-btn:hover {
  background: #E53935;
}

.page-khuyen-mai__list {
  list-style: disc;
  margin-left: 25px;
  margin-bottom: 20px;
  font-size: 1.1em;
  color: #555555;
}

.page-khuyen-mai__list li {
  margin-bottom: 10px;
}

.page-khuyen-mai__steps-list {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
  margin-bottom: 30px;
}

.page-khuyen-mai__steps-list li {
  counter-increment: step-counter;
  margin-bottom: 20px;
  padding-left: 40px;
  position: relative;
  font-size: 1.1em;
  color: #333333;
  text-align: justify;
}

.page-khuyen-mai__steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #E53935;
  color: #ffffff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1em;
}

.page-khuyen-mai__faq-list {
  margin-top: 30px;
}

.page-khuyen-mai__faq-item {
  background-color: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.page-khuyen-mai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.15em;
  color: #333333;
  list-style: none; /* For details/summary */
}

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

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-question .page-khuyen-mai__faq-toggle {
  content: '-';
}

.page-khuyen-mai__faq-toggle {
  font-size: 1.5em;
  font-weight: 700;
  color: #E53935;
  transition: transform 0.3s ease;
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-toggle {
  transform: rotate(45deg);
}

.page-khuyen-mai__faq-answer {
  padding: 0 25px 20px;
  font-size: 1em;
  color: #555555;
  text-align: justify;
}

.page-khuyen-mai__final-cta {
  text-align: center;
  padding: 80px 0;
  background: linear-gradient(90deg, #E53935 0%, #FF5A4F 100%); /* Reverse gradient for contrast */
  color: #ffffff;
}

.page-khuyen-mai__final-cta .page-khuyen-mai__section-title {
  color: #ffffff;
  margin-bottom: 20px;
}

.page-khuyen-mai__final-cta p {
  color: #ffffff;
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.15em;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-khuyen-mai__main-title {
    font-size: clamp(2em, 5vw, 3em);
  }
  .page-khuyen-mai__description {
    font-size: clamp(0.95em, 2.5vw, 1.2em);
  }
  .page-khuyen-mai__section-title {
    font-size: 2em;
  }
  .page-khuyen-mai__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-khuyen-mai__hero-section {
    padding-top: 10px !important; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
  }
  .page-khuyen-mai__main-title {
    font-size: 2.2em !important;
    margin-bottom: 10px;
  }
  .page-khuyen-mai__description {
    font-size: 1em !important;
    margin-bottom: 25px;
    padding: 0 15px;
  }
  .page-khuyen-mai__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-khuyen-mai__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-khuyen-mai__section {
    padding: 40px 0;
    margin-bottom: 20px;
    border-radius: 0;
    box-shadow: none;
  }
  .page-khuyen-mai__promo-overview,
  .page-khuyen-mai__terms-conditions,
  .page-khuyen-mai__how-to-claim,
  .page-khuyen-mai__important-notes,
  .page-khuyen-mai__faq-section,
  .page-khuyen-mai__final-cta {
    padding-left: 0;
    padding-right: 0;
  }
  .page-khuyen-mai__container {
    padding: 0 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-khuyen-mai__section-title {
    font-size: 1.8em !important;
    margin-bottom: 20px;
    padding: 0 10px;
  }
  .page-khuyen-mai__section p {
    font-size: 1em !important;
    margin-bottom: 15px;
  }
  .page-khuyen-mai__figure {
    margin: 30px auto;
  }
  .page-khuyen-mai__figure img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-width: 200px;
    min-height: 200px;
  }
  .page-khuyen-mai__promo-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  .page-khuyen-mai__promo-card {
    padding: 25px;
  }
  .page-khuyen-mai__card-title {
    font-size: 1.3em;
  }
  .page-khuyen-mai__promo-card p {
    font-size: 0.95em;
  }
  .page-khuyen-mai__card-btn {
    padding: 10px 15px;
  }
  .page-khuyen-mai__list {
    margin-left: 20px;
    font-size: 1em;
  }
  .page-khuyen-mai__steps-list li {
    font-size: 1em;
    padding-left: 35px;
  }
  .page-khuyen-mai__steps-list li::before {
    width: 28px;
    height: 28px;
    font-size: 1em;
  }
  .page-khuyen-mai__faq-question {
    padding: 15px 20px;
    font-size: 1.05em;
  }
  .page-khuyen-mai__faq-answer {
    padding: 0 20px 15px;
    font-size: 0.95em;
  }
  .page-khuyen-mai__final-cta {
    padding: 50px 0;
  }
  .page-khuyen-mai__final-cta p {
    font-size: 1em;
    padding: 0 15px;
  }
}