:root {
    --primary-blue: #1877f2;
    --dark-blue: #0d5cb6;
    --light-blue-bg: #eef5fd;
    --card-border: #d0e3fa;
    --text-dark: #1e293b;
    --text-blue: #1565c0;
    --accent-orange: #ff6b00;
    --accent-red: #e53935;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: var(--light-blue-bg);
    color: var(--text-dark);
    overflow-x: hidden;
    padding-bottom: 70px; /* Chừa chỗ cho bottom nav trên mobile */
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 12px;
}

/* Ẩn hiện theo thiết bị */
.desktop-only { display: none; }
.mobile-only { display: flex; }

/* ================= HEADER ================= */
.main-header {
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(24, 119, 242, 0.12);
}

.header-inner {
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    height: 38px;
    object-fit: contain;
}

.logo-fallback {
    align-items: center;
    gap: 8px;
}

.logo-text {
    font-size: 28px;
    font-weight: 900;
    color: var(--primary-blue);
    letter-spacing: -1px;
}

.logo-slogan {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-blue);
    border-left: 1.5px solid #cbd5e1;
    padding-left: 6px;
    line-height: 1.2;
}

.auth-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-login {
    background: linear-gradient(180deg, #2b8eff 0%, #1565c0 100%);
    color: #fff;
    border: none;
    box-shadow: 0 2px 6px rgba(21, 101, 192, 0.3);
}

.btn-register {
    background: #ffffff;
    color: var(--primary-blue);
    border: 1.5px solid var(--primary-blue);
}

.btn:hover {
    transform: translateY(-1px);
    opacity: 0.92;
}

.mobile-menu-toggle {
    background: none;
    border: none;
    font-size: 22px;
    color: var(--primary-blue);
    cursor: pointer;
    padding: 4px;
}

/* ================= BANNER SLIDER ================= */
.banner-section {
    width: 100%;
    background: #dbeafe;
    position: relative;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.slide {
    min-width: 100%;
    user-select: none;
}

.slide img {
    width: 100%;
    height: 165px;
    object-fit: cover;
    display: block;
    background: linear-gradient(135deg, #3b82f6, #93c5fd); /* Nền tạm khi chưa có ảnh */
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.35);
    color: #fff;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.slider-arrow.prev { left: 8px; }
.slider-arrow.next { right: 8px; }

.slider-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    width: 18px;
    border-radius: 4px;
    background: #ffffff;
}

/* ================= THANH THÔNG BÁO MARQUEE ================= */
.announcement-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 6px 0;
}

.announcement-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

.speaker-icon {
    color: var(--primary-blue);
    font-size: 15px;
    flex-shrink: 0;
}

.marquee-box {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    padding-left: 100%;
    animation: marqueeAnim 18s linear infinite;
    font-size: 12px;
    font-weight: 700;
    color: #1e3a8a;
}

@keyframes marqueeAnim {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* ================= TIỆN ÍCH NHANH MOBILE ================= */
.mobile-quick-links {
    background: #ffffff;
    padding: 10px 6px;
    justify-content: space-between;
    border-bottom: 1px solid #dbeafe;
}

.quick-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}

.q-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: #eff6ff;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    border: 1px solid #bfdbfe;
}

.quick-item span {
    font-size: 9.5px;
    font-weight: 700;
    color: var(--text-blue);
}

/* ================= MENU CUỘN NGANG MOBILE ================= */
.category-carousel-section {
    background: linear-gradient(180deg, #2589ff 0%, #1565c0 100%);
    padding: 10px 24px;
    position: relative;
    align-items: center;
}

.category-scroll-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    width: 100%;
}

.category-scroll-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

.cat-item {
    min-width: 64px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: #dbeafe;
    transition: 0.2s;
}

.cat-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #ffffff;
}

