:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --card-bg: #111111;
    --body-bg: #0A0A0A;
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
}

.page-khuynmi {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Default text color for dark body background */
    background-color: var(--body-bg);
    line-height: 1.6;
}

/* Sections */
.page-khuynmi__section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--border-color);
}

.page-khuynmi__section:last-of-type {
    border-bottom: none;
}

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

.page-khuynmi__section-title {
    font-size: 38px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: var(--secondary-color);
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

/* Text block */
.page-khuynmi__text-block p {
    margin-bottom: 15px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-main);
}

.page-khuynmi__text-block ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-khuynmi__text-block li {
    margin-bottom: 8px;
    font-size: 16px;
    color: var(--text-main);
}

/* Buttons */
.page-khuynmi__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #000000; /* Contrast with gradient */
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-khuynmi__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--glow-color);
}

.page-khuynmi__btn-secondary {
    background: var(--card-bg);
    color: var(--secondary-color);
    border: 1px solid var(--border-color);
}

.page-khuynmi__btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.page-khuynmi__button-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    width: fit-content;
}

/* Hero Section */
.page-khuynmi__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, main offset handled by body */
}

.page-khuynmi__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-khuynmi__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-khuynmi__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-color);
}

.page-khuynmi__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-khuynmi__hero-content h1 {
    font-size: clamp(28px, 4vw, 56px);
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 15px rgba(242, 193, 78, 0.7);
}

.page-khuynmi__hero-content p {
    font-size: clamp(16px, 2vw, 22px);
    color: var(--text-main);
    max-width: 800px;
    margin: 0 auto 30px auto;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* Promotion Cards */
.page-khuynmi__promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-khuynmi__promotion-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuynmi__promotion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px var(--glow-color);
}

.page-khuynmi__promotion-card img {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

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

.page-khuynmi__card-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-khuynmi__card-description {
    font-size: 16px;
    color: var(--text-main);
    margin-bottom: 20px;
    line-height: 1.6;
}

.page-khuynmi__cta-small {
    padding: 10px 25px;
    font-size: 16px;
    margin-top: 10px;
}

/* How-To Steps */
.page-khuynmi__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.page-khuynmi__step-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-khuynmi__step-card:hover {
    transform: translateY(-5px);
}

.page-khuynmi__step-icon {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-khuynmi__step-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.page-khuynmi__step-card p {
    font-size: 16px;
    color: var(--text-main);
}

/* Why Choose Section */
.page-khuynmi__why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-khuynmi__why-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
}

.page-khuynmi__why-card:hover {
    transform: translateY(-5px);
}

.page-khuynmi__why-card img {
    width: 100%;
    height: 200px;
    object-fit: contain; /* Use contain for icons/logos */
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px rgba(255, 211, 107, 0.6)); /* Only for glow, not color change */
}

.page-khuynmi__why-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

/* FAQ Section */
details.page-khuynmi__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-khuynmi__faq-item summary.page-khuynmi__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: var(--text-main);
}
details.page-khuynmi__faq-item summary.page-khuynmi__faq-question::-webkit-details-marker {
  display: none;
}
details.page-khuynmi__faq-item summary.page-khuynmi__faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}
.page-khuynmi__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: var(--primary-color);
}
.page-khuynmi__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  flex-shrink: 0;
  margin-left: 20px;
  width: 30px;
  text-align: center;
  line-height: 1;
}
details.page-khuynmi__faq-item .page-khuynmi__faq-answer {
  padding: 0 25px 25px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 0 0 8px 8px;
  color: var(--text-main);
}

/* Quick Links */
.page-khuynmi__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-khuynmi__section-title {
        font-size: 32px;
    }
    .page-khuynmi__hero-image img {
        height: auto;
    }
    .page-khuynmi__card-title {
        font-size: 22px;
    }
    .page-khuynmi__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-khuynmi__section {
        padding: 40px 15px;
    }
    .page-khuynmi__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
    .page-khuynmi__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
    }
    .page-khuynmi__hero-content h1 {
        font-size: clamp(24px, 6vw, 40px);
    }
    .page-khuynmi__hero-content p {
        font-size: clamp(15px, 2.5vw, 18px);
        margin-bottom: 20px;
    }
    .page-khuynmi__hero-image {
        margin-bottom: 20px;
    }
    .page-khuynmi__hero-image img {
        border-radius: 8px;
    }
    .page-khuynmi__promotions-grid, .page-khuynmi__steps-grid, .page-khuynmi__why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-khuynmi__promotion-card img {
        
    }
    .page-khuynmi__card-content {
        padding: 20px;
    }
    .page-khuynmi__card-title {
        font-size: 20px;
    }
    .page-khuynmi__card-description {
        font-size: 15px;
    }
    .page-khuynmi__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 16px;
        margin-top: 15px;
    }
    .page-khuynmi__button-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-khuynmi__button-group .page-khuynmi__cta-button {
        margin-top: 0;
    }
    .page-khuynmi img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .page-khuynmi__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    details.page-khuynmi__faq-item summary.page-khuynmi__faq-question { padding: 15px; }
    .page-khuynmi__faq-qtext { font-size: 16px; }
    .page-khuynmi__faq-toggle { font-size: 24px; }
}

@media (max-width: 480px) {
    .page-khuynmi__section-title {
        font-size: 24px;
    }
    .page-khuynmi__hero-content h1 {
        font-size: clamp(20px, 7vw, 36px);
    }
    .page-khuynmi__hero-content p {
        font-size: clamp(14px, 3vw, 16px);
    }
    .page-khuynmi__card-title {
        font-size: 18px;
    }
    .page-khuynmi__step-title, .page-khuynmi__why-title {
        font-size: 20px;
    }
    .page-khuynmi__cta-button {
        font-size: 15px;
        padding: 10px 15px;
    }
    .page-khuynmi__card-description, .page-khuynmi__text-block p, .page-khuynmi__text-block li, .page-khuynmi__step-card p {
        font-size: 14px;
    }
}