:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --background-color: #0A0A0A;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --header-offset: 122px; /* Placeholder, will be overridden by shared.css or body padding */
}

.page-khuynmi {
    background-color: var(--background-color);
    color: var(--text-main-color);
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* General padding for the bottom */
}

.page-khuynmi__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding for the first section */
    background-color: #100224; /* Deep purple-black background for hero */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden; /* Ensure no overflow from image */
}

.page-khuynmi__hero-visual {
    width: 100%;
    margin: 0;
    padding: 0;
}

.page-khuynmi__hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/5; /* Example aspect ratio */
    object-fit: cover;
    max-width: 100%; /* Ensure responsiveness */
    min-height: 200px; /* Minimum size for images */
}

.page-khuynmi__hero-content {
    max-width: 900px;
    padding: 40px 20px 60px;
    position: relative; /* For z-index if needed, but not for overlay */
    z-index: 1;
    text-align: center;
}

.page-khuynmi__main-title {
    font-size: clamp(2rem, 5vw, 3.2rem); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--secondary-color); /* Emphasize with secondary color */
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5); /* Soft glow */
}

.page-khuynmi__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    color: var(--text-main-color);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-khuynmi__hero-cta,
.page-khuynmi__card-cta,
.page-khuynmi__claim-cta {
    display: inline-block;
    background: var(--button-gradient);
    color: #100224; /* Dark text on bright button */
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
    border: none;
    cursor: pointer;
}

.page-khuynmi__hero-cta:hover,
.page-khuynmi__card-cta:hover,
.page-khuynmi__claim-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-khuynmi__section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin: 60px auto 40px;
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
    max-width: 100%; /* Ensure responsiveness */
}

.page-khuynmi__promotions-grid {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

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

.page-khuynmi__promo-card img {
    width: 100%;
    height: 250px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
    max-width: 100%; /* Ensure responsiveness */
    min-height: 200px; /* Minimum size for images */
}

.page-khuynmi__card-content {
    padding: 25px;
    flex-grow: 1; /* Allow content to grow */
    display: flex;
    flex-direction: column;
}

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

.page-khuynmi__card-description {
    font-size: 1rem;
    color: var(--text-main-color);
    margin-bottom: 20px;
    flex-grow: 1; /* Push CTA to bottom */
}

.page-khuynmi__card-cta {
    align-self: flex-start; /* Align button to start */
    font-size: 0.95rem;
    padding: 10px 20px;
}

.page-khuynmi__how-to-claim {
    padding: 60px 20px;
    max-width: 1000px;
    margin: 40px auto;
    background-color: var(--card-bg);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    text-align: center;
}

.page-khuynmi__steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.page-khuynmi__step-item {
    padding: 25px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background-color: #1a1a1a; /* Slightly lighter card background */
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-khuynmi__step-number {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--button-gradient);
    color: #100224;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(255, 211, 107, 0.5);
}

.page-khuynmi__step-title {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.page-khuynmi__step-description {
    font-size: 0.95rem;
    color: var(--text-main-color);
}

.page-khuynmi__claim-cta {
    margin-top: 30px;
}

.page-khuynmi__faq-section {
    padding: 60px 20px;
    max-width: 900px;
    margin: 40px auto;
}

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

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

.page-khuynmi__faq-question {
    display: block;
    padding: 20px 25px;
    color: var(--secondary-color);
    font-size: 1.15rem;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: background-color 0.3s ease;
}

.page-khuynmi__faq-question::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.page-khuynmi__faq-item[open] .page-khuynmi__faq-question::after {
    content: '-';
    transform: translateY(-50%) rotate(180deg);
}

.page-khuynmi__faq-answer {
    padding: 0 25px 20px;
    color: var(--text-main-color);
    font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 849px) {
    .page-khuynmi__hero-visual img {
        aspect-ratio: 4/3; /* Adjust aspect ratio for mobile */
    }
    .page-khuynmi__hero-content {
        padding: 30px 15px 40px;
    }
    .page-khuynmi__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
    }
    .page-khuynmi__hero-description {
        font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    }
    .page-khuynmi__hero-cta {
        padding: 12px 25px;
    }
    .page-khuynmi__section-title {
        margin: 40px auto 30px;
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
    .page-khuynmi__grid-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    .page-khuynmi__promo-card img {
        height: 200px;
    }
    .page-khuynmi__card-title {
        font-size: 1.3rem;
    }
    .page-khuynmi__card-description {
        font-size: 0.9rem;
    }
    .page-khuynmi__card-cta {
        padding: 8px 15px;
    }
    .page-khuynmi__how-to-claim {
        padding: 40px 15px;
    }
    .page-khuynmi__steps-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-khuynmi__step-number {
        width: 45px;
        height: 45px;
        font-size: 1.6rem;
    }
    .page-khuynmi__faq-section {
        padding: 40px 15px;
    }
    .page-khuynmi__faq-question {
        font-size: 1.05rem;
        padding: 18px 20px;
    }
    .page-khuynmi__faq-question::after {
        right: 20px;
        font-size: 1.3rem;
    }
    .page-khuynmi__faq-answer {
        font-size: 0.95rem;
        padding: 0 20px 18px;
    }
}

@media (max-width: 549px) {
    .page-khuynmi__grid-container {
        grid-template-columns: 1fr;
    }
    .page-khuynmi__hero-visual img {
        min-height: 200px; /* Ensure minimum height */
    }
    /* Ensure content area images are responsive */
    .page-khuynmi__promo-card img,
    .page-khuynmi__hero-visual img {
        max-width: 100%;
        height: auto;
    }
}

/* Global image CSS rule for content area (to ensure min 200px display) */
.page-khuynmi img:not(.page-khuynmi__hero-visual img) { /* Exclude hero visual img for specific aspect ratio handling */
    min-width: 200px;
    min-height: 200px;
}
/* Mobile specific rule for all images within .page-khuynmi */
@media (max-width: 768px) {
    .page-khuynmi img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    .page-khuynmi {
        overflow-x: hidden;
    }
}