/* Base styles for page-khuyen-mai */
.page-khuyen-mai {
    font-family: Arial, sans-serif;
    color: #FFF1E8; /* Text Main for dark background */
    background-color: #140C0C; /* Background color */
    line-height: 1.6;
}

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

.page-khuyen-mai__section-title {
    font-size: 2.5em;
    color: #F3C54D; /* Gold color for titles */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-khuyen-mai__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #FFF1E8;
}

.page-khuyen-mai__list-highlight {
    color: #F3C54D;
    font-weight: bold;
}

/* Button Styles */
.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* For responsive buttons */
    box-sizing: border-box; /* For responsive buttons */
    white-space: normal; /* For responsive buttons */
    word-wrap: break-word; /* For responsive buttons */
}

.page-khuyen-mai__btn-primary {
    background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
    color: #140C0C; /* Dark text for bright button */
    border: none;
}

.page-khuyen-mai__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-khuyen-mai__btn-secondary {
    background: #2A1212; /* Card BG color */
    color: #FFF1E8; /* Text Main */
    border: 2px solid #6A1E1E; /* Border color */
}

.page-khuyen-mai__btn-secondary:hover {
    background: #6A1E1E; /* Deep Red */
    color: #FFF1E8;
}

.page-khuyen-mai__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Ensure buttons wrap on smaller screens */
    width: 100%; /* For responsive button containers */
    max-width: 100%; /* For responsive button containers */
    overflow: hidden; /* For responsive button containers */
    box-sizing: border-box; /* For responsive button containers */
}

