/* style/khuynmi.css */
:root {
  --khuynmi-primary-color: #11A84E;
  --khuynmi-secondary-color: #22C768;
  --khuynmi-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --khuynmi-card-bg: #11271B;
  --khuynmi-background: #08160F;
  --khuynmi-text-main: #F2FFF6;
  --khuynmi-text-secondary: #A7D9B8;
  --khuynmi-border-color: #2E7A4E;
  --khuynmi-glow-color: #57E38D;
  --khuynmi-gold-color: #F2C14E;
  --khuynmi-divider-color: #1E3A2A;
  --khuynmi-deep-green: #0A4B2C;
}

.page-khuynmi {
  font-family: 'Arial', sans-serif;
  color: var(--khuynmi-text-main);
  background-color: var(--khuynmi-background);
  line-height: 1.6;
  padding-bottom: 50px; /* Add some padding to the bottom of the main content */
}

.page-khuynmi__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 20px 60px; /* Small top padding, more bottom padding */
  background-color: var(--khuynmi-deep-green);
  overflow: hidden;
}

.page-khuynmi__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-khuynmi__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 30px;
}

.page-khuynmi__hero-content {
  max-width: 900px;
  margin: 0 auto;
  z-index: 1; /* Ensure content is above any background effects */
}

.page-khuynmi__main-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  color: var(--khuynmi-gold-color);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-khuynmi__hero-description,
.page-khuynmi__section-description {
  font-size: 1.15rem;
  color: var(--khuynmi-text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-khuynmi__section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--khuynmi-text-main);
  text-align: center;
  margin-bottom: 40px;
  font-weight: 700;
  text-shadow: 0 0 5px rgba(242, 255, 246, 0.3);
}

.page-khuynmi__benefits-grid,
.page-khuynmi__promotions-grid,
.page-khuynmi__steps-grid,
.page-khuynmi__terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-khuynmi__card {
  background-color: var(--khuynmi-card-bg);
  border: 1px solid var(--khuynmi-border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: var(--khuynmi-text-main);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuynmi__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4), 0 0 15px var(--khuynmi-glow-color);
}

.page-khuynmi__card-title {
  font-size: 1.5rem;
  color: var(--khuynmi-gold-color);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-khuynmi__card-text {
  font-size: 1rem;
  color: var(--khuynmi-text-secondary);
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-khuynmi__btn-primary,
.page-khuynmi__btn-secondary {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
  max-width: 100%;
}

.page-khuynmi__btn-primary {
  background: var(--khuynmi-button-gradient);
  color: var(--khuynmi-text-main);
  border: none;
  box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-khuynmi__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
}

.page-khuynmi__btn-secondary {
  background-color: transparent;
  color: var(--khuynmi-primary-color);
  border: 2px solid var(--khuynmi-primary-color);
}

.page-khuynmi__btn-secondary:hover {
  background-color: var(--khuynmi-primary-color);
  color: var(--khuynmi-text-main);
  transform: translateY(-2px);
}

.page-khuynmi__image-full-width {
  width: 100%;
  height: auto;
  display: block;
  margin-top: 50px;
  border-radius: 12px;
  object-fit: cover;
}

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

.page-khuynmi__step-item {
  text-align: left;
  padding: 25px;
}

.page-khuynmi__step-title {
  font-size: 1.6rem;
  color: var(--khuynmi-gold-color);
  margin-bottom: 10px;
  font-weight: 600;
}

.page-khuynmi__step-text {
  font-size: 1.05rem;
  color: var(--khuynmi-text-secondary);
  margin-bottom: 20px;
}

.page-khuynmi__vip-flex,
.page-khuynmi__responsible-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.page-khuynmi__vip-text-content,
.page-khuynmi__responsible-text-content {
  flex: 1;
  min-width: 300px;
}

.page-khuynmi__vip-image-wrapper,
.page-khuynmi__responsible-image-wrapper {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.page-khuynmi__vip-image,
.page-khuynmi__responsible-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  object-fit: cover;
}

.page-khuynmi__vip-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 30px;
}

.page-khuynmi__vip-list li {
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="%23F2C14E"><path d="M9 16.17L4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z"/></svg>') no-repeat left center;
  background-size: 18px;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--khuynmi-text-main);
  font-size: 1.05rem;
}

.page-khuynmi__btn-center {
  margin: 40px auto 0;
  display: block;
  width: fit-content;
}

.page-khuynmi__faq-list {
  margin-top: 40px;
}

.page-khuynmi__faq-item {
  margin-bottom: 15px;
  text-align: left;
  transition: background-color 0.3s ease;
}

.page-khuynmi__faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--khuynmi-gold-color);
  background-color: var(--khuynmi-deep-green);
  border-radius: 10px;
  border: 1px solid var(--khuynmi-border-color);
  transition: background-color 0.3s ease;
}

.page-khuynmi__faq-item summary:hover {
  background-color: var(--khuynmi-card-bg);
}

.page-khuynmi__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-khuynmi__faq-toggle {
  font-size: 1.8rem;
  line-height: 1;
  color: var(--khuynmi-glow-color);
  margin-left: 15px;
  transition: transform 0.3s ease;
}

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

.page-khuynmi__faq-answer {
  padding: 20px 25px;
  font-size: 1.05rem;
  color: var(--khuynmi-text-secondary);
  background-color: var(--khuynmi-card-bg);
  border-radius: 0 0 10px 10px;
  border: 1px solid var(--khuynmi-border-color);
  border-top: none;
  margin-top: -1px;
}

.page-khuynmi__cta-final {
  text-align: center;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-khuynmi__hero-image {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
  .page-khuynmi__vip-flex,
  .page-khuynmi__responsible-flex {
    flex-direction: column;
    text-align: center;
  }
  .page-khuynmi__vip-text-content,
  .page-khuynmi__responsible-text-content {
    order: 2;
  }
  .page-khuynmi__vip-image-wrapper,
  .page-khuynmi__responsible-image-wrapper {
    order: 1;
    margin-bottom: 30px;
  }
  .page-khuynmi__vip-list {
    text-align: left;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .page-khuynmi {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-khuynmi__main-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }
  .page-khuynmi__section-title {
    font-size: clamp(1.8rem, 7vw, 2.5rem);
  }
  .page-khuynmi__hero-description,
  .page-khuynmi__section-description {
    font-size: 1rem;
  }
  .page-khuynmi__content-area {
    padding: 40px 15px;
  }
  .page-khuynmi__benefits-grid,
  .page-khuynmi__promotions-grid,
  .page-khuynmi__steps-grid,
  .page-khuynmi__terms-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .page-khuynmi img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }
  .page-khuynmi__section,
  .page-khuynmi__card,
  .page-khuynmi__container,
  .page-khuynmi__hero-image-wrapper,
  .page-khuynmi__vip-image-wrapper,
  .page-khuynmi__responsible-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: hidden !important;
  }
  .page-khuynmi__hero-image-wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  .page-khuynmi__hero-image {
    border-radius: 0;
  }
  .page-khuynmi__btn-primary,
  .page-khuynmi__btn-secondary,
  .page-khuynmi a[class*="button"],
  .page-khuynmi 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;
    padding-right: 15px;
  }
  .page-khuynmi__cta-buttons,
  .page-khuynmi__button-group,
  .page-khuynmi__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;
    display: flex;
    flex-direction: column;
  }
  .page-khuynmi__hero-section {
    padding: 10px 15px 40px;
  }
  .page-khuynmi__faq-item summary {
    font-size: 1rem;
    padding: 15px 20px;
  }
  .page-khuynmi__faq-answer {
    padding: 15px 20px;
  }
}