/* ===== Khuyến Mãi Page Styles ===== */
.page-khuyen-mai {
    background: #0D0E12;
    color: #FFF3E6;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Hero Section */
.page-khuyen-mai__hero-section {
    padding: 10px 0 0;
}

.page-khuyen-mai__hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 17 / 5;
    object-fit: cover;
    display: block;
    border-radius: 8px;
}

.page-khuyen-mai__hero-content {
    text-align: center;
    padding: 20px 16px 0;
    max-width: 900px;
    margin: 0 auto;
}

.page-khuyen-mai__hero-title {
    color: #FFF3E6;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.5px;
    max-width: 800px;
    margin: 0 auto 12px;
}

.page-khuyen-mai__hero-desc {
    color: #FFF3E6;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 auto 20px;
}

/* Buttons */
.page-khuyen-mai__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-khuyen-mai__btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 176, 77, 0.3);
}

.page-khuyen-mai__btn--primary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #0D0E12;
}

.page-khuyen-mai__btn--secondary {
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #0D0E12;
}

.page-khuyen-mai__btn--outline {
    background: transparent;
    border: 2px solid #FF8C1A;
    color: #FF8C1A;
}

.page-khuyen-mai__btn--outline:hover {
    background: rgba(255, 140, 26, 0.1);
}

/* Promo Grid */
.page-khuyen-mai__promo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding: 40px 16px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-khuyen-mai__promo-card {
    background: #17191F;
    border: 1px solid #A84F0C;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
}

.page-khuyen-mai__promo-card:hover {
    transform: translateY(-4px);
    border-color: #FF8C1A;
}

.page-khuyen-mai__promo-title {
    color: #FFB04D;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.page-khuyen-mai__promo-text {
    color: #FFF3E6;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Steps Section */
.page-khuyen-mai__steps-section {
    padding: 48px 16px;
    background: #17191F;
    border-top: 1px solid #A84F0C;
    border-bottom: 1px solid #A84F0C;
}

.page-khuyen-mai__steps-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #FFB04D;
    margin-bottom: 40px;
}

.page-khuyen-mai__steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.page-khuyen-mai__step-item {
    text-align: center;
    padding: 24px;
}

.page-khuyen-mai__step-number {
    display: inline-block;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #0D0E12;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    margin-bottom: 16px;
    font-size: 1rem;
}

.page-khuyen-mai__step-name a {
    color: #FFF3E6;
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 700;
    transition: color 0.2s;
}

.page-khuyen-mai__step-name a:hover {
    color: #FF8C1A;
}

.page-khuyen-mai__step-desc {
    color: #FFF3E6;
    line-height: 1.6;
    margin-top: 10px;
}

/* FAQ Section */
.page-khuyen-mai__faq-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 16px;
}

.page-khuyen-mai__faq-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    color: #FFB04D;
    margin-bottom: 32px;
}

.page-khuyen-mai__faq-item {
    background: #17191F;
    border: 1px solid #A84F0C;
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 0 20px;
}

.page-khuyen-mai__faq-question {
    color: #FFF3E6;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 20px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}

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

.page-khuyen-mai__faq-toggle {
    display: inline-block;
    width: 28px;
    height: 28px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #0D0E12;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-left: 12px;
}

.page-khuyen-mai__faq-answer {
    color: #FFF3E6;
    line-height: 1.7;
    padding-bottom: 20px;
    border-top: 1px solid rgba(168, 79, 12, 0.3);
    padding-top: 16px;
}

/* Guide Section */
.page-khuyen-mai__guide-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 16px 56px;
    text-align: center;
}

.page-khuyen-mai__guide-title {
    color: #FFB04D;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.page-khuyen-mai__guide-figure {
    margin: 0 auto 24px;
}

.page-khuyen-mai__guide-image {
    width: 100%;
    max-width: 800px;
    aspect-ratio: 2 / 1;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #A84F0C;
}

.page-khuyen-mai__guide-text {
    color: #FFF3E6;
    line-height: 1.8;
    text-align: left;
    margin-bottom: 24px;
}

/* ===== Mobile: Tablets & Phones ===== */
@media (max-width: 768px) {
    .page-khuyen-mai__hero-section {
        padding-top: 10px;
    }

    .page-khuyen-mai__hero-image {
        aspect-ratio: 2 / 1;
    }

    .page-khuyen-mai__hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .page-khuyen-mai__hero-desc {
        font-size: 1rem;
    }

    .page-khuyen-mai__promo-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 32px 12px;
    }

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

    .page-khuyen-mai__promo-title {
        font-size: 1.35rem;
    }

    .page-khuyen-mai__steps-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .page-khuyen-mai__steps-title {
        font-size: 1.6rem;
        margin-bottom: 24px;
    }

    .page-khuyen-mai__step-item {
        padding: 16px;
    }

    .page-khuyen-mai__faq-section {
        padding: 32px 12px;
    }

    .page-khuyen-mai__faq-title {
        font-size: 1.6rem;
    }

    .page-khuyen-mai__faq-item {
        padding: 0 16px;
    }

    .page-khuyen-mai__guide-section {
        padding: 16px 12px 40px;
    }

    .page-khuyen-mai__guide-title {
        font-size: 1.5rem;
    }

    .page-khuyen-mai__guide-text {
        font-size: 0.95rem;
    }

    /* Prevent overflow on mobile */
    .page-khuyen-mai img {
        max-width: 100% !important;
        height: auto !important;
    }

    .page-khuyen-mai, 
    .page-khuyen-mai__hero-section,
    .page-khuyen-mai__promo-grid,
    .page-khuyen-mai__steps-section,
    .page-khuyen-mai__faq-section,
    .page-khuyen-mai__guide-section {
        max-width: 100%;
        overflow-x: hidden;
    }

    .page-khuyen-mai__btn {
        max-width: 100%;
        box-sizing: border-box;
        white-space: normal;
        word-wrap: break-word;
        padding: 12px 20px;
    }

    .page-khuyen-mai__btn--outline {
        padding: 10px 20px;
    }
}

@media (max-width: 1024px) {
    .page-khuyen-mai__hero-image {
        aspect-ratio: 16 / 5;
    }

    .page-khuyen-mai__promo-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}