.cat-item span {
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.cat-item.active .cat-box {
    background: linear-gradient(180deg, #ffd54f 0%, #ff8f00 100%);
    border-color: #ffffff;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.cat-item.active span {
    color: #ffeb3b;
}

.cat-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 16px;
    padding: 6px;
    cursor: pointer;
    z-index: 5;
}

.cat-scroll-btn.left { left: 2px; }
.cat-scroll-btn.right { right: 2px; }

/* ================= LƯỚI GAME (GAME GRID) ================= */
.main-content {
    padding-top: 12px;
    padding-bottom: 20px;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.game-card {
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid var(--card-border);
    box-shadow: 0 2px 6px rgba(21, 101, 192, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 14px rgba(24, 119, 242, 0.2);
}

.game-card-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    gap: 4px;
}

.provider-col {
    width: 44%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

.cat-tag {
    font-size: 9px;
    font-weight: 700;
    color: var(--primary-blue);
    background: #e0f2fe;
    padding: 2px 5px;
    border-radius: 4px;
    align-self: flex-start;
}

.provider-logo {
    width: 100%;
    max-height: 28px;
    object-fit: contain;
}

.thumb-col {
    width: 56%;
}

.game-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    object-fit: cover;
    display: block;
    background: #cbd5e1;
}

.game-title {
    background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--text-blue);
    font-size: 10px;
    font-weight: 800;
    text-align: center;
    padding: 5px 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border-top: 1px solid #e2e8f0;
}

/* ================= WIDGET NỔI BÊN PHẢI ================= */
.floating-widgets {
    position: fixed;
    right: 10px;
    bottom: 85px;
    z-index: 900;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.float-item {
    position: relative;
    background: #ffffff;
    border: 2px solid var(--primary-blue);
    border-radius: 50%;
    width: 52px;
    height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    text-align: center;
}

.cskh-box i {
    color: var(--accent-orange);
    font-size: 18px;
}

.cskh-box span {
    font-size: 8px;
    font-weight: 800;
    color: var(--primary-blue);
}

.event-box {
    background: radial-gradient(circle, #ffeb3b, #ff9800);
    border-color: #fff;
}

.event-badge {
    font-size: 11px;
    font-weight: 900;
    color: #b71c1c;
}

.close-float {
    position: absolute;
    top: -6px;
    left: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #475569;
    color: #fff;
    border: none;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
}

.scroll-top-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 3px 8px rgba(0,0,0,0.25);
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

/* ================= MOBILE BOTTOM NAVIGATION ================= */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: #2380e8;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.12);
}

.b-nav-item {
    position: relative;
    flex: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 7px;
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2px;
    z-index: 2;
}

.icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 26px;
    margin-bottom: 3px;
}

.icon-wrap i {
    font-size: 22px;
    color: #ffffff;
}

/* Nhãn HOT và 80% dạng bong bóng thoại màu vàng chữ đỏ */
.b-badge {
    position: absolute;
    top: -11px;
    right: -18px;
    background: #ffea28;
    color: #e61c1c;
    font-size: 8.5px;
    font-weight: 900;
    padding: 1.5px 5px;
    border-radius: 3px;
    line-height: 1.1;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

/* Mũi tên nhỏ dưới bong bóng thoại */
.b-badge::after {
    content: "";
    position: absolute;
    bottom: -3px;
    left: 4px;
    border-width: 3px 3px 0 0;
    border-style: solid;
    border-color: #ffea28 transparent transparent transparent;
}

/* Mục ở giữa (GIỚI THIỆU) có vòm tròn nhô lên liền màu nền */
.center-item {
    position: relative;
}

.center-dome {
    position: absolute;
    top: -16px;
    width: 66px;
    height: 54px;
    background: #2380e8;
    border-radius: 50% 50% 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 2px;
    z-index: -1;
}

.center-dome .share-sub-icon {
    font-size: 10px;
    margin-bottom: -2px;
    transform: rotate(-90deg);
}

.center-dome .fa-handshake {
    font-size: 22px;
}

/* ================= MODAL ĐĂNG NHẬP / ĐĂNG KÝ CHUẨN 4 ẢNH MẪU ================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(2px);
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 12px;
    overflow-y: auto;
}

.modal-overlay.show {
    display: flex;
}

.auth-modal-card {
    position: relative;
    width: 100%;
    max-width: 410px;
    background: linear-gradient(180deg, #ffffff 0%, #f1f5f9 85%, #ffffff 100%);
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
    padding: 16px 20px 22px;
    animation: modalPop 0.22s ease-out;
    margin: auto;
}

@keyframes modalPop {
    from { transform: scale(0.94); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Nút X tròn viền xanh góc phải */
.auth-close-btn {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #2b8eff;
    background: #ffffff;
    color: #2b8eff;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: 0.2s;
}

.auth-close-btn:hover {
    background: #2b8eff;
    color: #ffffff;
}

/* Header Mobile */
.auth-pc-header { display: none; }
.pc-only-block { display: none; }
.pc-icon, .pc-lbl-icon { display: none; }

.auth-mobile-header {
    text-align: center;
    padding-bottom: 12px;
    margin: 0 -20px 16px;
    border-bottom: 1px solid #cbd5e1;
}

.auth-mobile-header h3 {
    font-size: 17px;
    font-weight: 600;
    color: #1e293b;
}

/* Nhãn trên Mobile có dấu sao xanh */
.m-label, .field-label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.req-star {
    color: #2380e8;
    margin-right: 2px;
}

.field-item {
    margin-bottom: 12px;
}

/* Ô input dạng viên thuốc (Pill) nền xám trên Mobile */
.input-pill {
    position: relative;
    display: flex;
    align-items: center;
    background: #dcdcdc;
    border: 1px solid #b8b8b8;
    border-radius: 24px;
    height: 42px;
    padding: 0 16px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-pill:focus-within {
    border-color: #2380e8;
    box-shadow: 0 0 0 2px rgba(35, 128, 232, 0.2);
}

.input-pill input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 13.5px;
    color: #1e293b;
    outline: none;
}

.input-pill input::placeholder {
    color: #8c8c8c;
}

.toggle-pass-btn {
    background: none;
    border: none;
    color: #7a7a7a;
    font-size: 16px;
    cursor: pointer;
    padding-left: 8px;
}

/* Thông báo lỗi validation */
.error-msg {
    display: block;
    color: #e53935;
    font-size: 11px;
    font-weight: 600;
    margin-top: 4px;
    padding-left: 10px;
    min-height: 14px;
}

/* Checkbox điều khoản */
.terms-check-row {
    margin: 8px 0 14px;
}

.terms-label {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    font-size: 12.5px;
    color: #1e293b;
    cursor: pointer;
    line-height: 1.4;
}

.terms-label input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #2380e8;
    margin-top: 2px;
    flex-shrink: 0;
}

.terms-label a {
    color: #e53935;
    font-weight: 600;
}

/* Nút Submit xanh dương bo tròn */
.btn-auth-submit {
    width: 78%;
    margin: 4px auto 0;
    display: block;
    height: 44px;
    border-radius: 25px;
    border: none;
    background: linear-gradient(90deg, #4da3ff 0%, #1565c0 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(21, 101, 192, 0.35);
    transition: transform 0.15s, opacity 0.2s;
}

.btn-auth-submit:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* Dòng kẻ ĐĂNG NHẬP NHANH */
.quick-login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 16px 0 10px;
    color: #334155;
    font-size: 11.5px;
    font-weight: 600;
}

.quick-login-divider::before,
.quick-login-divider::after {
    content: "";
    flex: 1;
    border-bottom: 1px dashed #94a3b8;
}

.quick-login-divider span {
    padding: 0 10px;
}

.google-login-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.btn-google-icon {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.switch-auth-text {
    text-align: center;
    font-size: 12.5px;
    color: #334155;
    margin-bottom: 14px;
}

.switch-auth-text a {
    color: #2380e8;
    font-weight: 700;
    margin-left: 4px;
}

/* 2 nút lấy lại mật khẩu */
.forgot-pass-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.btn-forgot {
    background: #8bbcf7;
    color: #ffffff;
    border: none;
    border-radius: 20px;
    padding: 8px 6px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    cursor: pointer;
}

/* Banner Tải 1.1.1.1 */
.promo-1111-box {
    text-align: center;
}

.banner-1111 {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(90deg, #e0f2fe 0%, #bae6fd 50%, #e0f2fe 100%);
    border: 2px solid #ff7043;
    border-radius: 8px;
    padding: 4px 18px;
    margin-bottom: 4px;
}

.banner-1111 .icon-14 {
    background: linear-gradient(135deg, #ec4899, #f59e0b);
    color: #fff;
    font-weight: 900;
    font-size: 13px;
    padding: 2px 5px;
    border-radius: 4px;
}

.banner-1111 .txt-tai {
    font-size: 18px;
    font-weight: 900;
    color: #0f172a;
}

.banner-1111 .txt-1111 {
    font-size: 18px;
    font-weight: 900;
    color: #e53935;
}

.banner-1111 .txt-1111 b:nth-child(even) {
    color: #1e88e5;
}

.promo-1111-box p {
    font-size: 11.5px;
    font-weight: 700;
    color: #1e293b;
}

/* ================= GIAO DIỆN MODAL TRÊN MÁY TÍNH (>= 768px) ================= */
@media (min-width: 768px) {
    .auth-modal-card {
        max-width: 480px;
        padding: 26px 36px 28px;
    }

    /* Khi mở tab Đăng ký trên PC: mở rộng thành 2 cột như ảnh 2 */
    .auth-modal-card.is-register-pc {
        max-width: 760px;
        padding: 26px 44px 30px;
    }

    .auth-mobile-header,
    .m-label,
    .req-star {
        display: none;
    }

    .auth-pc-header {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-bottom: 22px;
    }

    .auth-logo-img {
        height: 48px;
        object-fit: contain;
    }

    .auth-logo-fallback {
        align-items: center;
        gap: 10px;
    }

    .auth-logo-fallback .f-brand {
        font-size: 42px;
        font-weight: 900;
        color: #2380e8;
        letter-spacing: -1px;
    }

    .auth-logo-fallback .f-sub {
        font-size: 12px;
        font-weight: 800;
        color: #2380e8;
        border-left: 2px solid #93c5fd;
        padding-left: 10px;
        line-height: 1.25;
    }

    .pc-only-block {
        display: block;
    }

    /* Ô input nền trắng có viền xám nhạt giống ảnh 1 & 2 */
    .input-pill {
        background: #ffffff;
        border: 1px solid #cbd5e1;
        height: 44px;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    }

    .pc-icon {
        display: inline-block;
        color: #2380e8;
        font-size: 17px;
        margin-right: 12px;
        width: 20px;
        text-align: center;
    }

    /* Bố cục 2 cột cho form Đăng ký trên PC */
    .reg-grid-wrap {
        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 28px;
        row-gap: 6px;
    }

    .field-label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: #334155;
        margin-bottom: 8px;
    }

    .pc-lbl-icon {
        display: inline-block;
        color: #2380e8;
        font-size: 18px;
    }

    .field-hint {
        display: block;
        font-size: 11px;
        color: #475569;
        margin-top: 5px;
        line-height: 1.35;
    }

    .security-note {
        text-align: center;
        font-size: 12.5px;
        font-weight: 800;
        color: #0f172a;
        line-height: 1.45;
        margin: 8px 0 14px;
    }

    .btn-auth-submit {
        width: 100%;
        height: 46px;
        background: #2380e8;
    }

    .is-register-pc .btn-auth-submit {
        width: 82%;
    }

    .terms-label a {
        color: #2380e8;
    }
}

/* =====================================================================
   GIAO DIỆN MÁY TÍNH (DESKTOP >= 992px)
   ===================================================================== */
@media (min-width: 992px) {
    body {
        padding-bottom: 30px;
    }

    .desktop-only { display: block; }
    .mobile-only { display: none !important; }

    .header-inner {
        height: 74px;
    }

    .site-logo {
        height: 52px;
    }

    .logo-text { font-size: 40px; }
    .logo-slogan { font-size: 12px; }

    .btn {
        padding: 9px 24px;
        font-size: 14px;
    }

    .lang-flag {
        width: 34px;
        height: 34px;
        border-radius: 50%;
        background: #da251d;
        color: #ffff00;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 14px;
        margin-left: 6px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    }

    /* Thanh Navigation xanh dương ngang trên PC */
    .desktop-nav {
        background: linear-gradient(180deg, #278eff 0%, #1565c0 100%);
    }

    .desktop-nav-list {
        list-style: none;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .desktop-nav-list li {
        position: relative;
    }

    .desktop-nav-list li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        padding: 10px 8px;
        color: #ffffff;
        font-size: 11.5px;
        font-weight: 700;
        transition: 0.2s;
    }

    .desktop-nav-list li a i {
        font-size: 17px;
    }

    .desktop-nav-list li:hover,
    .desktop-nav-list li.active {
        background: rgba(255, 255, 255, 0.16);
    }

    .desktop-nav-list li.active a {
        color: #ffeb3b;
    }

    .desktop-nav-list .badge {
        position: absolute;
        top: 3px;
        right: 2px;
        font-style: normal;
        font-size: 8px;
        padding: 1px 4px;
        border-radius: 4px;
        color: #fff;
    }

    .badge-hot { background: var(--accent-red); }
    .badge-percent { background: var(--accent-orange); }

    /* Banner PC lớn hơn */
    .slide img {
        height: 400px;
    }

    /* Thanh thông báo PC bo góc nằm trong khung container */
    .announcement-bar {
        background: transparent;
        border: none;
        margin-top: 14px;
    }

    .announcement-inner {
        background: #ffffff;
        border-radius: 10px;
        padding: 10px 16px;
        box-shadow: 0 3px 10px rgba(24, 119, 242, 0.1);
        border: 1px solid #dbeafe;
    }

    .marquee-content {
        font-size: 14px;
    }

    .btn-all-news {
        background: var(--primary-blue);
        color: #fff;
        border: none;
        padding: 6px 16px;
        border-radius: 6px;
        font-size: 12px;
        font-weight: 700;
        cursor: pointer;
    }

    /* Khung Đại Sứ Thương Hiệu & Video */
.ambassador-banner {
    position: relative;
    width: 100%;
    height: 330px;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 24px;
    border: 2px solid #7cc4ff;
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.16);
    background: linear-gradient(90deg, #ffffff 0%, #b8e1ff 60%, #7cc4ff 100%);
}

/* Hình 2: Ảnh nền phủ toàn khung */
.amb-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.amb-inner {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px 0 32px;
    gap: 20px;
}

/* Khu vực bên trái chứa ảnh đại sứ & thông tin */
.amb-left {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 16px;
}

/* Hình 3: Nhân vật đứng chạm đáy khung */
.amb-person {
    height: 94%;
    width: auto;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.15));
}

.amb-info {
    align-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Hình 4: Chữ LEWANDOWSKI */
.amb-name-img {
    width: 240px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 4px;
}

/* Hình 5: Chữ ký */
.amb-sign-img {
    height: 75px;
    width: auto;
    object-fit: contain;
    margin-bottom: 6px;
}

.amb-role {
    font-size: 16px;
    font-weight: 800;
    color: #1565c0;
    line-height: 1.3;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

.amb-year {
    font-size: 15px;
    font-weight: 800;
    color: #1976d2;
    margin-top: 2px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Khu vực bên phải chứa khung Video */
.amb-right {
    width: 48%;
    height: 86%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.amb-video-box {
    width: 100%;
    height: 100%;
    background: #000000;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.amb-video-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
    /* Lưới game 5 cột trên PC */
    .game-grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 14px;
    }

    .game-card-body {
        padding: 10px;
    }

    .cat-tag {
        font-size: 11px;
        padding: 3px 8px;
    }

    .provider-logo {
        max-height: 38px;
    }

    .game-title {
        font-size: 13px;
        padding: 8px 6px;
    }

    .floating-widgets {
        bottom: 30px;
        right: 20px;
    }
}