.page-khuyen-mai {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #FFF5E1; /* Text Main */
  background-color: #B71C1C; /* Background */
}

.page-khuyen-mai__hero-section {
  padding-top: 10px; /* Small top padding */
  padding-bottom: 40px;
  text-align: center;
  background: linear-gradient(180deg, #C91F17 0%, #7A0E0E 100%); /* Deep Red */
  position: relative;
  overflow: hidden;
}

.page-khuyen-mai__hero-image-wrapper {
  max-width: 100%;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.page-khuyen-mai__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  max-height: 600px; /* Limit hero image height */
}

.page-khuyen-mai__hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.page-khuyen-mai__main-title {
  font-size: clamp(2.5em, 5vw, 3.5em);
  font-weight: bold;
  color: #FFD86A; /* Gold from button gradient */
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-khuyen-mai__description {
  font-size: 1.1em;
  color: #FFF5E1; /* Text Main */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-khuyen-mai__cta-buttons--centered {
  margin-top: 40px;
  margin-bottom: 40px;
}

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

.page-khuyen-mai__btn-primary {
  background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Button Gold */
  color: #7A0E0E; /* Deep Red for contrast */
  border: 2px solid #F2B544; /* Border Gold */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 10px #FFCC66; /* Glow */
}

.page-khuyen-mai__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px #FFCC66; /* Glow */
}

.page-khuyen-mai__btn-secondary {
  background: #D32F2F; /* Card BG */
  color: #FFF5E1; /* Text Main */
  border: 2px solid #F2B544; /* Border Gold */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3), 0 0 10px rgba(255, 204, 102, 0.5); /* Subtle Glow */
}

.page-khuyen-mai__btn-secondary:hover {
  background: #7A0E0E; /* Deep Red */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(255, 204, 102, 0.8); /* Subtle Glow */
}

.page-khuyen-mai__section {
  padding: 40px 0;
}

.page-khuyen-mai__content-area {
  background-color: #B71C1C; /* Background */
  color: #FFF5E1; /* Text Main */
}

.page-khuyen-mai__article-wrap {
  max-width: 1150px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-khuyen-mai__section-title {
  font-size: 2.2em;
  font-weight: bold;
  color: #FFD86A; /* Gold */
  margin-bottom: 25px;
  text-align: center;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-khuyen-mai__sub-title {
  font-size: 1.8em;
  font-weight: bold;
  color: #F4D34D; /* Gold */
  margin-top: 35px;
  margin-bottom: 20px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai p {
  margin-bottom: 1em;
  font-size: 1.05em;
  line-height: 1.7;
}

.page-khuyen-mai__figure {
  margin: 30px auto;
  text-align: center;
  max-width: 800px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai__image {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-khuyen-mai__figcaption {
  font-size: 0.9em;
  color: #F4D34D; /* Gold */
  padding: 10px;
  background-color: #7A0E0E; /* Deep Red */
  border-top: 1px solid #F2B544; /* Border Gold */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-khuyen-mai__main-title {
    font-size: clamp(2em, 4.5vw, 3em);
  }
  .page-khuyen-mai__section-title {
    font-size: 2em;
  }
  .page-khuyen-mai__sub-title {
    font-size: 1.6em;
  }
  .page-khuyen-mai__hero-image {
    max-height: 500px;
  }
}

@media (max-width: 768px) {
  /* 顶区标题 + 双 CTA */
  .page-khuyen-mai__hero-section {
    padding-top: 10px !important; /* Small top padding */
    padding-bottom: 30px;
  }
  .page-khuyen-mai__main-title {
    font-size: clamp(1.8em, 7vw, 2.5em);
    padding: 0 10px;
  }
  .page-khuyen-mai__description {
    font-size: 1em;
    padding: 0 15px;
  }
  .page-khuyen-mai__cta-buttons {
    flex-direction: column;
    gap: 10px;
    padding: 0 15px;
  }
  .page-khuyen-mai__btn {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* 单栏长文容器 */
  .page-khuyen-mai__article-wrap {
    padding: 0 15px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-khuyen-mai__section-title {
    font-size: 1.8em;
    padding: 0 10px;
  }
  .page-khuyen-mai__sub-title {
    font-size: 1.4em;
    padding: 0 10px;
  }
  .page-khuyen-mai p {
    font-size: 0.95em;
  }

  /* 通用图片与 figure */
  .page-khuyen-mai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }
  .page-khuyen-mai__figure {
    margin-left: 0;
    margin-right: 0;
    border-radius: 0;
  }
  .page-khuyen-mai__hero-image {
    max-height: 300px;
  }

  /* 按钮与按钮容器 */
  .page-khuyen-mai__cta-buttons--centered {
    padding: 0 15px;
    flex-direction: column;
    gap: 10px;
  }
  .page-khuyen-mai__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;
  }
  .page-khuyen-mai__cta-buttons {
    display: flex;
    flex-direction: column;
  }

  /* 注册教程与 FAQ 区块 (FAQ here is h3 Q&A, no accordion JS needed) */
  /* No specific registration tutorial section on this page, but general h3/p styling applies */
  .page-khuyen-mai__section {
    padding: 30px 0;
  }
}