/* Base styles for the Khuyen Mai page */
.page-khuyen-mai {
  font-family: Arial, sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #F5F7FA; /* Page background color */
}

.page-khuyen-mai__section {
  padding: 40px 20px;
  text-align: center;
}

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

.page-khuyen-mai__section-title {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 20px;
  color: #E53935;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.page-khuyen-mai__text-block {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 20px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

.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;
  font-size: 1.1em;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
  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, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
}

.page-khuyen-mai__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

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

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

/* Hero Section */
.page-khuyen-mai__hero-section {
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #E53935; /* Main brand color for hero background */
  color: #ffffff;
}

.page-khuyen-mai__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  margin-bottom: 20px;
}

.page-khuyen-mai__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px;
}

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

.page-khuyen-mai__main-title {
  font-size: 3.2em;
  font-weight: 900;
  margin-bottom: 15px;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai__hero-description {
  font-size: 1.3em;
  margin-bottom: 30px;
  color: #f0f0f0;
  line-height: 1.5;
}

/* Overview Section */
.page-khuyen-mai__overview-section {
  background-color: #F5F7FA;
  color: #333333;
}

/* Promotion Types Section */
.page-khuyen-mai__promotion-types {
  background-color: #E53935;
  color: #ffffff;
}

.page-khuyen-mai__promotion-types .page-khuyen-mai__section-title {
  color: #ffffff;
}

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

.page-khuyen-mai__card {
  background: #ffffff;
  color: #333333;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  padding: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  box-sizing: border-box;
}

.page-khuyen-mai__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.page-khuyen-mai__card-title {
  font-size: 1.6em;
  font-weight: bold;
  margin-bottom: 10px;
  color: #E53935;
  line-height: 1.3;
}

.page-khuyen-mai__card-description {
  font-size: 1em;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Terms Section */
.page-khuyen-mai__terms-section {
  background-color: #F5F7FA;
  color: #333333;
}

.page-khuyen-mai__list {
  list-style: none;
  padding: 0;
  margin: 20px auto 30px auto;
  max-width: 800px;
  text-align: left;
}

.page-khuyen-mai__list-item {
  font-size: 1.1em;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
  color: #333333;
}

.page-khuyen-mai__list-item::before {
  content: '✔';
  color: #E53935;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* How to Claim Section */
.page-khuyen-mai__how-to-claim {
  background-color: #E53935;
  color: #ffffff;
}

.page-khuyen-mai__how-to-claim .page-khuyen-mai__section-title {
  color: #ffffff;
}

.page-khuyen-mai__how-to-claim .page-khuyen-mai__text-block {
  color: #f0f0f0;
}

.page-khuyen-mai__numbered-list {
  list-style: none;
  padding: 0;
  margin: 30px auto;
  max-width: 800px;
  text-align: left;
  counter-reset: step-counter;
}

.page-khuyen-mai__numbered-list .page-khuyen-mai__list-item {
  font-size: 1.15em;
  line-height: 1.7;
  margin-bottom: 25px;
  position: relative;
  padding-left: 50px;
  color: #ffffff;
}

.page-khuyen-mai__numbered-list .page-khuyen-mai__list-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  background: #FF5A4F;
  color: #ffffff;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2em;
  position: absolute;
  left: 0;
  top: 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* FAQ Section */
.page-khuyen-mai__faq-section {
  background-color: #F5F7FA;
  color: #333333;
}

.page-khuyen-mai__faq-list {
  max-width: 900px;
  margin: 30px auto;
  text-align: left;
}

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

.page-khuyen-mai__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  font-size: 1.2em;
  font-weight: bold;
  color: #E53935;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.page-khuyen-mai__faq-qtext {
  flex-grow: 1;
  color: #333333;
}

.page-khuyen-mai__faq-toggle {
  font-size: 1.5em;
  font-weight: normal;
  color: #E53935;
  margin-left: 15px;
  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: 15px 25px 20px 25px;
  font-size: 1em;
  line-height: 1.6;
  color: #555555;
  border-top: 1px solid #E0E0E0;
}

/* Why Choose Section */
.page-khuyen-mai__why-choose {
  background-color: #E53935;
  color: #ffffff;
}

.page-khuyen-mai__why-choose .page-khuyen-mai__section-title {
  color: #ffffff;
}

.page-khuyen-mai__why-list {
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-khuyen-mai__why-list .page-khuyen-mai__list-item {
  color: #ffffff;
}

.page-khuyen-mai__why-list .page-khuyen-mai__list-item strong {
  color: #FF5A4F;
}

/* CTA Bottom Section */
.page-khuyen-mai__cta-bottom {
  background-color: #F5F7FA;
  padding: 60px 20px;
}

.page-khuyen-mai__cta-content {
  max-width: 800px;
}

.page-khuyen-mai__cta-bottom .page-khuyen-mai__section-title {
  color: #333333;
}

.page-khuyen-mai__cta-bottom .page-khuyen-mai__text-block {
  color: #555555;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-khuyen-mai__main-title {
    font-size: 2.8em;
  }

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

  .page-khuyen-mai__hero-image {
    max-height: 400px;
  }

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

@media (max-width: 768px) {
  .page-khuyen-mai__hero-section {
    padding-top: 10px !important; /* Small top padding, body handles header offset */
    padding-bottom: 30px;
  }

  .page-khuyen-mai__main-title {
    font-size: 2.2em;
    margin-bottom: 10px;
  }

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

  .page-khuyen-mai__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }

  .page-khuyen-mai__text-block {
    font-size: 1em;
  }

  .page-khuyen-mai__btn-primary,
  .page-khuyen-mai__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 15px !important;
    font-size: 1em !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    margin-top: 10px;
  }

  .page-khuyen-mai__hero-image-wrapper,
  .page-khuyen-mai__container,
  .page-khuyen-mai__card-grid,
  .page-khuyen-mai__faq-list,
  .page-khuyen-mai__list,
  .page-khuyen-mai__numbered-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }

  .page-khuyen-mai__hero-image,
  .page-khuyen-mai__card-image,
  .page-khuyen-mai img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-khuyen-mai__card-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-khuyen-mai__card {
    padding: 20px;
  }

  .page-khuyen-mai__card-title {
    font-size: 1.4em;
  }

  .page-khuyen-mai__list-item,
  .page-khuyen-mai__numbered-list .page-khuyen-mai__list-item {
    font-size: 1em;
    padding-left: 35px;
  }

  .page-khuyen-mai__numbered-list .page-khuyen-mai__list-item::before {
    width: 30px;
    height: 30px;
    font-size: 1em;
  }

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

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

/* Specific CSS for home-content, slider, banners, blog for non-homepage is not applicable */
/* This page is 'khuyen-mai', not 'index', so no gameshow, game slider or home-content styles are needed */
/* The provided CSS snippet from the prompt seems to be for homepage, which conflicts with non-homepage rules. */
/* I will only include the general page styles and responsive rules as per current page (khuyen-mai) requirements. */
/* If the page type was 'index', I would include the specific homepage module CSS. */