/* Base styles for the Khuyến mãi page */
.page-khuyen-mai {
    font-family: 'Arial', sans-serif;
    color: #FFF6D6; /* Text Main */
    background: #0A0A0A; /* Background */
}

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

/* Hero Section */
.page-khuyen-mai__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding as body handles header offset */
    padding-bottom: 40px;
    overflow: hidden;
    background: #0A0A0A;
}

.page-khuyen-mai__hero-image {
    width: 100%;
    max-height: 500px; /* Limit height for desktop hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

.page-khuyen-mai__hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover; /* Cover the area, may crop sides */
}

.page-khuyen-mai__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
    position: relative; /* Ensure content is above any potential background elements */
}

.page-khuyen-mai__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFD36B; /* Glow */
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.5);
}

.page-khuyen-mai__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 30px;
    color: #FFF6D6;
    line-height: 1.6;
}

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

.page-khuyen-mai__btn-primary,
.page-khuyen-mai__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-khuyen-mai__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for contrast */
    border: none;
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.4);
}

.page-khuyen-mai__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(242, 193, 78, 0.6);
    opacity: 0.9;
}

.page-khuyen-mai__btn-secondary {
    background: transparent;
    color: #FFD36B; /* Glow */
    border: 2px solid #FFD36B; /* Glow */
}

.page-khuyen-mai__btn-secondary:hover {
    background: rgba(255, 211, 107, 0.1);
    transform: translateY(-3px);
    color: #FFF6D6;
}

/* General Section Styles */
.page-khuyen-mai__section {
    padding: 60px 0;
    background: #0A0A0A;
}

.page-khuyen-mai__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: #F2C14E; /* Main color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-khuyen-mai__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #FFD36B; /* Glow */
    border-radius: 2px;
}

.page-khuyen-mai__text-block {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #FFF6D6;
    text-align: justify;
}

.page-khuyen-mai__highlight {
    color: #FFD36B;
    font-weight: 600;
}

/* Promo Types Grid */
.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-card {
    background: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-khuyen-mai__promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(242, 193, 78, 0.2);
}

.page-khuyen-mai__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    display: block;
}

.page-khuyen-mai__card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #F2C14E; /* Main color */
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-khuyen-mai__card-description {
    font-size: 0.95rem;
    color: #FFF6D6;
    line-height: 1.7;
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-khuyen-mai__btn-card {
    display: inline-block;
    padding: 10px 20px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111; /* Dark text for contrast */
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-khuyen-mai__btn-card:hover {
    opacity: 0.9;
    box-shadow: 0 3px 10px rgba(242, 193, 78, 0.4);
}

/* Terms Section */
.page-khuyen-mai__terms-section .page-khuyen-mai__container {
    max-width: 900px;
}

.page-khuyen-mai__terms-list {
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 10px;
    padding: 30px;
    margin-top: 40px;
}

.page-khuyen-mai__terms-heading {
    font-size: 1.25rem;
    color: #FFD36B; /* Glow */
    margin-bottom: 10px;
    margin-top: 25px;
}

.page-khuyen-mai__terms-heading:first-of-type {
    margin-top: 0;
}

.page-khuyen-mai__text-block strong {
    color: #F2C14E;
}

.page-khuyen-mai__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-khuyen-mai__cta-wrapper .page-khuyen-mai__btn-primary {
    padding: 12px 25px;
    font-size: 1rem;
}

/* How-to-Claim Section */
.page-khuyen-mai__steps-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
}

.page-khuyen-mai__step-item {
    background: #111111;
    border: 1px solid #3A2A12;
    border-radius: 8px;
    padding: 20px 25px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #FFF6D6;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-khuyen-mai__step-item strong {
    color: #F2C14E;
}

.page-khuyen-mai__step-item a.page-khuyen-mai__link-text {
    color: #FFD36B;
    text-decoration: underline;
}

.page-khuyen-mai__step-item a.page-khuyen-mai__link-text:hover {
    color: #FFF6D6;
}

/* FAQ Section */
.page-khuyen-mai__faq-list {
    margin-top: 40px;
}

details.page-khuyen-mai__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #3A2A12; /* Border */
    overflow: hidden;
    background: #111111; /* Card BG */
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

details.page-khuyen-mai__faq-item summary.page-khuyen-mai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
}

details.page-khuyen-mai__faq-item summary.page-khuyen-mai__faq-question::-webkit-details-marker {
    display: none;
}

details.page-khuyen-mai__faq-item summary.page-khuyen-mai__faq-question:hover {
    background: rgba(242, 193, 78, 0.1);
}

