/* ===== Khuyến Mãi Page Styles ===== */

.page-khuyen-mai {
    color: #333333;
    background-color: #ffffff;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
}

/* ---- Hero Banner ---- */
.page-khuyen-mai__hero-section {
    display: flex;
    flex-direction: column;
    background: #0D0E12;
    padding: 10px 0 0 0;
    margin-top: 0;
}

.page-khuyen-mai__hero-image-wrap {
    width: 100%;
    display: block;
    order: 1;
}

.page-khuyen-mai__hero-image {
    width: 100%;
    max-width: 1020px;
    aspect-ratio: 17 / 5;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

.page-khuyen-mai__hero-content {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 24px 16px 32px;
    text-align: center;
    order: 2;
}

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

.page-khuyen-mai__hero-description {
    color: #D0DDE7;
    max-width: 700px;
    margin: 0 auto 24px auto;
    font-size: 1.05rem;
}

.page-khuyen-mai__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* ---- Buttons ---- */
.page-khuyen-mai__btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 40px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform 0.2s, opacity 0.2s;
    font-size: 1rem;
    line-height: 1.3;
    box-sizing: border-box;
}

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

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

.page-khuyen-mai__btn--secondary {
    background: #17191F;
    color: #FFF3E6;
    border-color: #A84F0C;
}

.page-khuyen-mai__btn--secondary:hover {
    background: #2A2D35;
}

/* ---- Stats Section ---- */
.page-khuyen-mai__stats-section {
    background: #17191F;
    padding: 36px 16px;
}

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

.page-khuyen-mai__stat-item {
    text-align: center;
    padding: 16px;
}

.page-khuyen-mai__stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: #FFA53A;
}

.page-khuyen-mai__stat-label {
    display: block;
    color: #D0DDE7;
    font-size: 0.95rem;
}

/* ---- Featured Promotions ---- */
.page-khuyen-mai__featured-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 16px;
}

.page-khuyen-mai__section-header {
    text-align: center;
    margin-bottom: 32px;
}

.page-khuyen-mai__section-title {
    color: #A84F0C;
    font-size: 1.9rem;
    font-weight: 800;
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 4vw, 2rem);
}

.page-khuyen-mai__section-subtitle {
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.page-khuyen-mai__promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.page-khuyen-mai__promo-card {
    background: #17191F;
    border: 1px solid #333;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-khuyen-mai__promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.page-khuyen-mai__promo-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.page-khuyen-mai__promo-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.page-khuyen-mai__promo-title {
    color: #FFF3E6;
    font-size: 1.2rem;
    margin: 0 0 8px;
    line-height: 1.4;
}

.page-khuyen-mai__promo-desc {
    color: #D0DDE7;
    font-size: 0.95rem;
    flex-grow: 1;
}

.page-khuyen-mai__promo-code {
    background: #333;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: monospace;
    color: #FFA53A;
    font-weight: 700;
    margin: 8px 0 16px;
    display: inline-block;
    border: 1px dashed #A84F0C;
}

/* ---- Other Promo Section ---- */
.page-khuyen-mai__other-section {
    background: #17191F;
    padding: 40px 16px;
}

.page-khuyen-mai__other-header {
    text-align: center;
    margin-bottom: 24px;
}

.page-khuyen-mai__other-title {
    color: #FFF3E6;
    font-size: 1.5rem;
    font-weight: 800;
}

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

.page-khuyen-mai__bonus-card {
    background: #0D0E12;
    border: 1px solid #A84F0C;
    padding: 24px;
    border-radius: 12px;
    text-align: center;
}

.page-khuyen-mai__bonus-title {
    color: #FFA53A;
    font-size: 1.2rem;
    margin: 0 0 12px;
}

.page-khuyen-mai__bonus-desc {
    color: #D0DDE7;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

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

.page-khuyen-mai__guide-title {
    color: #A84F0C;
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 0 16px;
}

.page-khuyen-mai__guide-lead {
    text-align: center;
    color: #555;
    max-width: 650px;
    margin: 0 auto 40px auto;
    font-size: 1.05rem;
}

.page-khuyen-mai__guide-steps {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-khuyen-mai__guide-step {
    background: #f5f5f5;
    padding: 24px;
    border-left: 4px solid #D96800;
    border-radius: 0 8px 8px 0;
}

.page-khuyen-mai__guide-step-title {
    color: #17191F;
    margin-top: 0;
    font-size: 1.2rem;
}

.page-khuyen-mai__guide-step p {
    color: #333333;
}

.page-khuyen-mai__guide-link {
    display: inline-block;
    margin-top: 12px;
    color: #D96800;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #FFA53A;
    padding-bottom: 2px;
}

.page-khuyen-mai__guide-link:hover {
    color: #A84F0C;
}

/* ---- Responsive Styles ---- */
@media (max-width: 768px) {
    .page-khuyen-mai__hero-image {
        aspect-ratio: 2 / 1;
    }

    .page-khuyen-mai__stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .page-khuyen-mai__promo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .page-khuyen-mai__promo-card {
        max-width: 100%;
    }

    .page-khuyen-mai__other-grid {
        grid-template-columns: 1fr;
    }

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

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

    .page-khuyen-mai__hero-actions {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        box-sizing: border-box;
        flex-direction: column;
        align-items: center;
    }

    .page-khuyen-mai__btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}