/* HERO Section */
.page-khuyen-mai__hero-section {
    position: relative;
    padding-top: 10px; /* Specific fixed header spacing */
    margin-bottom: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-khuyen-mai__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-khuyen-mai__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-khuyen-mai__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -80px; /* Overlap slightly for visual effect, but not text on image */
    position: relative;
    z-index: 1;
    background-color: rgba(20, 12, 12, 0.8); /* Semi-transparent background for text */
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-khuyen-mai__main-title {
    font-size: 3em;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
    line-height: 1.2;
    font-weight: bold;
    max-width: 100%;
}

.page-khuyen-mai__hero-description {
    font-size: 1.2em;
    color: #FFF1E8;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Backgrounds */
.page-khuyen-mai__dark-section {
    background-color: #140C0C; /* Background color */
    padding: 60px 0;
}

.page-khuyen-mai__light-section {
    background-color: #2A1212; /* Card BG color */
    padding: 60px 0;
}

/* Overview Section */
.page-khuyen-mai__overview-section .page-khuyen-mai__text-block {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* New Member Promos Section */
.page-khuyen-mai__promo-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-khuyen-mai__promo-card {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-khuyen-mai__card-image {
    width: 100%;
    height: 225px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-khuyen-mai__card-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.page-khuyen-mai__card-title {
    font-size: 1.5em;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.3;
}

.page-khuyen-mai__card-description {
    font-size: 1em;
    color: #FFF1E8;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-khuyen-mai__promo-card .page-khuyen-mai__btn-secondary {
    margin-top: auto;
    width: 100%;
}

/* Daily & Weekly Promos Section */
.page-khuyen-mai__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-khuyen-mai__promo-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-khuyen-mai__item-icon {
    width: 100%;
    max-width: 200px; /* Adjust as needed, but >200px */
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
    object-fit: contain;
}

.page-khuyen-mai__item-title {
    font-size: 1.4em;
    color: #F3C54D; /* Gold */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-khuyen-mai__item-description {
    font-size: 0.95em;
    color: #FFF1E8;
    flex-grow: 1;
}

/* Special Events Section */
.page-khuyen-mai__special-promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-khuyen-mai__special-promo-card {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 25px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-khuyen-mai__special-promo-card .page-khuyen-mai__card-title {
    font-size: 1.4em;
    margin-bottom: 15px;
}

.page-khuyen-mai__special-promo-card .page-khuyen-mai__card-description {
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-khuyen-mai__special-promo-card .page-khuyen-mai__card-image {
    width: 100%;
    height: auto;
    max-height: 225px;
    object-fit: cover;
    border-radius: 8px;
    margin-top: 20px;
}

/* Terms & Conditions Section */
.page-khuyen-mai__terms-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-khuyen-mai__terms-list li {
    background-color: rgba(255, 255, 255, 0.05);
    border-left: 5px solid #F3C54D;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    font-size: 1em;
    color: #FFF1E8;
}

/* How to Claim Section */
.page-khuyen-mai__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-khuyen-mai__step-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-khuyen-mai__step-number {
    font-size: 2.5em;
    font-weight: bold;
    color: #F3C54D; /* Gold */
    margin-bottom: 15px;
    background-color: #6A1E1E; /* Deep Red */
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.page-khuyen-mai__step-title {
    font-size: 1.4em;
    color: #F3C54D; /* Gold */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-khuyen-mai__step-description {
    font-size: 0.95em;
    color: #FFF1E8;
    flex-grow: 1;
    margin-bottom: 20px;
}

.page-khuyen-mai__step-item .page-khuyen-mai__btn-primary {
    margin-top: auto;
    width: 100%;
}

/* FAQ Section */
.page-khuyen-mai__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-khuyen-mai__faq-item {
    background-color: #2A1212; /* Card BG */
    border: 1px solid #6A1E1E; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-khuyen-mai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #F3C54D; /* Gold */
    position: relative;
    list-style: none; /* Hide default marker */
}

.page-khuyen-mai__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit */
}

.page-khuyen-mai__faq-toggle {
    font-size: 1.5em;
    transition: transform 0.3s ease;
    color: #FFF1E8;
}

.page-khuyen-mai__faq-item[open] .page-khuyen-mai__faq-toggle {
    transform: rotate(45deg);
}

.page-khuyen-mai__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 1em;
    color: #FFF1E8;
    line-height: 1.6;
}

.page-khuyen-mai__faq-answer p {
    margin: 0;
}

/* Conclusion Section */
.page-khuyen-mai__conclusion-section .page-khuyen-mai__text-block {
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .page-khuyen-mai__container {
        padding: 15px;
    }

    .page-khuyen-mai__section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }

    .page-khuyen-mai__text-block {
        font-size: 1em;
    }

    /* HERO Section */
    .page-khuyen-mai__hero-section {
        padding-top: 10px !important; /* Enforce small top padding */
        margin-bottom: 30px;
    }

    .page-khuyen-mai__hero-content {
        padding: 30px 15px;
        margin-top: -50px; /* Adjust overlap */
    }

    .page-khuyen-mai__main-title {
        font-size: 2em;
    }

    .page-khuyen-mai__hero-description {
        font-size: 1em;
    }

    .page-khuyen-mai__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Buttons */
    .page-khuyen-mai__btn-primary,
    .page-khuyen-mai__btn-secondary,
    .page-khuyen-mai a[class*="button"],
    .page-khuyen-mai 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-khuyen-mai__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px;
    }

    /* Image responsiveness for content images */
    .page-khuyen-mai img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    /* General content containers, cards, items */
    .page-khuyen-mai__section,
    .page-khuyen-mai__card,
    .page-khuyen-mai__container,
    .page-khuyen-mai__promo-card,
    .page-khuyen-mai__promo-item,
    .page-khuyen-mai__special-promo-card,
    .page-khuyen-mai__step-item,
    .page-khuyen-mai__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-khuyen-mai__promo-card-grid,
    .page-khuyen-mai__promo-grid,
    .page-khuyen-mai__special-promo-grid,
    .page-khuyen-mai__steps-grid {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-khuyen-mai__card-image {
        height: auto; /* Allow height to adjust */
        max-height: 200px; /* Maintain minimum visual size */
    }

    .page-khuyen-mai__card-title,
    .page-khuyen-mai__item-title,
    .page-khuyen-mai__step-title {
        font-size: 1.2em;
    }

    .page-khuyen-mai__item-icon {
        max-width: 150px; /* Adjust size for mobile, but still >200px equivalent for source */
    }

    .page-khuyen-mai__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-khuyen-mai__faq-answer {
        padding: 0 20px 15px 20px;
    }
    
    /* The following rules are for homepage-specific elements which are forbidden on non-homepage, 
       as per "非首页图片类型限制". Thus, they are not present in this page's HTML or CSS. */
    /* .page-khuyen-mai__home-content {} */
    /* .page-khuyen-mai__slider-wrapper {} */
    /* .page-khuyen-mai__slider-track {} */
    /* .page-khuyen-mai__game-slide {} */
    /* .page-khuyen-mai__banners-top-wrapper {} */
    /* .page-khuyen-mai__banner-item img {} */
    /* .page-khuyen-mai__blog-masonry {} */
    /* .page-khuyen-mai__blog-card-link {} */
    /* .page-khuyen-mai__btn-outline {} */
    /* .page-khuyen-mai__blog-slider-track {} */
    /* .page-khuyen-mai__blog-slide {} */
}