.page-khuynmi {
  background-color: var(--background-color, #08160F);
  color: var(--text-main-color, #F2FFF6);
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-khuynmi__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}

.page-khuynmi__section-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--text-main-color, #F2FFF6);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.page-khuynmi__section-description {
  font-size: 18px;
  color: var(--text-secondary-color, #A7D9B8);
  text-align: center;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-khuynmi__btn-primary,
.page-khuynmi__btn-secondary {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  box-sizing: border-box;
}

.page-khuynmi__btn-primary {
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: var(--text-main-color, #F2FFF6);
  border: 2px solid transparent;
}

.page-khuynmi__btn-primary:hover {
  background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
  box-shadow: 0 0 15px var(--glow-color, #57E38D);
}

.page-khuynmi__btn-secondary {
  background: transparent;
  color: var(--text-main-color, #F2FFF6);
  border: 2px solid var(--border-color, #2E7A4E);
}

.page-khuynmi__btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--glow-color, #57E38D);
}

/* Hero Section */
.page-khuynmi__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 0 60px 0; /* Small top padding, larger bottom for content */
  overflow: hidden;
  background-color: var(--deep-green-color, #0A4B2C); /* Consistent dark background */
}

.page-khuynmi__hero-image-wrapper {
  width: 100%;
  max-height: 700px; /* Limit image height */
  overflow: hidden;
  margin-bottom: 30px; /* Space between image and text */
}

.page-khuynmi__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: center;
}

.page-khuynmi__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  padding: 0 20px;
}

.page-khuynmi__hero-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 900;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 20px;
  line-height: 1.1;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-khuynmi__hero-description {
  font-size: clamp(16px, 2vw, 22px);
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 40px;
  line-height: 1.5;
}

.page-khuynmi__hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Why Choose Us Section */
.page-khuynmi__why-choose-us {
  padding: 80px 0;
  background-color: var(--card-bg-color, #11271B);
}

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

.page-khuynmi__feature-item {
  text-align: center;
  padding: 30px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color, #2E7A4E);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuynmi__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.page-khuynmi__feature-icon {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 20px;
  /* filter: drop-shadow(0 0 5px var(--glow-color, #57E38D)); */ /* Removed filter to comply with image color rules */
}

.page-khuynmi__feature-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 15px;
}

.page-khuynmi__feature-text {
  font-size: 16px;
  color: var(--text-secondary-color, #A7D9B8);
}

/* Promo Types Section */
.page-khuynmi__promo-types {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
}

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

.page-khuynmi__promo-card {
  background-color: var(--card-bg-color, #11271B);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-color, #2E7A4E);
}

.page-khuynmi__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-khuynmi__card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.page-khuynmi__card-content {
  padding: 25px;
}

.page-khuynmi__card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 15px;
  line-height: 1.3;
}

.page-khuynmi__card-text {
  font-size: 16px;
  color: var(--text-secondary-color, #A7D9B8);
  margin-bottom: 25px;
  min-height: 90px; /* Ensure consistent card height */
}

/* How to Claim Section */
.page-khuynmi__how-to-claim {
  padding: 80px 0;
  background-color: var(--deep-green-color, #0A4B2C);
}

.page-khuynmi__claim-steps {
  list-style: none;
  padding: 0;
  margin: 50px auto;
  max-width: 800px;
  counter-reset: step-counter;
}

.page-khuynmi__step-item {
  position: relative;
  padding: 20px 0 20px 60px;
  margin-bottom: 30px;
  border-left: 2px solid var(--border-color, #2E7A4E);
}

.page-khuynmi__step-item::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: -20px;
  top: 15px;
  width: 40px;
  height: 40px;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  color: #F2FFF6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  border: 3px solid var(--background-color, #08160F);
}

.page-khuynmi__step-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main-color, #F2FFF6);
  margin-bottom: 10px;
}

.page-khuynmi__step-text {
  font-size: 16px;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-khuynmi__claim-image-wrapper {
  text-align: center;
  margin-top: 50px;
}

.page-khuynmi__claim-image {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Terms and Conditions Section */
.page-khuynmi__terms-conditions {
  padding: 80px 0;
  background-color: var(--background-color, #08160F);
}

.page-khuynmi__terms-list {
  list-style: none;
  padding: 0;
  margin: 50px auto;
  max-width: 900px;
}

.page-khuynmi__terms-item {
  background-color: var(--card-bg-color, #11271B);
  padding: 20px;
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--divider-color, #1E3A2A);
  font-size: 16px;
  color: var(--text-secondary-color, #A7D9B8);
}

.page-khuynmi__terms-item strong {
  color: var(--text-main-color, #F2FFF6);
}

/* FAQ Section */
.page-khuynmi__faq-section {
  padding: 80px 0;
  background-color: var(--card-bg-color, #11271B);
}

.page-khuynmi__faq-list {
  max-width: 900px;
  margin: 50px auto 0 auto;
}

.page-khuynmi__faq-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color, #2E7A4E);
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-khuynmi__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-main-color, #F2FFF6);
  cursor: pointer;
  background-color: var(--card-bg-color, #11271B);
  border-radius: 8px;
  transition: background-color 0.3s ease;
}

.page-khuynmi__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.page-khuynmi__faq-toggle {
  font-size: 24px;
  line-height: 1;
  margin-left: 15px;
  color: var(--glow-color, #57E38D);
}

.page-khuynmi__faq-item[open] .page-khuynmi__faq-toggle {
  content: '−';
}

.page-khuynmi__faq-answer {
  padding: 0 20px 20px 20px;
  font-size: 16px;
  color: var(--text-secondary-color, #A7D9B8);
  line-height: 1.6;
}

/* Final CTA Section */
.page-khuynmi__cta-final {
  padding: 80px 0;
  text-align: center;
  background-color: var(--deep-green-color, #0A4B2C);
}

.page-khuynmi__cta-final .page-khuynmi__btn-primary {
  margin-top: 40px;
  font-size: 20px;
  padding: 16px 40px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-khuynmi__hero-title {
    font-size: clamp(32px, 4.5vw, 50px);
  }
  .page-khuynmi__hero-description {
    font-size: clamp(15px, 1.8vw, 20px);
  }
}

@media (max-width: 768px) {
  .page-khuynmi__container {
    padding: 15px;
  }

  .page-khuynmi__hero-section {
    padding-top: 10px !important; /* body already has padding-top */
    padding-bottom: 40px;
  }

  .page-khuynmi__hero-title {
    font-size: clamp(28px, 8vw, 36px);
    margin-bottom: 15px;
  }

  .page-khuynmi__hero-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-khuynmi__hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .page-khuynmi__btn-primary,
  .page-khuynmi__btn-secondary {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-khuynmi__section-title {
    font-size: clamp(24px, 6vw, 36px);
    margin-bottom: 15px;
  }

  .page-khuynmi__section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .page-khuynmi img {
    max-width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-khuynmi__feature-item,
  .page-khuynmi__promo-card,
  .page-khuynmi__claim-steps,
  .page-khuynmi__terms-list,
  .page-khuynmi__faq-list,
  .page-khuynmi__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  .page-khuynmi__feature-icon {
    width: 80px;
    height: 80px;
  }

  .page-khuynmi__card-image {
    height: 200px;
  }

  .page-khuynmi__card-text {
    min-height: auto;
  }
}