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

.page-khuyen-mai__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding for fixed header */
  padding-bottom: 40px;
  background-color: #f8f8f8;
  position: relative;
  overflow: hidden;
}

.page-khuyen-mai__hero-image-wrapper {
  width: 100%;
  max-width: 1200px;
  margin-bottom: 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-khuyen-mai__hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.page-khuyen-mai__hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.page-khuyen-mai__main-title {
  font-size: clamp(2em, 4vw, 2.8em);
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: bold;
  line-height: 1.2;
}

.page-khuyen-mai__hero-description {
  font-size: 1.1em;
  margin-bottom: 30px;
  color: #555555;
}

.page-khuyen-mai__hero-cta-group {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

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

.page-khuyen-mai__btn--primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-khuyen-mai__btn--primary:hover {
  background-color: #1a8cc2;
  border-color: #1a8cc2;
}

.page-khuyen-mai__btn--secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-khuyen-mai__btn--secondary:hover {
  background-color: #e0f2f7;
  color: #1a8cc2;
}

.page-khuyen-mai__section {
  padding: 60px 0;
  background-color: #ffffff;
}

.page-khuyen-mai__intro-promo-section {
  background-color: #f8f8f8;
}

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

.page-khuyen-mai__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-khuyen-mai__section-intro-text {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

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

.page-khuyen-mai__promo-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 25px;
  text-align: center;
  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.12);
}

.page-khuyen-mai__card-image {
  width: 100%;
  height: auto;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
  display: block;
}

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

.page-khuyen-mai__card-description {
  font-size: 0.95em;
  color: #666666;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-khuyen-mai__btn--small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-khuyen-mai__how-to-claim {
  background-color: #e0f7fa; /* Light blue background */
}

.page-khuyen-mai__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-khuyen-mai__step-card {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  padding: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.page-khuyen-mai__step-icon {
  width: 60px;
  height: 60px;
  background-color: #26A9E0;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 20px;
}

.page-khuyen-mai__step-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-khuyen-mai__step-description {
  font-size: 0.9em;
  color: #666666;
  margin-bottom: 20px;
}

.page-khuyen-mai__btn--link {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 15px;
  border: 1px solid #26A9E0;
  border-radius: 5px;
}

.page-khuyen-mai__btn--link:hover {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-khuyen-mai__terms-conditions {
  background-color: #f8f8f8;
}

.page-khuyen-mai__info-box {
  background-color: #ffffff;
  border-left: 5px solid #26A9E0;
  padding: 25px;
  margin-bottom: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai__info-box-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-khuyen-mai__info-box p {
  font-size: 0.95em;
  color: #555555;
}

.page-khuyen-mai__why-lucky6868 {
  background-color: #ffffff;
}

.page-khuyen-mai__advantage-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.page-khuyen-mai__advantage-item {
  background-color: #f0faff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-khuyen-mai__advantage-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 10px;
  font-weight: bold;
}

.page-khuyen-mai__advantage-item p {
  font-size: 0.95em;
  color: #666666;
}

.page-khuyen-mai__faq-section {
  background-color: #e0f7fa;
}

.page-khuyen-mai__faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-khuyen-mai__faq-item {
  background-color: #ffffff;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.page-khuyen-mai__faq-question {
  font-size: 1.15em;
  color: #26A9E0;
  padding: 18px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  border-bottom: 1px solid #eee;
}

.page-khuyen-mai__faq-question:hover {
  background-color: #f5f5f5;
}

.page-khuyen-mai__faq-answer {
  padding: 0 25px 18px 25px;
  font-size: 0.95em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.page-khuyen-mai__faq-item.active .page-khuyen-mai__faq-answer {
  max-height: 2000px; /* Large enough to show all content */
  transition: max-height 0.5s ease-in;
}

.page-khuyen-mai__cta-bottom {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 50px 0;
  text-align: center;
}

.page-khuyen-mai__cta-bottom-inner {
  max-width: 800px;
  margin: 0 auto;
}

.page-khuyen-mai__cta-bottom-title {
  font-size: 2em;
  color: #ffffff;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-khuyen-mai__cta-bottom-description {
  font-size: 1.1em;
  margin-bottom: 30px;
}

/* --- Mobile Responsive Styles (max-width: 768px) --- */
@media (max-width: 768px) {
  .page-khuyen-mai {
    font-size: 16px;
    line-height: 1.6;
  }

  /* 顶区标题 + 双 CTA */
  .page-khuyen-mai__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-khuyen-mai__main-title {
    font-size: 1.8em;
  }

  .page-khuyen-mai__hero-description {
    font-size: 1em;
  }

  .page-khuyen-mai__hero-cta-group {
    flex-direction: column;
    gap: 10px;
  }

  /* 按钮与按钮容器 */
  .page-khuyen-mai__btn,
  .page-khuyen-mai__btn--primary,
  .page-khuyen-mai__btn--secondary,
  .page-khuyen-mai a[class*="button"],
  .page-khuyen-mai 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 !important;
    padding-right: 15px !important;
  }

  .page-khuyen-mai__hero-cta-group,
  .page-khuyen-mai__promo-grid,
  .page-khuyen-mai__steps-grid,
  .page-khuyen-mai__advantage-list,
  .page-khuyen-mai__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 20px; /* Adjust gap for smaller screens */
  }

  /* 单栏长文容器 */
  .page-khuyen-mai__container {
    padding: 0 15px;
  }

  .page-khuyen-mai__section-title {
    font-size: 1.8em;
  }

  .page-khuyen-mai__section-intro-text {
    font-size: 1em;
    margin-bottom: 30px;
  }

  .page-khuyen-mai__promo-grid,
  .page-khuyen-mai__steps-grid,
  .page-khuyen-mai__advantage-list {
    grid-template-columns: 1fr; /* Single column layout */
  }

  .page-khuyen-mai__promo-card,
  .page-khuyen-mai__step-card,
  .page-khuyen-mai__advantage-item,
  .page-khuyen-mai__info-box,
  .page-khuyen-mai__faq-item {
    padding: 20px;
  }

  /* 通用图片与 figure */
  .page-khuyen-mai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-khuyen-mai__card-image {
    max-height: 180px;
  }

  .page-khuyen-mai__cta-bottom-title {
    font-size: 1.8em;
  }

  .page-khuyen-mai__cta-bottom-description {
    font-size: 1em;
  }

  /* FAQ 区块 (for div-based FAQ) */
  .page-khuyen-mai__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-khuyen-mai__faq-answer {
    padding: 0 20px 15px 20px;
  }
}

/* --- Tablet Responsive Styles (max-width: 1024px) --- */
@media (max-width: 1024px) {
  .page-khuyen-mai__container {
    padding: 0 30px;
  }

  .page-khuyen-mai__main-title {
    font-size: clamp(2em, 3.5vw, 2.5em);
  }

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

  .page-khuyen-mai__promo-grid,
  .page-khuyen-mai__steps-grid,
  .page-khuyen-mai__advantage-list {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}