/* ===== Khuyen Mai Page Styles ===== */
.page-khuyen-mai {
    background: #0D0E12;
    color: #FFF3E6;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== Hero Section ===== */
.page-khuyen-mai__hero-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 16px 24px;
}

.page-khuyen-mai__hero-image-wrapper {
    max-width: 1020px;
    margin: 0 auto;
    background: linear-gradient(135deg, #FF8C1A 0%, #D96800 100%);
    border-radius: 16px;
    overflow: hidden;
}

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

.page-khuyen-mai__hero-content {
    text-align: center;
    padding: 20px 16px;
}

.page-khuyen-mai__main-title {
    font-size: clamp(1.4rem, 2.3vw, 2rem);
    font-weight: 800;
    line-height: 1.3;
    color: #FFB04D;
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.page-khuyen-mai__hero-subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1.1rem);
    color: #FFF3E6;
    max-width: 720px;
    margin: 0 auto 16px;
    opacity: 0.9;
}

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

/* ===== Buttons ===== */
.page-khuyen-mai__btn {
    display: inline-block;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(217, 104, 0, 0.4);
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-break: break-word;
}

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

.page-khuyen-mai__btn--secondary {
    background: transparent;
    border: 2px solid #FFA53A;
    color: #FFA53A;
    box-shadow: none;
}

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

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

/* ===== Promo Grid ===== */
.page-khuyen-mai__promo-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
}

.page-khuyen-mai__section-title {
    text-align: center;
    color: #FFB04D;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
    position: relative;
    padding-bottom: 12px;
}

.page-khuyen-mai__section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #FFA53A, #D96800);
    margin: 12px auto 0;
    border-radius: 2px;
}

.page-khuyen-mai__promo-card {
    display: flex;
    background: #17191F;
    border: 1px solid #A84F0C;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(255, 140, 26, 0.08);
}

.page-khuyen-mai__promo-image {
    width: 280px;
    min-width: 280px;
    height: 200px;
    object-fit: cover;
}

.page-khuyen-mai__promo-body {
    padding: 20px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.page-khuyen-mai__promo-title {
    color: #FFA53A;
    font-size: 1.1rem;
    margin: 0 0 8px;
}

.page-khuyen-mai__promo-desc {
    color: #FFF3E6;
    font-size: 0.9rem;
    margin: 8px 0 16px;
    line-height: 1.6;
    opacity: 0.88;
    flex: 1;
}

.page-khuyen-mai__link-more {
    color: #FFA53A;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.9rem;
    border-bottom: 2px solid transparent;
    transition: border-color 0.2s, color 0.2s;
}

.page-khuyen-mai__link-more:hover {
    color: #FFB04D;
    border-bottom-color: #FFB04D;
}

/* ===== Bonus Type Section ===== */
.page-khuyen-mai__bonus-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 32px;
}

.page-khuyen-mai__bonus-type {
    background: #17191F;
    border-left: 4px solid #FF8C1A;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 16px;
}

.page-khuyen-mai__bonus-type-title {
    color: #FFB04D;
    font-size: 1rem;
    margin: 0 0 10px;
}

.page-khuyen-mai__bonus-type-desc {
    font-size: 0.9rem;
    color: #FFF3E6;
    opacity: 0.88;
    line-height: 1.7;
    margin: 0;
}

/* ===== How To Section ===== */
.page-khuyen-mai__how-to-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 16px 32px;
}

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

.page-khuyen-mai__step-item {
    background: #17191F;
    border: 1px solid #A84F0C;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-khuyen-mai__step-title {
    color: #FFA53A;
    font-size: 1.05rem;
    margin-bottom: 12px;
}

.page-khuyen-mai__step-desc {
    font-size: 0.88rem;
    color: #FFF3E6;
    opacity: 0.9;
    text-align: left;
    margin-bottom: 16px;
    flex: 1;
    line-height: 1.6;
}

.page-khuyen-mai__btn--small {
    align-self: center;
}

.page-khuyen-mai__step-link {
    color: #FFA53A;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
}

/* ===== Terms Section ===== */
.page-khuyen-mai__terms-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px;
}

.page-khuyen-mai__terms-content {
    background: #17191F;
    border-radius: 12px;
    padding: 24px 32px;
    border: 1px solid #A84F0C;
}

