*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* Ẩn scrollbar nhưng giữ khả năng cuộn */
html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    position: relative;
    touch-action: pan-y;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}

body {
    font-family: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "kern" 1, "liga" 1;
    background-color: #030611;
    background-image: 
        linear-gradient(180deg, rgba(3, 8, 22, 0.56) 0%, rgba(4, 12, 30, 0.48) 45%, rgba(3, 6, 17, 0.86) 100%),
        url('../../image/bg-stadium-pique.webp');
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #f8fafc;
    letter-spacing: -0.005em;
    line-height: 1.55;
    overflow-y: auto;
    min-height: 100vh;
}

button, input, select, textarea, h1, h2, h3, h4, h5, h6 {
    font-family: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

main {
    padding-bottom: 80px;
}

html {
    scroll-behavior: smooth;
}

/* Kỹ thuật Ẩn Nội Dung SEO dành riêng cho Crawler Bot */
.seo-crawler-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* SPLASH SCREEN OPTIMIZED (250ms) */
.splash-screen {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #030307;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 1;
    transition: opacity 0.25s ease-out, filter 0.25s ease-out;
    will-change: opacity, filter;
}

.splash-screen.fade-out {
    opacity: 0;
    filter: blur(8px);
    pointer-events: none;
}

.splash-screen.hidden {
    display: none !important;
}

.cyber-spinner {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.08);
    border-top-color: #38bdf8;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.splash-text {
    font-size: clamp(16px, 3.5vw, 22px);
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ENTERPRISE NAVBAR & LED NEON LOGO EFFECT */
.desktop-header {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(3, 3, 7, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    height: 72px;
    align-items: center;
    justify-content: center;
}

.desktop-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.desktop-logo img, .mobile-logo img, .home-logo, .modal-logo {
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(0, 163, 255, 0.45));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.desktop-logo img:hover, .home-logo:hover {
    filter: drop-shadow(0 3px 18px rgba(0, 163, 255, 0.75));
}

.desktop-logo img { height: 40px; width: auto; }
.mobile-logo img { height: 32px; width: auto; }

/* VIDEO ĐẠI SỨ THƯƠNG HIỆU XX88 KÈM VIỀN CHẠY PHÁT SÁNG UY TÍN */
.hero-video-showcase {
    width: 100%;
    max-width: 740px;
    margin: 0 auto 26px;
    padding: 0 4px;
}

.hero-video-glow-frame {
    position: relative;
    width: 100%;
    padding: 3.5px;
    border-radius: 22px;
    overflow: hidden;
    background: rgba(14, 165, 233, 0.18);
    box-shadow:
        0 0 28px rgba(0, 195, 255, 0.45),
        0 0 60px rgba(245, 158, 11, 0.18),
        0 20px 50px rgba(0, 0, 0, 0.85);
    animation: pulseVideoAura 3.2s ease-in-out infinite alternate;
}

/* Luồng ánh sáng chạy phát sáng xoay 360 độ bo quanh viền video */
.hero-video-glow-frame::before {
    content: "";
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background: conic-gradient(
        from 0deg,
        transparent 0deg,
        rgba(0, 210, 255, 0.25) 40deg,
        #00f2fe 85deg,
        #ffffff 95deg,
        #fbbf24 125deg,
        transparent 165deg,
        transparent 180deg,
        rgba(0, 210, 255, 0.25) 220deg,
        #38bdf8 265deg,
        #ffffff 275deg,
        #f59e0b 305deg,
        transparent 345deg,
        transparent 360deg
    );
    animation: spinGlowBorder 4s linear infinite;
    z-index: 0;
}

@keyframes spinGlowBorder {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulseVideoAura {
    0% {
        box-shadow:
            0 0 24px rgba(0, 195, 255, 0.42),
            0 0 50px rgba(245, 158, 11, 0.15),
            0 18px 45px rgba(0, 0, 0, 0.85);
    }
    100% {
        box-shadow:
            0 0 38px rgba(56, 189, 248, 0.68),
            0 0 75px rgba(251, 191, 36, 0.28),
            0 22px 55px rgba(0, 0, 0, 0.9);
    }
}

.hero-video-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 19px;
    overflow: hidden;
    background: #030611;
    display: block;
    line-height: 0;
}

.hero-official-video {
    width: 100%;
    height: auto;
    max-height: 430px;
    object-fit: cover;
    display: block;
    border-radius: 19px;
    cursor: pointer;
}

.video-verified-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(3, 6, 17, 0.72);
    border: 1px solid rgba(56, 189, 248, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #f8fafc;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    pointer-events: none;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5);
}

.verified-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: bcrPulseDot 1.5s infinite;
}

.video-sound-toggle {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(3, 6, 17, 0.78);
    border: 1px solid rgba(56, 189, 248, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.video-sound-toggle:hover {
    background: rgba(14, 165, 233, 0.85);
    border-color: #ffffff;
    transform: scale(1.04);
}

.modal-logo { height: 42px; width: auto; margin: 0 auto 16px; }

.desktop-nav {
    display: flex;
    gap: 32px;
    align-items: center;
}

.desktop-nav a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
    transition: all 0.2s ease;
    padding: 24px 0;
    cursor: pointer;
    white-space: nowrap;
    position: relative;
}

.desktop-nav a:hover, .desktop-nav a.active {
    color: #38bdf8;
}

.desktop-nav a.active::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #38bdf8, #818cf8);
    border-radius: 2px;
    box-shadow: 0 0 8px #38bdf8;
}

.desktop-register {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 10px 22px;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #0b0f19;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45), 0 0 12px rgba(251, 191, 36, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.7);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    animation: vipGlowPulse 3s infinite ease-in-out;
}

.desktop-register .btn-reg-icon {
    width: 17px;
    height: 17px;
    fill: #0b0f19;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.desktop-register::before, .mobile-register::before, .btn-home::before, .modal-btn-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform: skewX(-25deg);
    animation: btnSheenSweep 3.5s infinite ease-in-out;
}

@keyframes btnSheenSweep {
    0% { left: -120%; }
    30%, 100% { left: 220%; }
}

@keyframes vipGlowPulse {
    0%, 100% {
        box-shadow: 0 4px 18px rgba(245, 158, 11, 0.45), 0 0 12px rgba(251, 191, 36, 0.25);
    }
    50% {
        box-shadow: 0 4px 26px rgba(245, 158, 11, 0.75), 0 0 20px rgba(255, 215, 0, 0.55);
    }
}

.desktop-register:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 28px rgba(245, 158, 11, 0.75), 0 0 22px rgba(251, 191, 36, 0.55);
    color: #000000;
}

.desktop-register:hover .btn-reg-icon {
    transform: rotate(20deg) scale(1.15);
}

.mobile-top-bar {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%;
    background: rgba(3, 6, 17, 0.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.12);
    z-index: 1001;
    padding: 12px 20px;
    justify-content: space-between;
    align-items: center;
}