.page-khuyen-mai__faq-qtext {
    flex: 1;
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #F2C14E; /* Main color */
}

.page-khuyen-mai__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #FFD36B; /* Glow */
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}

details.page-khuyen-mai__faq-item .page-khuyen-mai__faq-answer {
    padding: 0 25px 20px;
    background: rgba(17, 17, 17, 0.8); /* Slightly transparent for depth */
    border-radius: 0 0 8px 8px;
    color: #FFF6D6;
    font-size: 1rem;
    line-height: 1.7;
}

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

/* Conclusion Section */
.page-khuyen-mai__conclusion-section .page-khuyen-mai__cta-buttons {
    margin-top: 30px;
}

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

    .page-khuyen-mai__main-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .page-khuyen-mai__subtitle {
        font-size: clamp(0.9rem, 1.8vw, 1.15rem);
    }

    .page-khuyen-mai__section-title {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
    }

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

    .page-khuyen-mai__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-khuyen-mai__promo-card {
        padding: 20px;
    }

    .page-khuyen-mai__card-title {
        font-size: 1.25rem;
    }

    .page-khuyen-mai__card-description {
        font-size: 0.9rem;
    }

    .page-khuyen-mai__btn-primary,
    .page-khuyen-mai__btn-secondary {
        padding: 12px 25px;
        font-size: 1rem;
    }

    .page-khuyen-mai__terms-list,
    .page-khuyen-mai__steps-list,
    .page-khuyen-mai__faq-list {
        padding: 20px;
    }

    .page-khuyen-mai__terms-heading {
        font-size: 1.15rem;
    }

    .page-khuyen-mai__step-item {
        font-size: 1rem;
        padding: 18px 20px;
    }

    .page-khuyen-mai__faq-qtext {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    /* HERO 主图区域 */
    .page-khuyen-mai__hero-section {
        padding-top: 10px;
        padding-bottom: 30px;
    }

    .page-khuyen-mai__hero-image img {
        object-fit: contain !important; /* Mobile: contain, not cover */
        aspect-ratio: unset !important; /* Mobile: unset aspect ratio */
        max-height: 300px !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-khuyen-mai__hero-content {
        padding: 0 15px;
    }

    .page-khuyen-mai__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem);
        margin-bottom: 10px;
    }

    .page-khuyen-mai__subtitle {
        font-size: clamp(0.9rem, 3.5vw, 1.1rem);
        margin-bottom: 25px;
    }

    /* 按钮与按钮容器 */
    .page-khuyen-mai__cta-buttons {
        flex-direction: column; /* Vertical stack for buttons */
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-khuyen-mai__btn-primary,
    .page-khuyen-mai__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* 通用图片与容器 */
    .page-khuyen-mai img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-khuyen-mai__section,
    .page-khuyen-mai__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* 产品展示图区域 (Promo Grid) */
    .page-khuyen-mai__promo-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns for mobile */
        gap: 15px;
        overflow-x: hidden;
    }

    .page-khuyen-mai__promo-card {
        padding: 15px;
    }

    .page-khuyen-mai__card-image {
        height: 150px;
    }

    .page-khuyen-mai__card-title {
        font-size: 1.1rem;
    }

    .page-khuyen-mai__card-description {
        font-size: 0.85rem;
    }

    .page-khuyen-mai__btn-card {
        padding: 8px 15px;
        font-size: 0.85rem;
    }

    /* 装饰主标题 + 长文 SEO 区 */
    .page-khuyen-mai__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
        text-align: center;
    }

    .page-khuyen-mai__section-title::after {
        width: 60px;
    }

    .page-khuyen-mai__text-block {
        font-size: 0.95rem;
        line-height: 1.7;
        text-align: left; /* Default to left for mobile readability */
    }

    .page-khuyen-mai__terms-list,
    .page-khuyen-mai__steps-list,
    .page-khuyen-mai__faq-list {
        padding: 0;
    }

    .page-khuyen-mai__terms-heading {
        font-size: 1.1rem;
        margin-top: 20px;
    }

    .page-khuyen-mai__step-item {
        font-size: 0.95rem;
        padding: 15px;
    }

    /* FAQ */
    details.page-khuyen-mai__faq-item summary.page-khuyen-mai__faq-question {
        padding: 15px;
    }
    .page-khuyen-mai__faq-qtext {
        font-size: 1rem;
    }
    .page-khuyen-mai__faq-toggle {
        font-size: 20px;
        width: 24px;
    }
    details.page-khuyen-mai__faq-item .page-khuyen-mai__faq-answer {
        padding: 0 15px 15px;
    }
}