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

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

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

/* Hero Section */
.page-khuynmi__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding */
    padding-bottom: 60px; /* Ample bottom padding */
    background-color: var(--page-khuynmi-deep-green);
}

.page-khuynmi__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit hero image height */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-khuynmi__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-khuynmi__hero-content {
    position: relative; /* Ensure content is above image if any overlap */
    z-index: 2;
    padding: 30px 20px;
    max-width: 900px;
    color: var(--page-khuynmi-text-main);
}

.page-khuynmi__main-title {
    font-size: clamp(2.2rem, 5vw, 3.5rem); /* Responsive H1 */
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--page-khuynmi-gold); /* Use gold for main title */
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-khuynmi__hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--page-khuynmi-text-secondary);
}

.page-khuynmi__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--page-khuynmi-button-gradient);
    color: var(--page-khuynmi-text-main);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

.page-khuynmi__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

/* General Section Styling */
.page-khuynmi__section {
    padding: 80px 0;
    text-align: center;
}

.page-khuynmi__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: bold;
    margin-bottom: 40px;
    color: var(--page-khuynmi-primary-color);
}

.page-khuynmi__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--page-khuynmi-text-secondary);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Intro Section */
.page-khuynmi__intro-section {
    background-color: var(--page-khuynmi-background);
}

.page-khuynmi__feature-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 50px;
}

.page-khuynmi__feature-item {
    background-color: var(--page-khuynmi-card-bg);
    border: 1px solid var(--page-khuynmi-border);
    border-radius: 12px;
    padding: 30px;
    flex: 1 1 300px; /* Adjust for responsiveness */
    max-width: 350px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-khuynmi__feature-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum image size */
    min-height: 200px; /* Enforce minimum image size */
}

.page-khuynmi__feature-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--page-khuynmi-primary-color);
}

.page-khuynmi__feature-item p {
    font-size: 1rem;
    color: var(--page-khuynmi-text-secondary);
}

/* Promo Types Section */
.page-khuynmi__promo-types-section {
    background-color: var(--page-khuynmi-deep-green); /* Darker background */
    color: var(--page-khuynmi-text-main);
}

.page-khuynmi__promo-types-section .page-khuynmi__section-title {
    color: var(--page-khuynmi-gold); /* Gold title on dark background */
}

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

.page-khuynmi__card {
    background-color: var(--page-khuynmi-card-bg);
    border: 1px solid var(--page-khuynmi-border);
    border-radius: 12px;
    overflow: hidden;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

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

.page-khuynmi__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    min-width: 200px; /* Enforce minimum image size */
    min-height: 200px; /* Enforce minimum image size */
}

.page-khuynmi__card-title {
    font-size: 1.4rem;
    font-weight: bold;
    margin: 20px 20px 10px;
    color: var(--page-khuynmi-primary-color);
}

.page-khuynmi__card-description {
    font-size: 0.95rem;
    color: var(--page-khuynmi-text-secondary);
    margin: 0 20px 20px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-khuynmi__card-button {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 20px 20px;
    background: var(--page-khuynmi-button-gradient);
    color: var(--page-khuynmi-text-main);
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s ease;
    text-align: center;
    border: none;
    cursor: pointer;
}

.page-khuynmi__card-button:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Slightly reverse gradient on hover */
}

.page-khuynmi__cta-center {
    margin-top: 60px;
}

/* How to Claim Section */
.page-khuynmi__how-to-claim-section {
    background-color: var(--page-khuynmi-background);
}

.page-khuynmi__step-list {
    list-style: none;
    padding: 0;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-khuynmi__step-item {
    background-color: var(--page-khuynmi-card-bg);
    border: 1px solid var(--page-khuynmi-border);
    border-radius: 12px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-khuynmi__step-title {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--page-khuynmi-primary-color);
}

.page-khuynmi__step-item p {
    font-size: 1rem;
    color: var(--page-khuynmi-text-secondary);
}

.page-khuynmi__step-item a {
    color: var(--page-khuynmi-gold); /* Gold for links within steps */
    text-decoration: underline;
}

.page-khuynmi__step-item a:hover {
    color: var(--page-khuynmi-glow);
}

/* FAQ Section */
.page-khuynmi__faq-section {
    background-color: var(--page-khuynmi-deep-green); /* Darker background for contrast */
    color: var(--page-khuynmi-text-main);
}

.page-khuynmi__faq-section .page-khuynmi__section-title {
    color: var(--page-khuynmi-gold); /* Gold title on dark background */
}

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

.page-khuynmi__faq-item {
    background-color: var(--page-khuynmi-card-bg);
    border: 1px solid var(--page-khuynmi-border);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.page-khuynmi__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15rem;
    font-weight: bold;
    color: var(--page-khuynmi-primary-color);
    cursor: pointer;
    background-color: var(--page-khuynmi-card-bg);
    list-style: none; /* Remove default marker */
    transition: background-color 0.3s ease;
}

.page-khuynmi__faq-item summary:hover {
    background-color: rgba(17, 168, 78, 0.1); /* Slight hover effect */
}

.page-khuynmi__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-khuynmi__faq-qtext {
    flex-grow: 1;
}

.page-khuynmi__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 20px;
    color: var(--page-khuynmi-gold);
}

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

/* Final CTA Section */
.page-khuynmi__cta-final-section {
    background-color: var(--page-khuynmi-deep-green);
    padding-bottom: 80px;
}

.page-khuynmi__cta-final-section .page-khuynmi__section-title {
    color: var(--page-khuynmi-gold);
}

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

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-khuynmi__hero-content {
        padding: 20px;
    }
    .page-khuynmi__feature-item {
        flex: 1 1 280px;
    }
    .page-khuynmi__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-khuynmi__hero-section {
        padding-bottom: 40px;
    }
    .page-khuynmi__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-khuynmi__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }
    .page-khuynmi__cta-button,
    .page-khuynmi__card-button,
    .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-center {
        display: flex;
        justify-content: center;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }
    .page-khuynmi__section {
        padding: 50px 0;
    }
    .page-khuynmi__section-title {
        font-size: clamp(1.5rem, 6vw, 2.2rem);
        margin-bottom: 30px;
    }
    .page-khuynmi__text-block,
    .page-khuynmi__feature-item p,
    .page-khuynmi__card-description,
    .page-khuynmi__step-item p,
    .page-khuynmi__faq-answer p {
        font-size: 0.95rem;
    }
    .page-khuynmi__feature-list {
        flex-direction: column;
        gap: 20px;
    }
    .page-khuynmi__feature-item {
        max-width: 100%;
    }
    .page-khuynmi__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-khuynmi__card {
        max-width: 100%;
    }
    .page-khuynmi__step-list {
        gap: 20px;
    }
    .page-khuynmi__step-item {
        padding: 20px;
    }
    .page-khuynmi__step-title {
        font-size: 1.4rem;
    }
    .page-khuynmi__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-khuynmi__faq-toggle {
        font-size: 1.5rem;
    }
    .page-khuynmi__faq-answer {
        padding: 0 20px 15px;
    }

    /* Images responsiveness */
    .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 {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-khuynmi__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-khuynmi__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}