.mobile-register {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 45%, #d97706 100%);
    border: 1px solid rgba(255, 255, 255, 0.4);
    padding: 7px 16px;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.3px;
    color: #0b0f19;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    box-shadow: 0 3px 14px rgba(245, 158, 11, 0.45), inset 0 1px 1px rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

.mobile-register .btn-reg-icon {
    width: 14px;
    height: 14px;
    fill: #0b0f19;
    flex-shrink: 0;
}

.nav-item-reg-mobile {
    color: #fbbf24 !important;
}
.nav-item-reg-mobile svg {
    fill: #fbbf24 !important;
}
.nav-item-reg-mobile:hover, .nav-item-reg-mobile.active {
    color: #ffd700 !important;
}

/* MARQUEE RUNNING TEXT */
.top-marquee-container {
    position: fixed;
    left: 0; width: 100%;
    background: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 0;
    z-index: 999;
    overflow: hidden;
    white-space: nowrap;
}

@media (min-width: 1025px) { .top-marquee-container { top: 72px; } }
@media (max-width: 1024px) { .top-marquee-container { top: 57px; } }

.top-marquee-text {
    display: inline-block;
    padding-left: 100%;
    animation: topMarqueeScroll 28s linear infinite;
    will-change: transform;
}

@keyframes topMarqueeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

/* BOTTOM MOBILE NAVIGATION */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0; left: 0; width: 100%;
    background: rgba(3, 3, 7, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    justify-content: space-around;
    align-items: center;
    padding: 10px 8px calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 999;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    flex: 1;
}

.nav-item svg { width: 18px; height: 18px; fill: #64748b; transition: fill 0.2s; }
.nav-item span { font-size: 11px; font-weight: 600; color: #94a3b8; }
.nav-item.active svg { fill: #38bdf8; }
.nav-item.active span { color: #38bdf8; }

@media (min-width: 1025px) { .desktop-header { display: flex !important; } }
@media (max-width: 1024px) { 
    .mobile-top-bar, .bottom-nav { display: flex !important; } 
    .section {
        min-height: auto;
        padding: 110px 4% 60px;
        align-items: flex-start;
    }
}

/* SECTION HERO & CONTENT */
.section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 135px 1.5% 70px;
    position: relative;
}

.home-banner {
    background: radial-gradient(ellipse at center 35%, rgba(3, 8, 22, 0.18) 0%, rgba(3, 6, 17, 0.62) 85%);
}

.home-content {
    text-align: center;
    max-width: 1120px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 0;
}

.home-logo-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: transparent;
}

.home-slogan {
    font-size: clamp(20px, 3.2vw, 34px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 26px;
    line-height: 1.3;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.92), 0 0 24px rgba(14, 165, 233, 0.45);
}

.btn-home {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #06b6d4 100%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 15px 48px;
    font-size: clamp(15px, 3vw, 17px);
    font-weight: 800;
    letter-spacing: 0.02em;
    border-radius: 10px;
    cursor: pointer;
    color: #ffffff;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-home:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 16px 36px rgba(56, 189, 248, 0.6), 0 0 20px rgba(6, 182, 212, 0.4);
}

/* SERVER TITLE & LIVE TAG SANG TRỌNG */
.server-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
    margin-bottom: 24px;
}

.server-live-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #38bdf8;
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
    text-transform: uppercase;
}

.server-live-tag .live-dot {
    width: 7px;
    height: 7px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: livePulseDot 1.6s infinite ease-in-out;
}

@keyframes livePulseDot {
    0%, 100% { transform: scale(1); opacity: 1; box-shadow: 0 0 8px #22c55e; }
    50% { transform: scale(1.35); opacity: 0.7; box-shadow: 0 0 16px #22c55e; }
}

.server-title {
    font-size: 14px;
    font-weight: 700;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* BENTO FLAG GRID & HIỆU ỨNG CỜ BAY TRONG GIÓ */
.flag-section { width: 100%; position: relative; perspective: 1000px; }

.flag-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 12px;
    position: relative;
}

.flag-item {
    background: linear-gradient(145deg, rgba(15, 23, 42, 0.72), rgba(7, 11, 24, 0.82));
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 14px 6px 12px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    border-radius: 13px;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s, border-color 0.28s;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    will-change: transform, box-shadow;
}

.flag-item:hover {
    background: linear-gradient(145deg, rgba(22, 34, 62, 0.85), rgba(11, 19, 39, 0.95));
    border-color: rgba(56, 189, 248, 0.5);
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 28px -5px rgba(56, 189, 248, 0.3), 0 0 20px rgba(56, 189, 248, 0.15), inset 0 1px 1px rgba(255, 255, 255, 0.2);
    z-index: 5;
}

.flag-item.fiery-ring {
    border: 1.5px solid #f59e0b;
    background: radial-gradient(circle at center, rgba(245, 158, 11, 0.25) 0%, rgba(11, 16, 32, 0.95) 80%);
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.45), 0 0 30px rgba(239, 68, 68, 0.3);
    animation: fieryPulse 2s infinite alternate ease-in-out;
}

@keyframes fieryPulse {
    0% { border-color: rgba(245, 158, 11, 0.7); box-shadow: 0 0 15px rgba(245, 158, 11, 0.4); }
    100% { border-color: rgba(239, 68, 68, 1); box-shadow: 0 0 24px rgba(239, 68, 68, 0.65); }
}

/* HIỆU ỨNG LÁ CỜ GIÓ THỔI BAY PHẤP PHỚI 3D */
.flag-item .flag-box {
    width: 54px; 
    height: 36px;
    overflow: hidden;
    border-radius: 2px 5px 5px 2px;
    position: relative;
    /* Cột cờ kim loại cố định bên mép trái */
    border-left: 2.5px solid #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6), inset 0 0 4px rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: left center;
    transform-style: preserve-3d;
    animation: flagWindWave 2.8s ease-in-out infinite;
    will-change: transform;
}

.flag-item .flag-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform-origin: left center;
    animation: flagClothDistort 2.8s ease-in-out infinite;
}

/* Nếp sóng lụa sáng & bóng đổ chạy dọc theo chiều gió */
.flag-item .flag-box::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.28) 0%,
        rgba(255, 255, 255, 0.48) 22%,
        rgba(0, 0, 0, 0.32) 45%,
        rgba(255, 255, 255, 0.52) 70%,
        rgba(0, 0, 0, 0.28) 90%,
        rgba(255, 255, 255, 0.15) 100%
    );
    background-size: 200% 100%;
    mix-blend-mode: overlay;
    animation: clothFoldShine 2.8s ease-in-out infinite;
}

.flag-item .flag-box::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, transparent 60%, rgba(0, 0, 0, 0.35) 100%);
}

/* Keyframes cờ uốn lượn bay phấp phới */
@keyframes flagWindWave {
    0% {
        transform: perspective(400px) rotateY(0deg) skewY(0deg) scaleX(1);
    }
    25% {
        transform: perspective(400px) rotateY(-11deg) skewY(3.2deg) scaleX(0.97) translateY(-1px);
    }
    50% {
        transform: perspective(400px) rotateY(7deg) skewY(-2.5deg) scaleX(0.99) translateY(1px);
    }
    75% {
        transform: perspective(400px) rotateY(-8deg) skewY(2deg) scaleX(0.98) translateY(-0.5px);
    }
    100% {
        transform: perspective(400px) rotateY(0deg) skewY(0deg) scaleX(1);
    }
}

@keyframes flagClothDistort {
    0%, 100% { filter: brightness(1) contrast(1); }
    25% { filter: brightness(1.08) contrast(1.06); }
    50% { filter: brightness(0.94) contrast(1.02); }
    75% { filter: brightness(1.05) contrast(1.05); }
}

@keyframes clothFoldShine {
    0% { background-position: -150% 0; }
    50% { background-position: 50% 0; }
    100% { background-position: 250% 0; }
}

/* ĐỘ LỆCH THỜI GIAN GIỮA CÁC LÁ CỜ ĐỂ KHÔNG BỊ TRÙNG LẶP */
.flag-item:nth-child(2n) .flag-box,
.flag-item:nth-child(2n) .flag-box img,
.flag-item:nth-child(2n) .flag-box::before {
    animation-delay: -0.4s;
    animation-duration: 2.5s;
}

.flag-item:nth-child(3n) .flag-box,
.flag-item:nth-child(3n) .flag-box img,
.flag-item:nth-child(3n) .flag-box::before {
    animation-delay: -1.1s;
    animation-duration: 3.1s;
}

.flag-item:nth-child(4n) .flag-box,
.flag-item:nth-child(4n) .flag-box img,
.flag-item:nth-child(4n) .flag-box::before {
    animation-delay: -1.7s;
    animation-duration: 2.7s;
}

.flag-item:nth-child(5n) .flag-box,
.flag-item:nth-child(5n) .flag-box img,
.flag-item:nth-child(5n) .flag-box::before {
    animation-delay: -2.3s;
    animation-duration: 2.9s;
}

.flag-item:nth-child(7n) .flag-box,
.flag-item:nth-child(7n) .flag-box img,
.flag-item:nth-child(7n) .flag-box::before {
    animation-delay: -0.8s;
    animation-duration: 3.3s;
}

/* Tăng tốc độ gió thổi khi rê chuột vào */
.flag-item:hover .flag-box {
    animation-duration: 1.3s !important;
    transform: perspective(400px) rotateY(-13deg) skewY(3.8deg) scale(1.04);
}
.flag-item:hover .flag-box::before {
    animation-duration: 1.3s !important;
}

.flag-item .country-name { 
    font-size: 12px; 
    font-weight: 600; 
    color: #e2e8f0;
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* CỘT SÓNG ĐIỆN THOẠI & SỐ PING NHẢY NHƯ THẬT */
.flag-ping-info {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}

.signal-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 12px;
}

.signal-bars .bar {
    width: 2.5px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 1px;
    transition: background-color 0.25s, box-shadow 0.25s;
}

.signal-bars .bar:nth-child(1) { height: 3px; }
.signal-bars .bar:nth-child(2) { height: 6px; }
.signal-bars .bar:nth-child(3) { height: 9px; }
.signal-bars .bar:nth-child(4) { height: 12px; }

/* 4 Cấp độ sóng viễn thông động */
.signal-bars.level-4 .bar {
    background-color: #22c55e;
    box-shadow: 0 0 4px rgba(34, 197, 94, 0.6);
}

.signal-bars.level-3 .bar:nth-child(1),
.signal-bars.level-3 .bar:nth-child(2),
.signal-bars.level-3 .bar:nth-child(3) {
    background-color: #38bdf8;
    box-shadow: 0 0 4px rgba(56, 189, 248, 0.6);
}
.signal-bars.level-3 .bar:nth-child(4) {
    background-color: rgba(255, 255, 255, 0.18);
}