.page-khuyen-mai__terms-text {
    color: #FFF3E6;
    font-size: 0.92rem;
    line-height: 1.7;
    opacity: 0.88;
}

.page-khuyen-mai__terms-list {
    margin: 16px 0 0;
    padding-left: 20px;
}

.page-khuyen-mai__terms-item {
    color: #FFF3E6;
    font-size: 0.9rem;
    line-height: 1.8;
    opacity: 0.88;
}

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

.page-khuyen-mai__faq-item {
    background: #17191F;
    border: 1px solid #A84F0C;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}

.page-khuyen-mai__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    cursor: pointer;
    list-style: none;
    gap: 12px;
    transition: background-color 0.2s;
}

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

.page-khuyen-mai__faq-question:hover {
    background: rgba(255, 138, 26, 0.08);
}

.page-khuyen-mai__faq-question-text {
    color: #FFF3E6;
    font-weight: 600;
    font-size: 0.94rem;
    line-height: 1.5;
}

.page-khuyen-mai__faq-toggle {
    width: 28px;
    height: 28px;
    min-width: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFA53A;
    background: rgba(255, 165, 58, 0.12);
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.2rem;
    line-height: 1;
}

.page-khuyen-mai__faq-answer {
    padding: 0 20px 16px;
    border-top: 1px solid rgba(168, 79, 12, 0.3);
    margin-top: 0;
}

.page-khuyen-mai__faq-answer-text {
    color: #D0DDE7;
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 12px;
}

/* ===== App Download Section ===== */
.page-khuyen-mai__app-download {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    padding: 24px 16px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 140, 26, 0.08), transparent 70%);
    border-radius: 20px;
}

.page-khuyen-mai__app-download-desc {
    font-size: 0.95rem;
    color: #FFF3E6;
    opacity: 0.88;
    margin: 0 0 20px;
}

.page-khuyen-mai__app-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    max-width: 100%;
}

/* ===== Support Section ===== */
.page-khuyen-mai__support-note {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 16px;
}

.page-khuyen-mai__support-text {
    color: #FFF3E6;
    font-size: 0.95rem;
    opacity: 0.88;
    margin: 0 0 20px;
}

/* ===== Responsive 1024 ===== */
@media (max-width: 1024px) {
    .page-khuyen-mai__promo-card {
        flex-direction: column;
    }
    .page-khuyen-mai__promo-image {
        width: 100%;
        min-width: 100%;
        height: auto;
        max-height: 300px;
        object-fit: cover;
    }
    .page-khuyen-mai__steps-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-khuyen-mai__step-item:last-child {
        grid-column: 1 / -1;
    }
}

/* ===== Responsive 768 ===== */
@media (max-width: 768px) {
    .page-khuyen-mai__hero-section {
        padding: 8px 12px 16px;
    }
    .page-khuyen-mai__hero-image {
        aspect-ratio: 16 / 9;
    }
    .page-khuyen-mai__hero-content {
        padding: 20px 8px;
    }
    .page-khuyen-mai__main-title {
        font-size: clamp(1.1rem, 3vw, 1.4rem);
    }
    .page-khuyen-mai__hero-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        max-width: 280px;
        margin: 0 auto;
    }
    .page-khuyen-mai__steps-grid {
        grid-template-columns: 1fr;
    }
    .page-khuyen-mai__step-item:last-child {
        grid-column: auto;
    }
    .page-khuyen-mai__app-buttons {
        flex-direction: column;
    }
    .page-khuyen-mai__promo-body {
        padding: 16px;
    }
    .page-khuyen-mai__btn {
        width: 100%;
        box-sizing: border-box;
    }
    .page-khuyen-mai img {
        max-width: 100% !important;
        height: auto !important;
    }
    .page-khuyen-mai__promo-card,
    .page-khuyen-mai__bonus-type,
    .page-khuyen-mai__terms-content {
        padding: 16px;
    }
}

/* ===== Prevent overflow 768 ===== */
@media (max-width: 768px) {
    .page-khuyen-mai__hero-actions .page-khuyen-mai__btn,
    .page-khuyen-mai__app-buttons .page-khuyen-mai__btn {
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin: 0 auto;
    }
}