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

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

.page-khuyen-mai__section-title,
.page-khuyen-mai__cta-title {
  font-size: clamp(28px, 4vw, 48px);
  color: #F2C14E; /* Main color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  line-height: 1.2;
  letter-spacing: 1px;
}

.page-khuyen-mai__section-description,
.page-khuyen-mai__hero-description,
.page-khuyen-mai__cta-description {
  font-size: 18px;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 30px auto;
  color: #FFF6D6;
}

/* Buttons */
.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  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%, #DDA11D 100%); /* Button gradient */
  color: #111111; /* Dark text for bright button */
  border: 2px solid transparent;
}

.page-khuyen-mai__btn-primary:hover {
  background: linear-gradient(180deg, #FFE691 0%, #E6B83A 100%);
  box-shadow: 0 0 15px #FFD36B; /* Glow */
}

.page-khuyen-mai__btn-secondary {
  background: #111111; /* Card BG */
  color: #F2C14E; /* Main color */
  border: 2px solid #F2C14E; /* Border */
}

.page-khuyen-mai__btn-secondary:hover {
  background: #222222;
  color: #FFD36B; /* Auxiliary color */
  box-shadow: 0 0 15px #F2C14E;
}

/* Hero Section */
.page-khuyen-mai__hero-section {
  padding-top: 10px; /* Small top padding, relies on body padding-top from shared.css */
  position: relative;
  overflow: hidden;
  color: #FFF6D6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
}

.page-khuyen-mai__hero-image-wrapper {
  width: 100%;
  max-height: 675px;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-khuyen-mai__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 10px;
  border: 2px solid #3A2A12; /* Border */
}

.page-khuyen-mai__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-khuyen-mai__hero-title {
  font-size: clamp(36px, 5vw, 60px);
  color: #FFD36B; /* Glow */
  margin-bottom: 20px;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 1.5px;
}

/* Intro Section */
.page-khuyen-mai__intro-section {
  padding: 60px 0;
  background-color: #111111; /* Card BG */
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

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

.page-khuyen-mai__feature-item {
  background: #0A0A0A;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
}

.page-khuyen-mai__feature-title {
  font-size: 24px;
  color: #F2C14E;
  margin-bottom: 15px;
}

.page-khuyen-mai__feature-item p {
  font-size: 16px;
  color: #FFF6D6;
}

/* Promotions List Section */
.page-khuyen-mai__promotions-list-section {
  padding: 60px 0;
}

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

.page-khuyen-mai__promotion-card {
  background: #111111; /* Card BG */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  border: 1px solid #3A2A12;
  display: flex;
  flex-direction: column;
}

.page-khuyen-mai__card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.page-khuyen-mai__card-content {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-khuyen-mai__card-title {
  font-size: 22px;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-khuyen-mai__card-title a {
  color: #F2C14E;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-khuyen-mai__card-title a:hover {
  color: #FFD36B;
}

.page-khuyen-mai__card-text {
  font-size: 16px;
  color: #FFF6D6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-khuyen-mai__promotion-card .page-khuyen-mai__btn-secondary {
  margin-top: auto; /* Push button to bottom */
  width: 100%;
}

/* How To Claim Section */
.page-khuyen-mai__how-to-claim-section {
  padding: 60px 0;
  background-color: #0A0A0A;
  border-top: 1px solid #3A2A12;
}

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

.page-khuyen-mai__step-item {
  display: flex;
  align-items: flex-start;
  background: #111111;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #3A2A12;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-khuyen-mai__step-number {
  font-size: 36px;
  font-weight: bold;
  color: #FFD36B; /* Glow */
  margin-right: 20px;
  flex-shrink: 0;
}

.page-khuyen-mai__step-content {
  flex-grow: 1;
}

.page-khuyen-mai__step-title {
  font-size: 22px;
  color: #F2C14E;
  margin-bottom: 10px;
}

.page-khuyen-mai__step-content p {
  font-size: 16px;
  color: #FFF6D6;
}

.page-khuyen-mai__step-content a {
  color: #FFD36B;
  text-decoration: underline;
}

.page-khuyen-mai__how-to-claim-section .page-khuyen-mai__btn-primary {
  margin-top: 40px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* Terms Section */
.page-khuyen-mai__terms-section {
  padding: 60px 0;
  background-color: #111111;
  border-top: 1px solid #3A2A12;
  border-bottom: 1px solid #3A2A12;
}

.page-khuyen-mai__terms-section p {
  font-size: 16px;
  color: #FFF6D6;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px auto;
}

.page-khuyen-mai__terms-section .page-khuyen-mai__btn-secondary {
  margin-top: 30px;
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

/* FAQ Section */
.page-khuyen-mai__faq-section {
  padding: 60px 0;
}

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

.page-khuyen-mai__faq-item {
  background: #111111; /* Card BG */
  border: 1px solid #3A2A12; /* Border */
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
  color: #F2C14E;
  background: #0A0A0A;
  border-bottom: 1px solid #3A2A12;
  list-style: none; /* For details/summary */
}

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

.page-khuyen-mai__faq-qtext {
  flex-grow: 1;
  pointer-events: none; /* Prevent click on text from affecting toggle */
}

.page-khuyen-mai__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: #FFD36B;
  transition: transform 0.3s ease;
  pointer-events: none; /* Prevent click on toggle from affecting toggle */
}

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

.page-khuyen-mai__faq-answer {
  padding: 0 25px 20px 25px;
  font-size: 16px;
  color: #FFF6D6;
  line-height: 1.7;
}

.page-khuyen-mai__faq-answer p {
  margin-bottom: 0;
}

/* Call to Action Section */
.page-khuyen-mai__cta-section {
  padding: 60px 0;
  background: linear-gradient(90deg, #F2C14E 0%, #FFD36B 100%);
  text-align: center;
  color: #111111; /* Dark text for bright background */
  border-top: 1px solid #3A2A12;
}

.page-khuyen-mai__cta-section .page-khuyen-mai__cta-title {
  color: #111111;
}

.page-khuyen-mai__cta-section .page-khuyen-mai__cta-description {
  color: #333333;
}

.page-khuyen-mai__cta-buttons {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.page-khuyen-mai__cta-section .page-khuyen-mai__btn-primary {
  background: #111111;
  color: #FFD36B;
  border: 2px solid #111111;
}

.page-khuyen-mai__cta-section .page-khuyen-mai__btn-primary:hover {
  background: #000000;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

.page-khuyen-mai__cta-section .page-khuyen-mai__btn-secondary {
  background: #FFD36B;
  color: #111111;
  border: 2px solid #FFD36B;
}

.page-khuyen-mai__cta-section .page-khuyen-mai__btn-secondary:hover {
  background: #F2C14E;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

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

  .page-khuyen-mai__hero-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }

  .page-khuyen-mai__hero-description {
    font-size: 17px;
  }

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

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

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

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

  .page-khuyen-mai__section-title,
  .page-khuyen-mai__cta-title {
    font-size: clamp(24px, 6vw, 36px);
  }

  .page-khuyen-mai__section-description,
  .page-khuyen-mai__hero-description,
  .page-khuyen-mai__cta-description {
    font-size: 15px;
    margin-bottom: 20px;
  }

  /* Hero Section Mobile */
  .page-khuyen-mai__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }

  .page-khuyen-mai__hero-image-wrapper {
    margin-bottom: 20px;
  }

  .page-khuyen-mai__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-khuyen-mai__hero-title {
    font-size: clamp(28px, 7vw, 40px);
  }

  .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: 10px 15px !important;
  }

  /* Intro Section Mobile */
  .page-khuyen-mai__intro-section {
    padding: 40px 0;
  }

  .page-khuyen-mai__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  /* Promotions List Section Mobile */
  .page-khuyen-mai__promotions-list-section {
    padding: 40px 0;
  }

  .page-khuyen-mai__promotions-grid {
    grid-template-columns: 1fr;
    gap: 25px;
    margin-top: 30px;
  }

  .page-khuyen-mai__card-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

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

  .page-khuyen-mai__card-text {
    font-size: 15px;
  }

  /* How To Claim Section Mobile */
  .page-khuyen-mai__how-to-claim-section {
    padding: 40px 0;
  }

  .page-khuyen-mai__steps-list {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
  }

  .page-khuyen-mai__step-item {
    padding: 20px;
  }

  .page-khuyen-mai__step-number {
    font-size: 30px;
    margin-right: 15px;
  }

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

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

  .page-khuyen-mai__how-to-claim-section .page-khuyen-mai__btn-primary {
    margin-top: 30px;
  }

  /* Terms Section Mobile */
  .page-khuyen-mai__terms-section {
    padding: 40px 0;
  }

  .page-khuyen-mai__terms-section .page-khuyen-mai__btn-secondary {
    margin-top: 25px;
  }

  /* FAQ Section Mobile */
  .page-khuyen-mai__faq-section {
    padding: 40px 0;
  }

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

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

  .page-khuyen-mai__faq-toggle {
    font-size: 20px;
  }

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

  /* CTA Section Mobile */
  .page-khuyen-mai__cta-section {
    padding: 40px 0;
  }

  .page-khuyen-mai__cta-buttons {
    margin-top: 30px;
    flex-direction: column !important;
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-khuyen-mai__cta-buttons .page-khuyen-mai__btn-primary,
  .page-khuyen-mai__cta-buttons .page-khuyen-mai__btn-secondary {
    width: 100% !important;
  }

  /* General image responsive */
  .page-khuyen-mai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    box-sizing: border-box !important;
  }

  .page-khuyen-mai__hero-image-wrapper,
  .page-khuyen-mai__promotions-list-section,
  .page-khuyen-mai__how-to-claim-section,
  .page-khuyen-mai__terms-section,
  .page-khuyen-mai__faq-section,
  .page-khuyen-mai__cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden;
  }
}