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

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

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

/* Hero Section */
.page-khuynmi__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding for first section */
    overflow: hidden;
    background-color: var(--bg-color, #08160F);
}

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

.page-khuynmi__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    color: var(--text-main-color, #F2FFF6);
}

.page-khuynmi__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--gold-color, #F2C14E);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-khuynmi__hero-description {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--text-secondary-color, #A7D9B8);
}

.page-khuynmi__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-khuynmi__btn-primary,
.page-khuynmi__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-khuynmi__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: #ffffff;
    border: none;
}

.page-khuynmi__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-khuynmi__btn-secondary:hover {
    background-color: var(--main-color, #11A84E);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-khuynmi__btn-large {
    font-size: 1.2rem;
    padding: 18px 35px;
}

/* General Sections */
.page-khuynmi__current-promotions,
.page-khuynmi__how-to-claim,
.page-khuynmi__faq-section,
.page-khuynmi__why-choose,
.page-khuynmi__final-cta {
    padding: 80px 0;
}

.page-khuynmi__dark-bg {
    background-color: var(--card-bg-color, #11271B);
    color: var(--text-main-color, #F2FFF6);
}

.page-khuynmi__light-bg {
    background-color: #ffffff;
    color: var(--text-dark-color, #333333);
}

.page-khuynmi__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--gold-color, #F2C14E);
}

.page-khuynmi__light-bg .page-khuynmi__section-title {
    color: var(--deep-green-color, #0A4B2C);
}

.page-khuynmi__section-description {
    font-size: 1.1rem;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px auto;
    color: var(--text-secondary-color, #A7D9B8);
}

.page-khuynmi__light-bg .page-khuynmi__section-description {
    color: var(--text-dark-color, #333333);
}

.page-khuynmi__text-dark {
    color: var(--text-dark-color, #333333);
}

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

.page-khuynmi__card {
    background-color: var(--card-bg-color, #11271B);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px 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__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

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

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

.page-khuynmi__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--gold-color, #F2C14E);
}

.page-khuynmi__card-text {
    font-size: 1rem;
    margin-bottom: 20px;
    color: var(--text-secondary-color, #A7D9B8);
}

.page-khuynmi__card-link {
    display: inline-block;
    color: var(--glow-color, #57E38D);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-khuynmi__card-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* How to Claim Section */
.page-khuynmi__step-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 900px;
}

.page-khuynmi__step-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    color: var(--text-dark-color, #333333);
}

.page-khuynmi__step-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--deep-green-color, #0A4B2C);
}

.page-khuynmi__step-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-dark-color, #333333);
}

.page-khuynmi__step-text a {
    color: var(--main-color, #11A84E);
    text-decoration: underline;
}

.page-khuynmi__step-text a:hover {
    color: var(--secondary-color, #22C768);
}

.page-khuynmi__cta-center {
    text-align: center;
    margin-top: 40px;
}

/* FAQ Section */
.page-khuynmi__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-khuynmi__faq-item {
    background-color: var(--card-bg-color, #11271B);
    border: 1px solid var(--divider-color, #1E3A2A);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-main-color, #F2FFF6);
}

.page-khuynmi__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gold-color, #F2C14E);
    list-style: none;
}

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

.page-khuynmi__faq-question:hover {
    background-color: rgba(var(--main-color-rgb, 17, 168, 78), 0.1);
}

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

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

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

.page-khuynmi__feature-item {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

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

.page-khuynmi__feature-icon {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin-bottom: 20px;
    display: inline-block;
}

.page-khuynmi__feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--deep-green-color, #0A4B2C);
}

.page-khuynmi__feature-text {
    font-size: 0.95rem;
    color: var(--text-dark-color, #333333);
}

/* Final CTA Section */
.page-khuynmi__final-cta {
    padding: 100px 0;
}

/* Footer */
.page-khuynmi__footer {
    background-color: var(--card-bg-color, #11271B);
    color: var(--text-secondary-color, #A7D9B8);
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid var(--divider-color, #1E3A2A);
}

.page-khuynmi__copyright {
    font-size: 0.9rem;
}

/* Ensure no CSS filter on images */
.page-khuynmi img {
    filter: none;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-khuynmi__hero-section {
        padding: 40px 0;
    }
    .page-khuynmi__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-khuynmi__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    .page-khuynmi__promotion-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
    .page-khuynmi__current-promotions,
    .page-khuynmi__how-to-claim,
    .page-khuynmi__faq-section,
    .page-khuynmi__why-choose,
    .page-khuynmi__final-cta {
        padding: 60px 0;
    }
}

@media (max-width: 768px) {
    .page-khuynmi {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-khuynmi__hero-section {
        padding-top: 10px !important;
    }
    .page-khuynmi__hero-image {
        margin-bottom: 20px;
    }
    .page-khuynmi__hero-content {
        padding: 0 10px;
    }
    .page-khuynmi__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-khuynmi__hero-description {
        font-size: 1rem;
    }
    .page-khuynmi__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }
    .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;
    }
    .page-khuynmi__cta-buttons {
        display: flex;
        flex-direction: column;
    }
    .page-khuynmi__section-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem);
    }
    .page-khuynmi__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    .page-khuynmi__promotion-grid {
        grid-template-columns: 1fr;
    }
    .page-khuynmi__card-image {
        height: 180px;
    }
    .page-khuynmi__card-title {
        font-size: 1.2rem;
    }
    .page-khuynmi__step-item {
        padding: 20px;
    }
    .page-khuynmi__step-title {
        font-size: 1.3rem;
    }
    .page-khuynmi__faq-question {
        font-size: 1rem;
        padding: 18px 20px;
    }
    .page-khuynmi__faq-answer {
        padding: 0 20px 18px 20px;
    }
    .page-khuynmi__feature-item {
        padding: 25px;
    }
    .page-khuynmi__feature-icon {
        width: 150px; /* Adjusted for mobile */
        height: 150px;
    }
    .page-khuynmi__feature-title {
        font-size: 1.1rem;
    }
    .page-khuynmi__feature-text {
        font-size: 0.9rem;
    }
    .page-khuynmi__current-promotions,
    .page-khuynmi__how-to-claim,
    .page-khuynmi__faq-section,
    .page-khuynmi__why-choose,
    .page-khuynmi__final-cta {
        padding: 40px 0;
    }

    /* Mandatory image responsive styles */
    .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 {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
    .page-khuynmi__video-section {
      padding-top: 10px !important;
    }
}