.signal-bars.level-2 .bar:nth-child(1),
.signal-bars.level-2 .bar:nth-child(2) {
    background-color: #eab308;
    box-shadow: 0 0 4px rgba(234, 179, 8, 0.6);
}
.signal-bars.level-2 .bar:nth-child(3),
.signal-bars.level-2 .bar:nth-child(4) {
    background-color: rgba(255, 255, 255, 0.18);
}

.signal-bars.level-1 .bar:nth-child(1) {
    background-color: #f97316;
    box-shadow: 0 0 4px rgba(249, 115, 22, 0.6);
}
.signal-bars.level-1 .bar:nth-child(2),
.signal-bars.level-1 .bar:nth-child(3),
.signal-bars.level-1 .bar:nth-child(4) {
    background-color: rgba(255, 255, 255, 0.18);
}

/* SỐ PING VỚI HIỆU ỨNG NHẢY CHÂN THỰC */
.ping-text {
    color: #38bdf8;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: -0.01em;
    display: inline-block;
    transition: color 0.25s ease;
    will-change: transform;
}

.ping-text.ping-fast {
    color: #4ade80;
    text-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

.ping-text.ping-medium {
    color: #38bdf8;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.4);
}

.ping-text.ping-slow {
    color: #fbbf24;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.ping-text.ping-jump {
    animation: pingTickJump 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes pingTickJump {
    0% { transform: scale(1); }
    50% { transform: scale(1.22); filter: brightness(1.35); }
    100% { transform: scale(1); }
}

/* HIỆU ỨNG BẢO TRÌ VÀ Ổ KHÓA MỜ */
.flag-item.maintenance {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(0.85);
    background: rgba(15, 23, 42, 0.7);
}

.maintenance-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(3, 6, 17, 0.86);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    z-index: 5;
    gap: 4px;
}

.maintenance-overlay svg {
    width: 17px;
    height: 17px;
    fill: #ef4444;
    filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.5));
}

.maintenance-overlay span {
    font-size: 9px;
    font-weight: 800;
    color: #ef4444;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

@media (max-width: 1200px) { .flag-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 900px) { .flag-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { 
    .flag-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; } 
    .flag-item { padding: 9px 4px 8px; border-radius: 10px; }
    .flag-item .flag-box { width: 46px; height: 30px; border-radius: 2px 4px 4px 2px; }
    .flag-item .country-name { font-size: 11px; }
    .flag-ping-info { font-size: 9.5px; gap: 4px; }
    .maintenance-overlay svg { width: 14px; height: 14px; }
    .maintenance-overlay span { font-size: 8px; }
    .hero-video-showcase { max-width: 100%; margin-bottom: 18px; }
    .hero-video-glow-frame { border-radius: 16px; padding: 2.5px; }
    .hero-video-inner, .hero-official-video { border-radius: 14px; }
    .video-verified-badge { top: 8px; left: 8px; padding: 4px 9px; font-size: 9.5px; }
    .video-sound-toggle { bottom: 8px; right: 8px; padding: 5px 10px; font-size: 11px; }
    .home-slogan { font-size: clamp(17px, 4.5vw, 24px); margin-bottom: 20px; }
    .btn-home { padding: 12px 32px; font-size: 14px; }
    .server-title-wrapper { margin-top: 32px; margin-bottom: 16px; }
    .server-title { font-size: 12px; }
}

/* GAME HOT SECTION */
.gamehot-section { 
    background: linear-gradient(180deg, rgba(3, 6, 17, 0.72) 0%, rgba(3, 6, 17, 0.88) 100%); 
    width: 100%;
    display: block !important;
    min-height: auto;
    padding: 90px 4% 80px;
}

.gamehot-container { 
    max-width: 1240px; 
    width: 100%; 
    margin: 0 auto; 
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.hotgame-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 10px;
}

.hotgame-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(160deg, #0e172e 0%, #070c1a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s, box-shadow 0.28s;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    will-change: transform, box-shadow;
}

.hotgame-card .img-wrapper {
    position: relative;
    width: 100%;
    padding-top: 100%;
    overflow: hidden;
    background: #040711;
}

.hotgame-card .img-wrapper img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotgame-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 163, 255, 0.55);
    box-shadow: 0 16px 36px -5px rgba(0, 163, 255, 0.28), 0 0 20px rgba(0, 163, 255, 0.16);
}

.hotgame-card:hover .img-wrapper img { transform: scale(1.07); }

