:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --card-bg: #111111;
    --site-bg: #0A0A0A; /* Assuming this is the body background from shared.css */
    --text-main: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
}

.page-khuynmi {
    color: var(--text-main); /* Ensure text is visible on dark body background */
    background-color: var(--site-bg);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-khuynmi__section {
    padding: 60px 20px;
    text-align: center;
    background-color: var(--site-bg);
}

.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 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--site-bg); /* Ensure consistent background */
}

.page-khuynmi__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Ensure it takes full width within its container */
}

.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: 8px;
    object-fit: cover;
    border: 1px solid var(--border-color); /* Add border for style */
    box-shadow: 0 0 20px rgba(255, 211, 107, 0.3); /* Add glow effect */
}

.page-khuynmi__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 800px; /* Constrain text width */
    margin-top: -60px; /* Overlap slightly for better visual flow */
    padding: 20px;
    background: rgba(17, 17, 17, 0.8); /* Semi-transparent background for text readability */
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.page-khuynmi__main-title {
    color: var(--secondary-color);
    margin-bottom: 15px;
    /* font-size handled by browser/shared for H1, no fixed size here */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-khuynmi__hero-description {
    color: var(--text-main);
    font-size: 1.1em;
    margin-bottom: 30px;
}

.page-khuynmi__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff; /* White text for button */
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4);
}

.page-khuynmi__cta-button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 211, 107, 0.6);
}

.page-khuynmi__section-title {
    color: var(--primary-color);
    margin-bottom: 30px;
    font-size: 2.5em;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.page-khuynmi__section-title--white {
    color: #ffffff;
}

.page-khuynmi__text-block {
    color: var(--text-main);
    font-size: 1.05em;
    max-width: 900px;
    margin: 0 auto 20px auto;
}

.page-khuynmi__text-block--white {
    color: #ffffff;
}

/* Promo Categories Grid */
.page-khuynmi__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-khuynmi__promo-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 25px;
    text-align: left;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-khuynmi__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 211, 107, 0.3);
}

.page-khuynmi__promo-card img {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

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

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

.page-khuynmi__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--button-gradient);
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(255, 211, 107, 0.3);
    max-width: 100%; /* Button responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-khuynmi__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(255, 211, 107, 0.5);
}

/* How to Claim Steps */
.page-khuynmi__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: center;
}

.page-khuynmi__step-item {
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

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

.page-khuynmi__step-title {
    color: var(--secondary-color);
    font-size: 1.4em;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-khuynmi__step-description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-khuynmi__step-description a:hover {
    text-decoration: underline;
}

/* Terms and Conditions */
.page-khuynmi__terms-list {
    list-style: none;
    padding: 0;
    text-align: left;
    max-width: 900px;
    margin: 30px auto;
    background-color: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.page-khuynmi__terms-list li {
    color: var(--text-main);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    font-size: 1em;
}

.page-khuynmi__terms-list li::before {
    content: '•';
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}

.page-khuynmi__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Button responsive */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-khuynmi__btn-secondary:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 3px 10px rgba(242, 193, 78, 0.5);
}

/* FAQ Section */
.page-khuynmi__faq-section {
    background-color: var(--site-bg);
}

.page-khuynmi__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

details.page-khuynmi__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--card-bg);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}
details.page-khuynmi__faq-item summary.page-khuynmi__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}
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: #1A1A1A; /* Slightly lighter dark for hover */
}
.page-khuynmi__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--secondary-color);
}
.page-khuynmi__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-khuynmi__faq-item .page-khuynmi__faq-answer {
    padding: 0 20px 20px;
    background: #1A1A1A; /* Slightly lighter dark for answer background */
    border-radius: 0 0 10px 10px;
    color: var(--text-main);
    text-align: left;
    font-size: 1em;
}

/* Final CTA Section */
.page-khuynmi__final-cta {
    padding: 80px 20px;
    background-color: var(--site-bg);
}

.page-khuynmi__final-cta .page-khuynmi__container {
    background-color: var(--card-bg);
    border-radius: 15px;
    padding: 50px;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 30px rgba(255, 211, 107, 0.5);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-khuynmi__section-title {
        font-size: 2em;
    }
    .page-khuynmi__hero-content {
        margin-top: -40px;
    }
}

@media (max-width: 768px) {
    .page-khuynmi__hero-section {
        padding-top: 10px !important; /* body padding-top is handled by shared.css */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-khuynmi__hero-image img {
        border-radius: 4px;
    }
    .page-khuynmi__hero-content {
        margin-top: -30px;
        padding: 15px;
    }
    .page-khuynmi__main-title {
        font-size: 1.8em; /* Responsive H1 */
    }
    .page-khuynmi__hero-description {
        font-size: 1em;
    }
    .page-khuynmi__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        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__section {
        padding: 40px 15px;
    }
    .page-khuynmi__section-title {
        font-size: 1.8em;
    }
    .page-khuynmi__text-block {
        font-size: 0.95em;
    }

    .page-khuynmi__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-khuynmi__promo-card img {
        
    }
    .page-khuynmi__card-title {
        font-size: 1.3em;
    }
    .page-khuynmi__btn-primary {
        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__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-khuynmi__step-item {
        padding: 25px;
    }
    .page-khuynmi__step-icon {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }
    .page-khuynmi__step-title {
        font-size: 1.2em;
    }

    .page-khuynmi__terms-list {
        padding: 20px;
    }
    .page-khuynmi__terms-list li {
        font-size: 0.9em;
    }
    .page-khuynmi__btn-secondary {
        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;
    }

    details.page-khuynmi__faq-item summary.page-khuynmi__faq-question { padding: 15px; }
    .page-khuynmi__faq-qtext { font-size: 1em; }
    .page-khuynmi__faq-toggle { font-size: 20px; }
    details.page-khuynmi__faq-item .page-khuynmi__faq-answer { padding: 0 15px 15px; }

    .page-khuynmi__final-cta .page-khuynmi__container {
        padding: 30px;
    }

    /* Image responsive styles */
    .page-khuynmi img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !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;
    }
}

/* Ensure images within content areas are not smaller than 200px */
.page-khuynmi__promo-card img,
.page-khuynmi__hero-image img {
    min-width: 200px;
    min-height: 200px;
}