.online-badge {
    position: absolute;
    top: 10px; right: 10px;
    background: rgba(7, 12, 26, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.online-badge .dot {
    width: 6px; height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    box-shadow: 0 0 8px #22c55e;
    animation: livePulseDot 1.6s infinite ease-in-out;
}

.online-badge span { font-size: 11px; font-weight: 700; color: #f8fafc; }

.hotgame-info {
    padding: 14px 16px;
    text-align: left;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hotgame-name { 
    font-size: 14.5px; 
    font-weight: 700; 
    color: #f1f5f9; 
    line-height: 1.38;
    transition: color 0.2s ease;
    word-break: normal;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.hotgame-card:hover .hotgame-name {
    color: #00c6ff;
}

@media (max-width: 1024px) { 
    .hotgame-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } 
}
@media (max-width: 640px) {
    .hotgame-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .hotgame-info { padding: 10px 12px; }
    .hotgame-name { font-size: 12.5px; min-height: 35px; }
}

.section-title { text-align: center; }
.section-title h2 { 
    font-size: clamp(22px, 4.5vw, 32px); 
    font-weight: 800; 
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.right-title { font-size: 14.5px; text-align: center; margin-top: 10px; color: #94a3b8; font-weight: 500; }

/* SECTION BADGE */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    color: #38bdf8;
    letter-spacing: 0.12em;
    margin-bottom: 8px;
}

/* THANH TAB PHÂN LOẠI DANH MỤC GAME */
.game-category-tabs {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 28px 0 24px;
    overflow-x: auto;
    padding: 6px 4px 12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.game-category-tabs::-webkit-scrollbar { display: none; }

.cat-tab {
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    color: #94a3b8;
    padding: 9px 18px;
    border-radius: 24px;
    font-size: 13.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-tab:hover {
    color: #ffffff;
    border-color: rgba(56, 189, 248, 0.4);
    background: rgba(22, 34, 62, 0.85);
    transform: translateY(-2px);
}

.cat-tab.active {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* CARD PLAY OVERLAY KHI DI CHUỘT */
.card-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 18, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.28s ease, transform 0.28s ease;
    transform: scale(0.92);
    pointer-events: none;
    z-index: 2;
}

.hotgame-card:hover .card-play-overlay {
    opacity: 1;
    transform: scale(1);
}

.play-btn-circle {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38bdf8, #0284c7);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.8);
    border: 2px solid #ffffff;
}

.play-btn-circle svg {
    width: 22px;
    height: 22px;
    fill: #ffffff;
    margin-left: 3px;
}

.play-btn-text {
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* BADGE TRẠNG THÁI GAME */
.game-tag-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.05em;
    z-index: 3;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.game-tag-badge.hot {
    background: linear-gradient(135deg, #ef4444, #f97316);
    color: #ffffff;
}

.game-tag-badge.jackpot {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    animation: fieryPulse 1.8s infinite alternate;
}

.game-tag-badge.vip {
    background: linear-gradient(135deg, #8b5cf6, #ec4899);
    color: #ffffff;
}

.game-tag-badge.thethao {
    background: linear-gradient(135deg, #06b6d4, #0284c7);
    color: #ffffff;
}

/* THÔNG TIN CARD CHI TIẾT */
.hotgame-header-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.rtp-tag {
    font-size: 10.5px;
    font-weight: 700;
    color: #22c55e;
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.hotgame-footer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    color: #94a3b8;
}

.provider-tag {
    color: #64748b;
    font-weight: 600;
}

.jackpot-mini strong {
    color: #f59e0b;
}

/* 1. BẢNG TÍCH LŨY MEGA JACKPOT THỜI GIAN THỰC */
.mega-jackpot-banner {
    position: relative;
    margin-top: 48px;
    background: linear-gradient(145deg, rgba(20, 27, 45, 0.85) 0%, rgba(9, 13, 26, 0.95) 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 30px rgba(245, 158, 11, 0.2), inset 0 1px 1px rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px 24px 28px;
    text-align: center;
    overflow: hidden;
}

.jackpot-glow-aura {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 100%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.25) 0%, transparent 70%);
    pointer-events: none;
}

.jackpot-top-bar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.35);
    border-radius: 30px;
    margin-bottom: 16px;
}

.jackpot-cup { font-size: 16px; }

.jackpot-title-text {
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.14em;
    color: #fbbf24;
    text-transform: uppercase;
}

.jackpot-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 800;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
    border-radius: 12px;
    padding: 2px 8px;
}

.jackpot-value-box {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 10px;
    margin: 10px 0 14px;
}

.jackpot-currency-symbol {
    font-size: clamp(16px, 3.5vw, 24px);
    font-weight: 800;
    color: #f59e0b;
}

.jackpot-odometer {
    font-size: clamp(28px, 6.5vw, 54px);
    font-weight: 900;
    letter-spacing: 0.04em;
    color: #fbbf24;
    text-shadow: 0 0 25px rgba(245, 158, 11, 0.7), 0 2px 5px rgba(0, 0, 0, 0.8);
    font-family: 'Be Vietnam Pro', 'Inter', monospace;
    font-variant-numeric: tabular-nums;
    transition: all 0.2s ease;
}

.jackpot-odometer.ticking {
    transform: scale(1.03);
    color: #fde047;
    text-shadow: 0 0 35px rgba(253, 224, 71, 0.9);
}

.jackpot-description {
    font-size: 13.5px;
    color: #94a3b8;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.5;
}

/* 2. THANH VINH DANH NGƯỜI THẮNG LỚN (LIVE WINNERS STRIP) */
.live-winners-strip {
    margin-top: 24px;
    display: flex;
    align-items: center;
    background: rgba(11, 17, 34, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 14px;
    padding: 10px 16px;
    overflow: hidden;
    gap: 16px;
}

.winners-badge-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 800;
    color: #38bdf8;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.winners-carousel-track {
    overflow: hidden;
    width: 100%;
    position: relative;
    mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}

.winners-scroll-container {
    display: flex;
    gap: 20px;
    white-space: nowrap;
    animation: winnersTickerScroll 28s linear infinite;
    will-change: transform;
}

@keyframes winnersTickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.winner-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.chip-user { color: #cbd5e1; font-weight: 600; }
.chip-game { color: #64748b; font-size: 11px; }
.chip-win { color: #22c55e; font-weight: 800; text-shadow: 0 0 8px rgba(34, 197, 94, 0.5); }

/* 3. BENTO 4 ĐIỂM SÁNG VƯỢT TRỘI */
.features-bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 40px;
}

.feature-card {
    background: linear-gradient(150deg, rgba(15, 23, 42, 0.7) 0%, rgba(7, 11, 24, 0.8) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(14px);
    border-radius: 18px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.28s, box-shadow 0.28s;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 14px 30px -5px rgba(56, 189, 248, 0.25), 0 0 15px rgba(56, 189, 248, 0.1);
}

.feature-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

.feature-icon-wrapper svg { width: 24px; height: 24px; }

.speed-icon { background: rgba(56, 189, 248, 0.15); border: 1px solid rgba(56, 189, 248, 0.4); }
.speed-icon svg { fill: #38bdf8; }

.security-icon { background: rgba(34, 197, 94, 0.15); border: 1px solid rgba(34, 197, 94, 0.4); }
.security-icon svg { fill: #22c55e; }

.gift-icon { background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.4); }
.gift-icon svg { fill: #f59e0b; }

.support-icon { background: rgba(168, 85, 247, 0.15); border: 1px solid rgba(168, 85, 247, 0.4); }
.support-icon svg { fill: #c084fc; }

.feature-heading {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}

.feature-body {
    font-size: 13px;
    color: #94a3b8;
    line-height: 1.55;
    margin-bottom: 16px;
    flex-grow: 1;
}

.feature-pill {
    font-size: 10px;
    font-weight: 800;
    color: #cbd5e1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 3px 8px;
    border-radius: 6px;
    letter-spacing: 0.05em;
}

/* 4. BANNER VIP THAM GIA NGAY */
.vip-invitation-banner {
    margin-top: 40px;
    background: linear-gradient(135deg, #091630 0%, #0c1c3d 50%, #081125 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.35);
    border-radius: 20px;
    padding: 32px 36px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.2);
    position: relative;
    overflow: hidden;
}

.vip-invitation-banner::before {
    content: '';
    position: absolute;
    top: 0; right: 0;
    width: 350px; height: 100%;
    background: radial-gradient(circle at 100% 50%, rgba(56, 189, 248, 0.18) 0%, transparent 70%);
    pointer-events: none;
}

.vip-badge-tag {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #f59e0b;
    margin-bottom: 10px;
}

.vip-banner-headline {
    font-size: clamp(20px, 4vw, 26px);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.vip-banner-sub {
    font-size: 14px;
    color: #cbd5e1;
    max-width: 780px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.vip-banner-btn {
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 50%, #06b6d4 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 13px 32px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14.5px;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(56, 189, 248, 0.45);
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
}

.vip-banner-btn svg { width: 18px; height: 18px; fill: #ffffff; transition: transform 0.2s; }

.vip-banner-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(56, 189, 248, 0.65);
}

.vip-banner-btn:hover svg { transform: translateX(3px); }

/* RESPONSIVE MOBILE CHO KHU VỰC GAME & PHẦN DƯỚI */
@media (max-width: 1024px) {
    .features-bento-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media (max-width: 640px) {
    .game-category-tabs {
        justify-content: flex-start;
        padding-left: 4px;
        padding-right: 4px;
    }
    .cat-tab {
        padding: 7px 14px;
        font-size: 12.5px;
    }
    .mega-jackpot-banner {
        padding: 22px 14px 20px;
        margin-top: 32px;
        border-radius: 16px;
    }
    .jackpot-top-bar {
        padding: 4px 12px;
        gap: 6px;
    }
    .jackpot-title-text { font-size: 10.5px; }
    .jackpot-description { font-size: 12px; }
    .features-bento-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .feature-card {
        padding: 18px 16px;
    }
    .vip-invitation-banner {
        padding: 22px 18px;
        border-radius: 16px;
    }
    .vip-banner-btn {
        width: 100%;
        justify-content: center;
    }
}

/* POPUP MODAL VIP SANG TRỌNG - HIỆU ỨNG KÍNH FROSTED GLASS TRANSLUCENT */
.modal-overlay {
    position: fixed;
    inset: 0;
    width: 100%; height: 100%;
    background: rgba(2, 6, 18, 0.40);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    background: linear-gradient(135deg, rgba(12, 28, 56, 0.48) 0%, rgba(5, 14, 30, 0.58) 100%);
    backdrop-filter: blur(28px) saturate(210%);
    -webkit-backdrop-filter: blur(28px) saturate(210%);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-top: 1px solid rgba(255, 255, 255, 0.45);
    border-left: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 
        0 28px 65px -10px rgba(0, 0, 0, 0.75), 
        0 0 45px rgba(0, 163, 255, 0.22), 
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        inset 0 -1px 2px rgba(0, 163, 255, 0.15);
    border-radius: 26px;
    max-width: 540px;
    width: 100%;
    padding: 34px 28px 28px;
    text-align: center;
    position: relative;
    transform: scale(0.92) translateY(10px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.modal-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(255, 255, 255, 0.8) 50%, transparent 95%);
    pointer-events: none;
}

.modal-overlay.active .modal-box {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 16px; right: 16px;
    width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    color: #cbd5e1;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 10;
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    color: #ffffff;
    border-color: rgba(239, 68, 68, 0.6);
    transform: rotate(90deg) scale(1.05);
}

.modal-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 14px;
}

.modal-logo {
    display: block;
    margin: 0 auto;
    max-width: 175px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 163, 255, 0.45));
}

.modal-box h2.modal-title {
    font-size: clamp(17px, 3.2vw, 21px);
    font-weight: 800;
    color: #38bdf8;
    margin-bottom: 18px;
    text-transform: uppercase;
    text-shadow: 0 0 16px rgba(56, 189, 248, 0.5);
    line-height: 1.35;
    letter-spacing: 0.03em;
}

.modal-notices-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
    text-align: left;
}

.glass-notice-card {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    padding: 13px 15px;
    transition: background 0.25s, border-color 0.25s;
}

.glass-notice-card:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 163, 255, 0.35);
}

.notice-icon-badge {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.icon-shield {
    background: rgba(0, 163, 255, 0.15);
    border: 1px solid rgba(0, 163, 255, 0.35);
}

.icon-shield svg {
    width: 17px;
    height: 17px;
    fill: #00c6ff;
}

.icon-gift {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
}

.icon-gift svg {
    width: 17px;
    height: 17px;
    fill: #f59e0b;
}

.notice-card-text {
    font-size: 13.5px;
    color: #e2e8f0;
    line-height: 1.55;
    flex: 1;
}

.notice-card-text strong {
    color: #00c6ff;
    font-weight: 700;
}

.notice-card-text .highlight-gold {
    color: #fbbf24;
    font-weight: 700;
}

.modal-btn-action {
    background: linear-gradient(135deg, #0095e8 0%, #00b4d8 50%, #0077b6 100%);
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    padding: 14px 28px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
    letter-spacing: 0.04em;
}

.modal-btn-action:hover {
    background: linear-gradient(135deg, #38bdf8 0%, #0095e8 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 180, 216, 0.7), 0 0 20px rgba(0, 163, 255, 0.4);
}

.modal-btn-action svg {
    transition: transform 0.25s ease;
}

.modal-btn-action:hover svg {
    transform: translateX(3px);
}

@media (max-width: 480px) {
    .modal-box {
        padding: 24px 18px 20px;
        border-radius: 20px;
    }
    .modal-logo {
        max-width: 145px;
    }
    .notice-card-text {
        font-size: 12.5px;
    }
    .modal-btn-action {
        font-size: 13.5px;
        padding: 12px 20px;
    }
}

footer {
    background: #020308;
    text-align: center;
    padding: 36px 5%;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

footer p { font-size: 13px; color: #64748b; margin: 4px 0; }
footer .social-icons { display: flex; justify-content: center; gap: 16px; margin-top: 14px; }
footer .social-icons a { color: #64748b; font-size: 18px; text-decoration: none; transition: color 0.2s; }
footer .social-icons a:hover { color: #38bdf8; }

/* ================================================================ */
/* NÚT TRÒN TELEGRAM NỔI BẬT GÓC MÀN HÌNH CHUYỂN HƯỚNG @CSKHxx88FB  */
/* ================================================================ */
.telegram-float-container {
    position: fixed;
    bottom: 30px;
    right: 28px;
    z-index: 9999;
    display: flex;
    align-items: center;
}

@media (max-width: 1024px) {
    .telegram-float-container {
        bottom: 84px; /* Nằm ngay trên mobile bottom bar, không bị che */
        right: 18px;
    }
}

.telegram-btn-link {
    position: relative;
    display: flex;
    align-items: center;
    text-decoration: none;
    outline: none;
    cursor: pointer;
}

/* Biểu tượng tròn Telegram màu xanh phát sáng */
.telegram-circle-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2aabee 0%, #229ed9 45%, #0088cc 80%, #006da8 100%);
    border: 2px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 
        0 10px 25px rgba(0, 136, 204, 0.65), 
        0 0 25px rgba(42, 171, 238, 0.5), 
        inset 0 2px 2px rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 4;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: telegramGentleFloat 3.6s ease-in-out infinite;
}

.telegram-svg-icon {
    width: 31px;
    height: 31px;
    margin-right: 3px;
    margin-top: 1px;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.35));
    transition: transform 0.3s ease;
}

/* Các tầng sóng xung kích radar phát ra liên tục */
.telegram-wave-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 58px;
    height: 58px;
    margin-top: -29px;
    margin-left: -29px;
    border-radius: 50%;
    background: rgba(42, 171, 238, 0.45);
    pointer-events: none;
    z-index: 1;
    animation: telegramRadarWave 3s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}

.telegram-wave-pulse.pulse-2 {
    animation-delay: 1s;
}

.telegram-wave-pulse.pulse-3 {
    animation-delay: 2s;
}

@keyframes telegramRadarWave {
    0% {
        transform: scale(0.9);
        opacity: 0.85;
        box-shadow: 0 0 0 0 rgba(42, 171, 238, 0.8);
    }
    70% {
        transform: scale(2.2);
        opacity: 0;
        box-shadow: 0 0 25px 15px rgba(42, 171, 238, 0);
    }
    100% {
        transform: scale(2.3);
        opacity: 0;
    }
}

@keyframes telegramGentleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

/* Hiệu ứng khi rê chuột vào nút Telegram */
.telegram-btn-link:hover .telegram-circle-icon {
    transform: scale(1.12) translateY(-3px);
    background: linear-gradient(135deg, #3ac2ff 0%, #29b2fa 45%, #009be6 100%);
    box-shadow: 
        0 14px 35px rgba(0, 136, 204, 0.85), 
        0 0 35px rgba(56, 189, 248, 0.7);
}

.telegram-btn-link:hover .telegram-svg-icon {
    transform: rotate(-12deg) scale(1.08);
}

@media (max-width: 640px) {
    .telegram-circle-icon {
        width: 50px;
        height: 50px;
    }
    .telegram-svg-icon {
        width: 26px;
        height: 26px;
    }
    .telegram-wave-pulse {
        width: 50px;
        height: 50px;
        margin-top: -25px;
        margin-left: -25px;
    }
}

/* ==========================================================================
   TOOL DỰ ĐOÁN BACCARAT AI SIÊU CẤP - LUXURY CASINO STYLING
   ========================================================================== */

/* 1. Header & Bottom Nav Enhancements */
.nav-bcr-link {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    color: #ffd700 !important;
    font-weight: 700 !important;
    text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}
.nav-badge-ai {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    color: #fff;
    letter-spacing: 0.5px;
    box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
    animation: bcrPulseBadge 2s infinite ease-in-out;
}
@keyframes bcrPulseBadge {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.08); filter: brightness(1.25); }
}

.nav-item-bcr .nav-bcr-icon-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.nav-bcr-dot {
    position: absolute;
    top: -2px;
    right: -3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 6px #ef4444;
    animation: bcrPulseDot 1.5s infinite;
}

/* ==========================================================================
   SEO KNOWLEDGE HUB (CHUẨN GOOGLE E-E-A-T & SEMANTIC ENTITY)
   ========================================================================== */
.seo-knowledge-hub {
    padding: 12px 16px 32px;
    max-width: 1280px;
    margin: 0 auto;
}

.seo-accordion-box {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid rgba(56, 189, 248, 0.22);
    border-radius: 16px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    overflow: hidden;
    transition: all 0.3s ease;
}

.seo-accordion-summary {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 22px;
    cursor: pointer;
    user-select: none;
}

.seo-accordion-summary::-webkit-details-marker {
    display: none;
}

.seo-summary-left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.seo-badge-pill {
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.25), rgba(56, 189, 248, 0.12));
    border: 1px solid rgba(56, 189, 248, 0.45);
    color: #38bdf8;
    letter-spacing: 0.04em;
}

.seo-summary-title {
    font-size: clamp(13px, 2vw, 15px);
    font-weight: 700;
    color: #e2e8f0;
    margin: 0;
}

.seo-expand-btn {
    font-size: 12.5px;
    font-weight: 600;
    color: #38bdf8;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.seo-accordion-box[open] .arrow-down {
    display: inline-block;
    transform: rotate(180deg);
}

.seo-article-content {
    padding: 18px 22px 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    font-size: 14px;
    line-height: 1.7;
}

.seo-article-content h2 {
    font-size: 16px;
    font-weight: 800;
    color: #38bdf8;
    margin: 16px 0 8px;
}

.seo-article-content h2:first-child {
    margin-top: 0;
}

.seo-article-content h3 {
    font-size: 14.5px;
    font-weight: 700;
    color: #fbbf24;
    margin: 12px 0 4px;
}

.seo-article-content p,
.seo-article-content ul {
    margin-bottom: 10px;
}

.seo-article-content ul {
    padding-left: 20px;
}

.seo-article-content li {
    margin-bottom: 6px;
}

.seo-keyword-tags {
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px dashed rgba(56, 189, 248, 0.25);
    font-size: 12.5px;
    color: #94a3b8;
}

.seo-keyword-tags span {
    color: #e2e8f0;
    font-weight: 600;
}

/* ==========================================================================
   NÚT ĐĂNG KÝ HOÀNG KIM KÈM TIA SÁNG QUÉT NGANG & NHÃN +58K
   ========================================================================== */
.hero-cta-wrapper {
    position: relative;
    display: inline-flex;
    justify-content: center;
    margin-top: 6px;
}

.btn-home-vip {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 42px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #0284c7 0%, #00b4d8 45%, #38bdf8 100%) !important;
    border: 1.5px solid rgba(251, 191, 36, 0.75) !important;
    color: #ffffff !important;
    font-size: clamp(15px, 3vw, 17.5px) !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow:
        0 0 25px rgba(56, 189, 248, 0.55),
        0 0 45px rgba(245, 158, 11, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.45) !important;
    overflow: visible !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.btn-home-vip:hover {
    transform: translateY(-3px) scale(1.03) !important;
    box-shadow:
        0 0 35px rgba(56, 189, 248, 0.85),
        0 0 65px rgba(251, 191, 36, 0.45),
        inset 0 1px 2px rgba(255, 255, 255, 0.65) !important;
}

/* Hiệu ứng tia sáng quét ngang bên trong nút */
.cta-shimmer-sweep {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    overflow: hidden;
    pointer-events: none;
}

.cta-shimmer-sweep::after {
    content: "";
    position: absolute;
    top: 0;
    left: -120%;
    width: 65%;
    height: 100%;
    background: linear-gradient(
        115deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 30%,
        rgba(255, 255, 255, 0.65) 50%,
        rgba(255, 255, 255, 0.1) 70%,
        transparent 100%
    );
    transform: skewX(-25deg);
    animation: ctaShimmerRun 2.8s infinite ease-in-out;
}

@keyframes ctaShimmerRun {
    0% { left: -120%; }
    55%, 100% { left: 160%; }
}

/* Nhãn nổi 🎁 TẶNG +58K gắn trên góc phải nút */
.cta-bonus-badge {
    position: absolute;
    top: -13px;
    right: -10px;
    z-index: 4;
    padding: 4px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    border: 1.5px solid #fef08a;
    color: #ffffff;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.65);
    animation: bounceBonusTag 1.8s infinite ease-in-out;
    white-space: nowrap;
}

@keyframes bounceBonusTag {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-3px) scale(1.06); }
}

.cta-icon-left {
    color: #fde047;
    filter: drop-shadow(0 0 6px rgba(253, 224, 71, 0.7));
    flex-shrink: 0;
}

.cta-icon-right {
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.btn-home-vip:hover .cta-icon-right {
    transform: translateX(4px);
}

/* ==========================================================================
   DẢI CHỨNG NHẬN QUỐC TẾ (PAGCOR, MGA, SSL) & ĐỐI TÁC THANH TOÁN
   ========================================================================== */
.international-trust-section {
    padding: 8px 16px 36px;
    max-width: 1280px;
    margin: 0 auto;
}

.trust-container {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.72) 0%, rgba(7, 11, 24, 0.88) 100%);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 20px;
    padding: 24px 22px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.trust-header-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
}

.trust-line {
    flex: 1;
    max-width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.45), transparent);
}

.trust-header-label {
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: #38bdf8;
    text-align: center;
}

.cert-badges-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.cert-badge-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}

.cert-badge-card:hover {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.35);
    transform: translateY(-2px);
}

.cert-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.cert-gold {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
}

.cert-cyan {
    background: rgba(14, 165, 233, 0.15);
    border: 1px solid rgba(56, 189, 248, 0.4);
    color: #38bdf8;
}

.cert-emerald {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
}

.cert-purple {
    background: rgba(168, 85, 247, 0.15);
    border: 1px solid rgba(168, 85, 247, 0.4);
    color: #c084fc;
}

.cert-rose {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.45);
    color: #fb7185;
}

.age-18-text {
    font-size: 15px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.cert-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cert-code {
    font-size: 13px;
    font-weight: 800;
    color: #f8fafc;
    letter-spacing: 0.03em;
}

.cert-desc {
    font-size: 11px;
    color: #94a3b8;
    line-height: 1.3;
}

.payment-partners-box {
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    text-align: center;
}

.payment-label {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.payment-pills-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.pay-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.pay-pill:hover {
    border-color: rgba(56, 189, 248, 0.45);
    color: #ffffff;
}

.pay-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 6px #10b981;
}

.bank-momo .pay-dot { background: #ec4899; box-shadow: 0 0 6px #ec4899; }
.bank-usdt .pay-dot { background: #14b8a6; box-shadow: 0 0 6px #14b8a6; }
.bank-tcb .pay-dot { background: #ef4444; box-shadow: 0 0 6px #ef4444; }
.bank-mb .pay-dot, .bank-acb .pay-dot { background: #38bdf8; box-shadow: 0 0 6px #38bdf8; }

@media (max-width: 1024px) {
    .cert-badges-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .btn-home-vip {
        padding: 14px 26px !important;
        font-size: 14px !important;
    }
    .cta-bonus-badge {
        top: -11px;
        right: -4px;
        font-size: 10px;
        padding: 3px 8px;
    }
    .trust-container {
        padding: 18px 12px;
        border-radius: 16px;
    }
    .cert-badges-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    .cert-badge-card:last-child {
        grid-column: span 2;
        justify-content: center;
    }
    .cert-badge-card {
        padding: 10px;
        gap: 9px;
    }
    .cert-icon-box {
        width: 36px;
        height: 36px;
    }
    .cert-code { font-size: 11.5px; }
    .cert-desc { font-size: 10px; }
    .pay-pill {
        padding: 5px 10px;
        font-size: 11px;
    }
}

/* ==========================================================================
   BỐ CỤC 3 CỘT TRANG CHỦ: CÁNH TRÁI (ẢNH 1) - GIỮA - CÁNH PHẢI (ẢNH 2 & 3 LƯỚT)
   ========================================================================== */
.hero-stage-layout {
    display: grid;
    grid-template-columns: clamp(235px, 18.5vw, 305px) minmax(0, 1fr) clamp(245px, 19.5vw, 315px);
    gap: clamp(16px, 2vw, 28px);
    align-items: start;
    width: 100%;
    max-width: 1840px;
    margin: 0 auto;
}

.hero-wing {
    position: sticky;
    top: 105px;
    width: 100%;
    z-index: 4;
}

/* CÁNH TRÁI: POSTER SỰ KIỆN MEGALIVE VF9 PLUS (ẢNH 1) */
.wing-poster-card {
    position: relative;
    display: block;
    width: 100%;
    border-radius: 20px;
    padding: 3px;
    background: linear-gradient(135deg, #00f2fe 0%, #fbbf24 50%, #0284c7 100%);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.8),
        0 0 28px rgba(14, 165, 233, 0.45);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.wing-poster-card:hover {
    transform: translateY(-4px) scale(1.015);
    box-shadow:
        0 24px 55px rgba(0, 0, 0, 0.88),
        0 0 40px rgba(56, 189, 248, 0.7);
}

.wing-poster-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 17px;
    object-fit: cover;
}

.wing-live-ribbon {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 3;
    padding: 5px 11px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ef4444, #f59e0b);
    border: 1px solid #fef08a;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 900;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.65);
}

/* CÁNH PHẢI: SLIDER TỰ LƯỚT ẢNH 2 & ẢNH 3 GERARD PIQUÉ */
.wing-slider-card {
    position: relative;
    width: 100%;
    border-radius: 20px;
    padding: 16px 14px 18px;
    background: linear-gradient(180deg, rgba(10, 22, 48, 0.86) 0%, rgba(4, 9, 24, 0.94) 100%);
    border: 1.5px solid rgba(56, 189, 248, 0.42);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 18px 45px rgba(0, 0, 0, 0.82),
        0 0 28px rgba(14, 165, 233, 0.38),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.wing-slider-header {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
}

.wing-slider-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.28), rgba(245, 158, 11, 0.22));
    border: 1px solid rgba(251, 191, 36, 0.55);
    color: #fde047;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.05em;
}

.wing-slider-viewport {
    width: 100%;
    overflow: hidden;
    border-radius: 14px;
    background: radial-gradient(circle at 50% 45%, rgba(56, 189, 248, 0.28) 0%, rgba(14, 165, 233, 0.06) 55%, transparent 75%);
    position: relative;
}

.wing-slider-track {
    display: flex;
    width: 200%;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.wing-slide-item {
    width: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 4px;
}

.wing-slide-img {
    width: 100%;
    height: auto;
    max-height: 290px;
    object-fit: contain;
    filter: drop-shadow(0 8px 20px rgba(0, 180, 255, 0.35));
    transition: transform 0.35s ease;
}

.wing-slide-item:hover .wing-slide-img {
    transform: scale(1.04);
}

.wing-slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 12px;
}

.wing-dot {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.wing-dot.active {
    width: 24px;
    background: linear-gradient(90deg, #38bdf8, #fbbf24);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.7);
}

.wing-pique-trophies {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
}

.trophy-mini-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 11px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.22);
    font-size: 12px;
    font-weight: 700;
    color: #e2e8f0;
}

.trophy-mini-row span {
    color: #fbbf24;
    font-weight: 900;
    font-size: 12.5px;
    min-width: 44px;
}

.wing-slider-cta {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(14, 165, 233, 0.45);
    transition: all 0.25s ease;
}

.wing-slider-cta:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #030611;
    transform: translateY(-2px);
}

/* ==========================================================================
   RESPONSIVE MOBILE & TABLET + BACKGROUND MOBILE NHƯ ẢNH 5
   ========================================================================== */
/* Đảm bảo mọi icon SVG mới luôn cố định kích thước gọn gàng */
.cert-icon-box svg { width: 24px; height: 24px; flex-shrink: 0; }
.video-sound-toggle svg { width: 16px; height: 16px; flex-shrink: 0; }
.wing-slider-cta svg { width: 15px; height: 15px; flex-shrink: 0; }
.btn-home-vip svg { width: 19px; height: 19px; flex-shrink: 0; }

.hero-center-top,
.hero-center-flags {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@media (min-width: 1181px) and (max-width: 1560px) {
    .hero-stage-layout {
        grid-template-columns: 225px minmax(0, 1fr) 235px;
        gap: 14px;
    }
    .flag-grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 10px;
    }
}

@media (max-width: 1180px) {
    .hero-stage-layout {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 12px;
        align-items: stretch;
        width: 100%;
    }
    .home-content {
        display: contents;
    }
    .hero-center-top {
        grid-column: 1 / -1;
        grid-row: 1;
        order: 1;
        margin-bottom: 6px;
        width: 100%;
    }
    .hero-wing {
        position: static;
        max-width: 100%;
        width: 100%;
        margin: 0;
        display: flex;
        flex-direction: column;
    }
    .hero-wing-left {
        grid-column: 1 / 2;
        grid-row: 2;
        order: 2;
    }
    .hero-wing-right {
        grid-column: 2 / 3;
        grid-row: 2;
        order: 3;
    }
    .wing-poster-card,
    .wing-slider-card {
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    .wing-poster-img {
        height: 100%;
        width: 100%;
        object-fit: cover;
        object-position: center top;
        flex: 1;
    }
    .hero-center-flags {
        grid-column: 1 / -1;
        grid-row: 3;
        order: 4;
        margin-top: 8px;
        width: 100%;
    }
}

@media (max-width: 768px) {
    /* Trên Mobile dùng Ảnh 5 (bg-mobile-pique.webp) làm nền cố định toàn trang */
    body {
        background-image: none !important;
        background-color: #030611;
    }
    body::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: -1;
        background-image:
            linear-gradient(180deg, rgba(3, 8, 22, 0.44) 0%, rgba(4, 12, 30, 0.38) 45%, rgba(3, 6, 17, 0.78) 100%),
            url('../../image/bg-mobile-pique.webp');
        background-position: center top;
        background-size: cover;
        background-repeat: no-repeat;
        pointer-events: none;
    }
    .home-banner {
        background: transparent !important;
        padding: 98px 10px 45px !important;
    }
    .gamehot-section {
        background: rgba(3, 6, 17, 0.68) !important;
    }
    /* Tầng 1: Video + Slogan + Nút Đăng Ký TRÀN VIỀN 100% TO RÕ HOÀNH TRÁNG */
    .hero-video-showcase {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 14px;
        padding: 0;
    }
    .hero-video-glow-frame {
        padding: 3px;
        border-radius: 18px;
    }
    .hero-video-inner,
    .hero-official-video {
        border-radius: 15px;
        aspect-ratio: 16 / 9;
        max-height: 240px;
    }
    .video-verified-badge {
        top: 10px;
        left: 10px;
        padding: 5px 10px;
        font-size: 9.5px;
        gap: 6px;
    }
    .verified-dot {
        width: 6px;
        height: 6px;
    }
    .video-sound-toggle {
        bottom: 10px;
        right: 10px;
        padding: 6px 12px;
        font-size: 11px;
        gap: 5px;
    }
    .video-sound-toggle svg {
        width: 14px;
        height: 14px;
    }
    .home-slogan {
        font-size: 17px;
        line-height: 1.35;
        margin-bottom: 18px;
        padding: 0 6px;
    }
    .hero-cta-wrapper {
        width: 100%;
        margin-top: 2px;
        margin-bottom: 6px;
    }
    .btn-home-vip {
        width: auto;
        min-width: 86%;
        padding: 14px 26px !important;
        font-size: 14px !important;
        gap: 8px;
        border-radius: 999px !important;
    }
    .btn-home-vip svg {
        width: 18px;
        height: 18px;
    }
    .cta-bonus-badge {
        top: -11px;
        right: -2px;
        font-size: 10px;
        padding: 3px 9px;
    }
    /* Tầng 2: 2 Card Dọc đặt song song 2 bên (50% Trái - 50% Phải) TO RÕ SẮC NÉT */
    .hero-stage-layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px;
    }
    .wing-poster-card {
        border-radius: 16px;
        padding: 2.5px;
    }
    .wing-poster-img {
        border-radius: 14px;
        max-height: 335px;
    }
    .wing-live-ribbon {
        top: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 9px;
    }
    .wing-slider-card {
        border-radius: 16px;
        padding: 10px 8px 11px;
    }
    .wing-slider-header {
        margin-bottom: 6px;
    }
    .wing-slider-badge {
        padding: 4px 8px;
        font-size: 9px;
    }
    .wing-slider-viewport {
        border-radius: 11px;
        flex: 1;
        display: flex;
        align-items: center;
    }
    .wing-slide-item {
        padding: 4px 2px;
    }
    .wing-slide-img {
        max-height: 168px;
    }
    .wing-slider-dots {
        margin: 6px 0 7px;
        gap: 6px;
    }
    .wing-dot {
        width: 6px;
        height: 6px;
    }
    .wing-dot.active {
        width: 18px;
    }
    .wing-pique-trophies {
        gap: 5px;
        margin-bottom: 8px;
    }
    .trophy-mini-row {
        padding: 5px 7px;
        font-size: 10px;
        gap: 5px;
        border-radius: 8px;
    }
    .trophy-mini-row span {
        font-size: 10.5px;
        min-width: 34px;
    }
    .wing-slider-cta {
        padding: 9px 8px;
        font-size: 10px;
        border-radius: 10px;
        gap: 4px;
    }
    .wing-slider-cta svg {
        width: 12px;
        height: 12px;
    }
    .server-title-wrapper {
        margin-top: 22px;
        margin-bottom: 16px;
    }
}

/* ==========================================================================
   UI/UX PRO MAX — SENIOR ENGINEER PRECISION DESIGN SYSTEM (XX88HI.COM)
   Architectural radii (8px-10px), Tactile 3D Bevels, Tabular Nums, Vector SVGs
   ========================================================================== */

/* 1. TYPOGRAPHY & TABULAR NUMBERS CHO SỐ LIỆU (CHAKRA PETCH) */
.hud-metric-val,
.pique-stat-num,
.ping-text,
.jackpot-odometer,
.rtp-tag,
.online-badge span,
.cta-inline-bonus {
    font-family: 'Chakra Petch', 'Inter', sans-serif;
    font-variant-numeric: tabular-nums;
}

/* 2. HEADER REGISTER BUTTONS — TACTILE ARCHITECTURAL BEVEL (KHÔNG DÙNG PILL 999PX) */
.desktop-register,
.mobile-register {
    border-radius: 8px !important;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%) !important;
    border: 1px solid #fde68a !important;
    border-bottom: 2.5px solid #b45309 !important;
    color: #090d16 !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.55) !important;
    animation: none !important;
    transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease !important;
}

.desktop-register:hover,
.mobile-register:hover {
    transform: translateY(-1px) !important;
    filter: brightness(1.06);
    box-shadow:
        0 6px 16px rgba(245, 158, 11, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.7) !important;
}

.desktop-register:active,
.mobile-register:active {
    transform: translateY(1px) !important;
}

/* 3. THANH HUD SỐ LIỆU TRỰC TUYẾN 3 Ô (UNIFIED FINTECH STATUS BAR) */
.xx88hi-hud-bar {
    display: inline-flex;
    align-items: stretch;
    justify-content: center;
    background: rgba(9, 14, 26, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-bottom: 1px solid rgba(251, 191, 36, 0.28);
    border-radius: 10px;
    padding: 4px;
    margin-bottom: 14px;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    max-width: 100%;
}

.hud-metric-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    transition: background 0.2s ease;
    border-radius: 6px;
}

.hud-metric-item:last-child {
    border-right: none;
}

.hud-metric-jackpot {
    background: rgba(245, 158, 11, 0.09);
}

.hud-metric-jackpot:hover {
    background: rgba(245, 158, 11, 0.16);
}

.hud-live-indicator {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    flex-shrink: 0;
}

.hud-svg-icon {
    color: #fbbf24;
    flex-shrink: 0;
}

.hud-metric-label {
    font-size: 10.5px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.hud-metric-val {
    font-size: 13px;
    font-weight: 700;
    color: #f8fafc;
    letter-spacing: 0.02em;
}

.hud-gold-num {
    color: #fbbf24;
    font-size: 13.5px;
}

/* 4. KHUNG VIDEO ĐẠI SỨ — VIỀN KIM LOẠI SẮC NÉT CHUẨN STUDIO */
.hero-video-glow-frame {
    padding: 2px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.65) 0%, rgba(255, 255, 255, 0.12) 50%, rgba(16, 185, 129, 0.55) 100%);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.82),
        0 0 0 1px rgba(255, 255, 255, 0.06);
    animation: none;
}

.hero-video-inner,
.hero-official-video {
    border-radius: 12px;
}

.video-verified-badge {
    border-radius: 6px;
    background: rgba(9, 14, 26, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-left: 2.5px solid #10b981;
    color: #e2e8f0;
    padding: 6px 10px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.video-sound-toggle {
    border-radius: 6px;
    background: rgba(9, 14, 26, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 6px 12px;
    font-size: 11.5px;
    font-weight: 600;
}

.video-sound-toggle:hover {
    background: #1e293b;
    border-color: #fbbf24;
    transform: translateY(-1px);
}

/* 5. NÚT CHÍNH HERO CTA — SEGMENTED TACTILE BUTTON (CHUẨN SENIOR FRONT-END) */
.btn-home-vip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    padding: 13px 22px 13px 26px !important;
    border-radius: 10px !important;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%) !important;
    border: 1px solid #fef08a !important;
    border-bottom: 3px solid #b45309 !important;
    color: #090d16 !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: 0.03em !important;
    box-shadow:
        0 10px 24px -4px rgba(245, 158, 11, 0.45),
        0 4px 10px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.65) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease !important;
}

.btn-home-vip:hover {
    transform: translateY(-2px) !important;
    filter: brightness(1.05);
    box-shadow:
        0 14px 28px -4px rgba(245, 158, 11, 0.6),
        0 6px 14px rgba(0, 0, 0, 0.55),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

.btn-home-vip:active {
    transform: translateY(1px) !important;
    border-bottom-width: 1.5px !important;
}

.cta-inline-divider {
    width: 1px;
    height: 18px;
    background: rgba(9, 13, 22, 0.22);
    flex-shrink: 0;
}

.cta-inline-bonus {
    display: inline-flex;
    align-items: center;
    padding: 4px 9px;
    border-radius: 6px;
    background: #090d16;
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-home-vip .cta-icon-right {
    color: #090d16 !important;
}

/* 6. CARD 2 CÁNH TRÁI & PHẢI — BẢNG CHỈ SỐ THỂ THAO FIFA/ESPORTS */
.wing-slider-card {
    border-radius: 14px;
    padding: 14px 12px;
    background: rgba(9, 14, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 1px solid rgba(251, 191, 36, 0.4);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
}

.wing-slider-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 6px;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fbbf24;
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.wing-slider-viewport {
    border-radius: 10px;
    background: radial-gradient(circle at 50% 45%, rgba(251, 191, 36, 0.14) 0%, rgba(15, 23, 42, 0.4) 70%);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wing-pique-stats-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-bottom: 12px;
}

.pique-stat-cell {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.pique-stat-num {
    font-size: 16px;
    font-weight: 700;
    color: #fbbf24;
    line-height: 1.1;
}

.pique-stat-lbl {
    font-size: 8.5px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.04em;
    margin-top: 3px;
    text-align: center;
}

.wing-slider-cta {
    border-radius: 8px;
    background: #1e293b;
    border: 1px solid rgba(251, 191, 36, 0.4);
    color: #f8fafc;
    padding: 10px 12px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.04em;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.wing-slider-cta:hover {
    background: #fbbf24;
    border-color: #fde68a;
    color: #090d16;
    transform: translateY(-1px);
}

.wing-poster-card {
    border-radius: 14px;
    padding: 1.5px;
    background: linear-gradient(180deg, rgba(251, 191, 36, 0.55) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(16, 185, 129, 0.45) 100%);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
}

.wing-poster-img {
    border-radius: 12.5px;
}

.wing-live-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 6px;
    background: rgba(9, 14, 26, 0.88);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #f8fafc;
    padding: 5px 10px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.05em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.ribbon-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    display: inline-block;
}

/* 7. THANH TIÊU ĐỀ MÁY CHỦ & LƯỚI CỜ (SERVER NODE ARCHITECTURE) */
.server-title-wrapper {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 32px;
    margin-bottom: 16px;
    padding: 12px 16px;
    background: rgba(9, 14, 26, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    backdrop-filter: blur(12px);
}

.server-header-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    text-align: left;
}

.server-live-tag {
    border-radius: 5px;
    padding: 3px 8px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    box-shadow: none;
}

.server-title {
    font-size: 13.5px;
    letter-spacing: 0.06em;
    color: #f1f5f9;
}

.quick-route-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 7px;
    background: rgba(251, 191, 36, 0.14);
    border: 1px solid rgba(251, 191, 36, 0.45);
    color: #fbbf24;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.18s ease;
}

.quick-route-btn:hover {
    background: #fbbf24;
    color: #090d16;
    transform: translateY(-1px);
}

.flag-item {
    border-radius: 9px;
    background: rgba(9, 14, 26, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px 6px 10px;
}

.flag-item:hover {
    border-color: rgba(251, 191, 36, 0.55);
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.55);
}

/* 8. THANH PHÂN LOẠI GAME — SEGMENTED CONTROL DOCK */
.game-category-tabs {
    display: inline-flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px !important;
    padding: 5px !important;
    background: rgba(9, 14, 26, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 10px;
    margin: 0 auto 28px !important;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6);
}

.cat-tab {
    display: inline-flex !important;
    align-items: center;
    gap: 7px;
    padding: 9px 18px !important;
    border-radius: 7px !important;
    background: transparent !important;
    border: 1px solid transparent !important;
    color: #94a3b8 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    box-shadow: none !important;
    transition: all 0.18s ease !important;
}

.cat-tab:hover {
    color: #f8fafc !important;
    background: rgba(255, 255, 255, 0.04) !important;
    transform: none !important;
}

.cat-tab.active {
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%) !important;
    border-color: rgba(251, 191, 36, 0.45) !important;
    color: #fbbf24 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}

.cat-svg {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* 9. CÁC NHÃN BENTO, MEGA JACKPOT & BANNER VIP CHUẨN KIẾN TRÚC */
.section-badge,
.jackpot-crown-badge,
.feature-pill,
.vip-badge-tag,
.seo-badge-pill,
.pay-pill {
    border-radius: 6px !important;
}

.jackpot-crown-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.vip-banner-btn,
.modal-btn-action {
    border-radius: 9px !important;
    background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%) !important;
    border: 1px solid #fef08a !important;
    border-bottom: 3px solid #b45309 !important;
    color: #090d16 !important;
    font-weight: 800 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
}

/* 10. THẺ VOUCHER TÂN THỦ GÓC TRÁI (ARCHITECTURAL VOUCHER DOCK) */
.hi-lucky-gift-float {
    position: fixed;
    bottom: 28px;
    left: 24px;
    z-index: 9998;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 10px;
    border-radius: 10px;
    background: rgba(9, 14, 26, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 3px solid #fbbf24;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.7);
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.hi-lucky-gift-float:hover {
    transform: translateY(-2px);
    border-color: rgba(251, 191, 36, 0.6);
}

.gift-svg-box {
    width: 34px;
    height: 34px;
    border-radius: 7px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(251, 191, 36, 0.35);
    color: #fbbf24;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.gift-float-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.gift-float-top {
    font-size: 9.5px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.06em;
}

.gift-float-bot {
    font-size: 12px;
    font-weight: 800;
    color: #fbbf24;
    font-family: 'Chakra Petch', sans-serif;
    letter-spacing: 0.03em;
}

/* RESPONSIVE MOBILE CHO CÁC COMPONENT MỚI */
@media (max-width: 1024px) {
    .hi-lucky-gift-float {
        bottom: 82px;
        left: 12px;
        padding: 6px 11px 6px 8px;
    }
    .gift-svg-box {
        width: 28px;
        height: 28px;
    }
    .gift-float-top { font-size: 8.5px; }
    .gift-float-bot { font-size: 10.5px; }
}

@media (max-width: 768px) {
    .hud-hide-sm {
        display: none;
    }
    .xx88hi-hud-bar {
        width: 100%;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    .hud-metric-item {
        flex: 1;
        justify-content: center;
        padding: 5px 8px;
        gap: 5px;
    }
    .hud-metric-label { font-size: 9.5px; }
    .hud-metric-val { font-size: 11.5px; }
    .btn-home-vip {
        padding: 12px 18px !important;
        font-size: 13px !important;
        gap: 8px !important;
    }
    .cta-inline-bonus {
        font-size: 10.5px;
        padding: 3px 7px;
    }
    .wing-pique-stats-grid {
        gap: 4px;
        margin-bottom: 8px;
    }
    .pique-stat-cell {
        padding: 5px 2px;
    }
    .pique-stat-num { font-size: 13px; }
    .pique-stat-lbl { font-size: 7px; }
    .server-title-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 10px 12px;
    }
    .server-header-left {
        align-items: center;
        text-align: center;
    }
    .game-category-tabs {
        width: 100%;
    }
    .cat-tab {
        padding: 7px 11px !important;
        font-size: 11.5px !important;
    }
}