/**
 * Tan Vo Lam Theme - Header & Menu Stylesheet
 * Pixel-perfect Kiếm Hiệp Gaming Header
 */

@import url('https://fonts.googleapis.com/css2?family=Hubot+Sans:ital,wght@0,200..900;1,200..900&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Yeseva+One&display=swap');

:root {
    --tvl-font: 'Inter', 'Hubot Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --tvl-font-hubot: 'Hubot Sans', sans-serif;
    --tvl-font-title: 'Yeseva One', serif;
    --Text: #2D0404;
    --tvl-nav-text: #623A18;
    --tvl-nav-text-hover: #9c2e12;
    --tvl-nav-active: #2D0404;
    --tvl-nav-active-bar: #5a1c12;
    --tvl-nav-sep: #a07a56;
    --tvl-header-height: 80px;
}

/* ==========================================================================
   Header Layout
   ========================================================================== */
.tvl-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 999;
    padding: 14px 24px;
    font-family: var(--tvl-font);
    box-sizing: border-box;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.tvl-header * {
    box-sizing: border-box;
}

/* Scrolled Sticky Header (Giao diện menu khi cuộn xuống theo mockup media_1791871364501.png) */
.tvl-header.is-scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 59px;
    padding: 0 24px;
    background: #f5eee4;
    /* border-bottom: 1px solid rgba(212, 175, 122, 0.45); */
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12), 0 1px 0 rgba(212, 175, 122, 0.3);
    z-index: 999;
}

.tvl-header.is-scrolled .tvl-header-container {
    height: 59px;
    max-width: 1440px;
}

/* App Icon khi cuộn: Thả nhẹ xuống mép dưới thanh bar theo mockup */
.tvl-header.is-scrolled .tvl-header-brand {
    overflow: visible;
}

.tvl-header.is-scrolled .tvl-app-icon-link {
    position: relative;
    top: 13px;
    /* border: 2px solid #dfbb7b;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35); */
    /* background: #1c1109; */
    display: inline-block;
    line-height: 0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tvl-header.is-scrolled .tvl-app-icon-link:hover {
    transform: translateY(3px) scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
}

.tvl-header.is-scrolled .tvl-app-icon {
    width: 72px;
    height: 72px;
    border-radius: 14px;
    display: block;
    object-fit: cover;
}

/* Bỏ khung viên thuốc riêng, menu nằm trực tiếp trên nền thanh bar */
.tvl-header.is-scrolled .tvl-nav-pill {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    height: 59px;
    padding: 0;
}

.tvl-header.is-scrolled .tvl-menu-list a {
    color: #623A18;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    padding: 8px 14px;
    transition: color 0.2s ease;
}

.tvl-header.is-scrolled .tvl-menu-list a:hover {
    color: #922f18;
}

/* Mục đang chọn (Trang chủ) có gạch chân màu nâu sẫm sát mép dưới */
.tvl-header.is-scrolled .tvl-menu-list li.current-menu-item > a,
.tvl-header.is-scrolled .tvl-menu-list li.active > a {
    color: var(--Text, #2D0404);
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.tvl-header.is-scrolled .tvl-menu-list li.current-menu-item > a::after,
.tvl-header.is-scrolled .tvl-menu-list li.active > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2.5px;
    background: #5a1c12;
    border-radius: 1px;
    box-shadow: none;
}

/* Dấu phân cách menu tông màu sẫm tương thích nền kem */
.tvl-header.is-scrolled .tvl-sep-img img,
.tvl-header.is-scrolled .tvl-menu-list > li:not(:last-child):not(.tvl-sep-item)::after {
    filter: brightness(0.4) sepia(1) hue-rotate(-30deg);
    opacity: 0.85;
}

.tvl-header.is-scrolled .tvl-sep {
    color: #8c5b30;
    opacity: 0.9;
}

/* Logo trung tâm khi cuộn */
.tvl-header.is-scrolled .tvl-center-logo {
    height: auto;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
}

.tvl-header.is-scrolled .tvl-logo-img {
    height: 60px;
}

/* Nút Đăng Ký / Đăng Nhập khi cuộn */
.tvl-header.is-scrolled .tvl-header-actions {
    gap: 8px;
}

.tvl-header.is-scrolled .tvl-header-actions .tvl-btn-register {
    width: 104px;
    height: 35px;
}

.tvl-header.is-scrolled .tvl-header-actions .tvl-btn-register .tvl-btn-label {
    font-size: 15.5px;
    -webkit-text-stroke-width: 0.55px;
}

.tvl-header.is-scrolled .tvl-header-actions .tvl-btn-login {
    width: 98px;
    height: 33px;
}

.tvl-header.is-scrolled .tvl-header-actions .tvl-btn-login .tvl-btn-label {
    font-size: 13px;
}

/* Nút Mobile Drawer khi cuộn */
.tvl-header.is-scrolled .tvl-mobile-toggle {
    border-color: rgba(61, 26, 16, 0.35);
    background: rgba(61, 26, 16, 0.06);
}

.tvl-header.is-scrolled .tvl-mobile-toggle span {
    background: #3d1a10;
}

.tvl-header-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: relative;
}

/* ==========================================================================
   Left: App Icon / Avatar
   ========================================================================== */
.tvl-header-brand {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 20;
}

.tvl-app-icon-link {
    display: inline-block;
    line-height: 0;
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.tvl-app-icon-link:hover {
    transform: scale(1.06) rotate(-1deg);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.7));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.tvl-app-icon {
    width: 82px;
    height: 82px;
    display: block;
    border-radius: 16px;
    border: none;
    background: transparent;
    object-fit: contain;
}

/* ==========================================================================
   Center: Navigation Pill
   ========================================================================== */
.tvl-main-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1440px;
    pointer-events: none;
    z-index: 10;
}

.tvl-nav-pill {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    pointer-events: none;
    border-radius: 9999px;
    padding: 0;
    height: 52px;
    transition: all 0.3s ease;
}

.tvl-nav-left {
    position: absolute;
    right: calc(50% + 90px);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: auto;
}

.tvl-nav-right {
    position: absolute;
    left: calc(50% + 90px);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    pointer-events: auto;
}

.tvl-nav-group {
    display: flex;
    align-items: center;
}

.tvl-menu-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.tvl-menu-list > li {
    display: flex;
    align-items: center;
    position: relative;
    margin: 0;
    padding: 0;
}

.tvl-menu-list a,
.tvl-menu-list a:visited {
    display: inline-block;
    color: #623A18;
    font-family: 'Inter', sans-serif;
    font-size: clamp(15px, 1.15vw, 19px);
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    padding: 8px clamp(8px, 0.75vw, 13px);
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease, transform 0.2s ease;
}

.tvl-menu-list a:hover {
    color: var(--tvl-nav-text-hover);
    transform: translateY(-1px);
}

/* Active State Underline */
.tvl-menu-list li.current-menu-item > a,
.tvl-menu-list li.active > a {
    color: var(--Text, #2D0404);
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.tvl-menu-list li.current-menu-item > a::after,
.tvl-menu-list li.active > a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 14px;
    right: 14px;
    height: 2.5px;
    background: var(--tvl-nav-active-bar, #5a1c12);
    border-radius: 2px;
    box-shadow: none;
}

/* Separator Icon */
.tvl-sep-item,
.menu-sep-item,
.menu-item-sep {
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    user-select: none;
    padding: 0 4px;
}

.tvl-sep-img {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}

.tvl-sep-img img {
    width: 5px;
    height: 21px;
    display: block;
    opacity: 0.85;
    object-fit: contain;
}

.tvl-sep {
    display: inline-block;
    color: var(--tvl-nav-sep);
    font-size: 10px;
    opacity: 0.8;
    line-height: 1;
    transform: scale(0.9);
}

/* Center Logo */
.tvl-center-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    pointer-events: auto;
}

.tvl-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}

.tvl-logo-img {
    height: 94px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
    object-fit: contain;
}

.tvl-logo-link:hover .tvl-logo-img {
    transform: scale(1.08);
    filter: drop-shadow(0 0 14px rgba(72, 192, 255, 0.85));
}

/* ==========================================================================
   Right: Action Buttons (ĐĂNG KÝ, ĐĂNG NHẬP)
   ========================================================================== */
.tvl-header-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 20;
}

.tvl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center;
    text-decoration: none;
    position: relative;
    cursor: pointer;
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
    border-radius: 4px;
}

.tvl-btn-register {
    width: clamp(100px, 7.8vw, 108px);
    height: clamp(34px, 2.5vw, 37px);
    background-image: url('../images/bg-dangky-blank.png');
    box-shadow: 0 4px 12px rgba(180, 115, 20, 0.25);
}

.tvl-btn-login {
    width: clamp(94px, 7.2vw, 102px);
    height: clamp(32px, 2.3vw, 35px);
    background-image: url('../images/bg-dangnhap-blank.png');
    box-shadow: 0 4px 12px rgba(25, 95, 120, 0.25);
}

.tvl-btn:hover {
    transform: translateY(-2px);
}

.tvl-btn-register:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 18px rgba(215, 140, 25, 0.45);
}

.tvl-btn-login:hover {
    filter: brightness(1.08);
    box-shadow: 0 6px 18px rgba(45, 165, 205, 0.45);
}

.tvl-btn:active {
    transform: translateY(0);
}

/* Typography cho nút ĐĂNG KÝ theo đúng CSS thiết kế */
.tvl-btn-register .tvl-btn-label {
    -webkit-text-stroke-width: 0.2px;
    -webkit-text-stroke-color: #000;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    background: linear-gradient(180deg, #4B0202 21.62%, #734300 78.38%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* Typography cho nút ĐĂNG NHẬP theo đúng CSS thiết kế */
.tvl-btn-login .tvl-btn-label {
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    background: linear-gradient(180deg, #FFF 0%, #CCE9F0 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    user-select: none;
    letter-spacing: 0.5px;
    display: inline-block;
}

/* ==========================================================================
   Mobile Toggle & Drawer
   ========================================================================== */
.tvl-mobile-toggle {
    display: none;
    flex-shrink: 0;
    background: transparent;
    border: 1px solid rgba(212, 175, 122, 0.5);
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    justify-content: center;
    background: rgba(255, 248, 235, 0.4);
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
    z-index: 25;
}

.tvl-mobile-toggle:hover {
    background: rgba(255, 248, 235, 0.7);
}

.tvl-hamburger-line {
    display: block;
    width: 22px;
    height: 2.5px;
    background: #3c1e13;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.tvl-header.is-scrolled .tvl-hamburger-line {
    background: #3c1e13;
}

/* ==========================================================================
   Mobile Drawer & Overlay (Phong cách Cổ Trang chuẩn Mockup)
   ========================================================================== */

/* 1. Backdrop Overlay */
.tvl-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.tvl-drawer-overlay.is-open {
    opacity: 1;
    visibility: visible;
}

body.tvl-drawer-opened {
    overflow: hidden !important;
    touch-action: none;
}

/* 2. Drawer Panel */
.tvl-mobile-drawer {
    position: fixed;
    top: 0;
    right: -380px;
    width: clamp(280px, 78vw, 340px);
    height: 100vh;
    height: 100dvh;
    background: #f6efe5;
    box-shadow: -8px 0 35px rgba(0, 0, 0, 0.45);
    border-left: 1px solid rgba(195, 165, 125, 0.4);
    z-index: 99999;
    visibility: hidden;
    pointer-events: none;
    transition: right 0.35s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.35s ease;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.tvl-mobile-drawer.is-open {
    right: 0;
    visibility: visible;
    pointer-events: auto;
}

/* 3. Nút Đóng Tròn Góc Phải */
.tvl-drawer-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #eddcc3;
    border: 1px solid rgba(195, 165, 125, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b200e;
    cursor: pointer;
    padding: 0;
    z-index: 10;
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.tvl-drawer-close:hover {
    background: #e2cca8;
    color: #1a0b03;
    transform: rotate(90deg);
}

.tvl-drawer-close svg {
    display: block;
}

/* 4. Nội Dung Drawer */
.tvl-drawer-body {
    padding: 48px 16px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100%;
    box-sizing: border-box;
    flex: 1;
}

/* 5. Menu Danh Sách Căn Giữa */
.tvl-drawer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.tvl-drawer-menu .menu-item {
    width: 100%;
    text-align: center;
    margin: 0;
    padding: 0;
}

.tvl-drawer-menu .menu-item a,
.tvl-drawer-menu .menu-item a:visited {
    display: inline-block;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 17.5px;
    font-weight: 700;
    color: #552806;
    text-decoration: none;
    padding: 2px 10px;
    letter-spacing: 0.2px;
    transition: color 0.2s ease, transform 0.2s ease;
}

.tvl-drawer-menu .menu-item a:hover,
.tvl-drawer-menu .menu-item.active a,
.tvl-drawer-menu .menu-item.current-menu-item a {
    color: #8f460a;
    transform: translateY(-1px);
    background: transparent;
}

/* 6. Đường Kẻ Hoa Văn Cổ Trang */
.tvl-drawer-divider {
    width: 82%;
    max-width: 220px;
    margin: 18px auto 20px;
    text-align: center;
    line-height: 0;
    pointer-events: none;
}

.tvl-drawer-divider img {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.9;
}

/* 7. Nút Đăng Ký & Đăng Nhập Cổ Phong */
.tvl-drawer-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    width: 100%;
    margin-bottom: 24px;
}

.tvl-drawer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 146px;
    height: 44px;
    text-decoration: none;
    cursor: pointer;
    position: relative;
    border: none;
    outline: none;
    transition: transform 0.2s ease, filter 0.2s ease;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.16));
}

.tvl-drawer-btn:hover {
    transform: translateY(-2px) scale(1.02);
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.22)) brightness(1.05);
}

.tvl-drawer-btn-register {
    background: url('../images/bg-dangky-blank.png') no-repeat center center;
    background-size: 100% 100%;
}

.tvl-drawer-btn-register .tvl-drawer-btn-text {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 800;
    color: #552700;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 1px rgba(255, 235, 180, 0.7);
}

.tvl-drawer-btn-login {
    background: url('../images/bg-dangnhap-blank.png') no-repeat center center;
    background-size: 100% 100%;
}

.tvl-drawer-btn-login .tvl-drawer-btn-text {
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    font-weight: 800;
    color: #12373e;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 1px rgba(220, 250, 255, 0.5);
}

/* 8. Cụm 4 Icon Mạng Xã Hội Tròn Bút Lông Chân Menu */
.tvl-drawer-socials {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    align-items: flex-start;
    justify-items: center;
    margin-top: auto;
    padding-top: 14px;
}

.tvl-drawer-social-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    outline: none;
    transition: transform 0.22s ease;
}

.tvl-drawer-social-item:hover {
    transform: translateY(-3px);
}

.tvl-drawer-social-icon-box {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tvl-drawer-social-icon-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.15));
    transition: transform 0.22s ease;
}

.tvl-drawer-social-item:hover .tvl-drawer-social-icon-box img {
    transform: scale(1.1);
}

.tvl-drawer-social-label {
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 10.5px;
    font-weight: 600;
    color: #2e4757;
    text-align: center;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.tvl-drawer-social-item:hover .tvl-drawer-social-label {
    color: #112836;
}

/* ==========================================================================
   Hero Section ("ảnh bên dưới dùng ảnh tạm")
   ========================================================================== */
.hero-banner-section {
    position: relative;
    width: 100%;
    background: #e9dbc7;
    overflow: hidden;
    line-height: 0;
}

.hero-banner-media {
    position: relative;
    width: 100%;
    height: auto;
}

.hero-banner-video {
    width: 100%;
    display: block;
    background-color: #e9dbc7;
    pointer-events: none;
}

.hero-video-desktop,
.hero-temp-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* ==========================================================================
   Hero Center Cluster (Logo 700x330 + Download Bar + Scroll Down Button)
   Nằm chính giữa video đúng theo thiết kế mockup
   ========================================================================== */
.tvl-hero-center-cluster {
    position: absolute;
    top: 50.5%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: clamp(520px, 36.5vw, 700px);
    z-index: 20;
    pointer-events: none;
}

/* 1. Ảnh Logo Giữa Banner (tvl3d.png) chuẩn 700 x 330 */
.tvl-hero-title-wrap {
    position: relative;
    overflow: visible;
}

.tvl-hero-title-desktop {
    position: relative;
    width: 100%;
    max-width: 700px;
    aspect-ratio: 700 / 330;
    line-height: 0;
    text-align: center;
    margin: 0 0 clamp(8px, 1vw, 14px) 0;
    pointer-events: none;
    animation: tvlTitleFloat 4s ease-in-out infinite;
}

.tvl-hero-title-desktop .tvl-hero-title-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 35px rgba(255, 195, 50, 0.45));
    pointer-events: none;
    -webkit-user-drag: none;
}

/* Ảnh Logo Mobile */
.tvl-hero-title-mobile {
    position: absolute;
    top: 36%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    aspect-ratio: 1400 / 661;
    z-index: 15;
    pointer-events: none;
    text-align: center;
    line-height: 0;
    animation: tvlTitleFloatMobile 4s ease-in-out infinite;
}

.tvl-hero-title-mobile .tvl-hero-title-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 35px rgba(255, 195, 50, 0.45));
    pointer-events: none;
    -webkit-user-drag: none;
}

@keyframes tvlTitleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.015);
    }
}

@keyframes tvlTitleFloatMobile {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-6px) scale(1.015);
    }
}

/* ==========================================================================
   Hiệu ứng tráng gương (Mirror Sheen / Light Sweep) cho ảnh Võ Lâm 3D
   Cắt theo viền chữ PNG bằng -webkit-mask-image, vệt sáng quét & đốm sao lấp lánh
   ========================================================================== */
.tvl-title-shimmer {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    -webkit-mask-image: var(--tvl-title-img, url('../images/tvl3d.png'));
    mask-image: var(--tvl-title-img, url('../images/tvl3d.png'));
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    overflow: hidden;
    mix-blend-mode: screen;
}

.tvl-title-shimmer::before {
    content: '';
    position: absolute;
    top: -40%;
    left: -80%;
    width: 45%;
    height: 180%;
    background: linear-gradient(
        115deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 30%,
        rgba(255, 220, 120, 0.5) 42%,
        rgba(255, 255, 255, 0.95) 48.5%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 255, 0.95) 51.5%,
        rgba(255, 220, 120, 0.5) 58%,
        rgba(255, 255, 255, 0) 70%,
        transparent 100%
    );
    transform: skewX(-20deg);
    filter: blur(0.5px);
    animation: tvlMirrorSweep 4.5s cubic-bezier(0.3, 0, 0.2, 1) infinite;
}

.tvl-title-shimmer::after {
    content: '';
    position: absolute;
    top: -40%;
    left: -80%;
    width: 35%;
    height: 180%;
    background: linear-gradient(
        115deg,
        transparent 0%,
        rgba(255, 195, 60, 0) 35%,
        rgba(255, 255, 220, 0.9) 48%,
        rgba(255, 255, 255, 1) 50%,
        rgba(255, 255, 220, 0.9) 52%,
        rgba(255, 195, 60, 0) 65%,
        transparent 100%
    );
    transform: skewX(-20deg);
    mix-blend-mode: color-dodge;
    animation: tvlMirrorSweep 4.5s cubic-bezier(0.3, 0, 0.2, 1) infinite;
}

/* Đốm sáng lấp lánh (Star Sparkles) khi kiếm quang quét qua nét chữ */
.tvl-title-star {
    position: absolute;
    width: clamp(24px, 4vw, 36px);
    height: clamp(24px, 4vw, 36px);
    pointer-events: none;
    z-index: 3;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}

.tvl-title-star::before {
    content: '';
    position: absolute;
    inset: 15%;
    background: radial-gradient(circle, #ffffff 10%, rgba(255, 235, 140, 0.95) 35%, rgba(255, 160, 40, 0) 70%);
    border-radius: 50%;
    filter: blur(1px);
}

.tvl-title-star::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom, transparent 38%, rgba(255, 255, 255, 0.9) 46%, #ffffff 50%, rgba(255, 255, 255, 0.9) 54%, transparent 62%),
        linear-gradient(to right, transparent 38%, rgba(255, 255, 255, 0.9) 46%, #ffffff 50%, rgba(255, 255, 255, 0.9) 54%, transparent 62%);
    clip-path: polygon(50% 0%, 55% 42%, 100% 50%, 55% 58%, 50% 100%, 45% 58%, 0% 50%, 45% 42%);
    filter: drop-shadow(0 0 6px rgba(255, 240, 160, 0.95));
}

/* Vị trí 3 đốm sáng tương ứng các điểm nhấn của chữ Võ - Lâm - 3D */
.tvl-star-1 {
    top: 34%;
    left: 28%;
    animation: tvlStarFlash1 4.5s ease-in-out infinite;
}

.tvl-star-2 {
    top: 36%;
    left: 53%;
    animation: tvlStarFlash2 4.5s ease-in-out infinite;
}

.tvl-star-3 {
    top: 38%;
    left: 76%;
    animation: tvlStarFlash3 4.5s ease-in-out infinite;
}

@keyframes tvlMirrorSweep {
    0% {
        left: -80%;
        opacity: 0;
    }
    4% {
        opacity: 1;
    }
    46% {
        left: 140%;
        opacity: 1;
    }
    49%, 100% {
        left: 140%;
        opacity: 0;
    }
}

@keyframes tvlStarFlash1 {
    0%, 14% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }
    20% {
        transform: translate(-50%, -50%) scale(1.25) rotate(45deg);
        opacity: 1;
    }
    26% {
        transform: translate(-50%, -50%) scale(0.1) rotate(90deg);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0) rotate(90deg);
        opacity: 0;
    }
}

@keyframes tvlStarFlash2 {
    0%, 23% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }
    29% {
        transform: translate(-50%, -50%) scale(1.2) rotate(45deg);
        opacity: 1;
    }
    35% {
        transform: translate(-50%, -50%) scale(0.1) rotate(90deg);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0) rotate(90deg);
        opacity: 0;
    }
}

@keyframes tvlStarFlash3 {
    0%, 32% {
        transform: translate(-50%, -50%) scale(0) rotate(0deg);
        opacity: 0;
    }
    38% {
        transform: translate(-50%, -50%) scale(1.3) rotate(45deg);
        opacity: 1;
    }
    44% {
        transform: translate(-50%, -50%) scale(0.1) rotate(90deg);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(0) rotate(90deg);
        opacity: 0;
    }
}

/* ==========================================================================
   Banner Download Bar (Khối tải game ngang nằm ngay dưới logo 700x330)
   ========================================================================== */
.tvl-banner-download-bar {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    max-width: 694px;
    aspect-ratio: 1404 / 348;
    background-image: url('../images/sticky-nav/ngang-nen.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2.3% 2.8% 2.1% 2.3%;
    box-sizing: border-box;
    z-index: 20;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.55));
    user-select: none;
    pointer-events: auto;
    margin: 0 0 clamp(10px, 1.2vw, 16px) 0;
}

/* Nút cuộn xuống bên dưới khối tải */
.tvl-hero-center-cluster .hero-scroll-down {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: clamp(38px, 2.5vw, 44px);
    height: auto;
    display: block;
    line-height: 0;
    margin: 0 auto;
    pointer-events: auto;
    animation: tvlScrollFloat 2.2s infinite ease-in-out;
}

.tvl-bbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1), filter 0.25s ease;
}

.tvl-bbar-btn img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
}

/* Nút Tải PC bên trái (~41.3% bề ngang) */
.tvl-bbar-pc {
    width: 41.3%;
    height: 100%;
}

.tvl-bbar-pc:hover {
    transform: scale(1.025);
    filter: brightness(1.08) drop-shadow(0 4px 14px rgba(255, 215, 0, 0.5));
}

.tvl-bbar-pc:active {
    transform: scale(0.99);
}

/* Cột giữa: 2 nút Android & iOS xếp chồng (~34.6% bề ngang) */
.tvl-bbar-store-group {
    width: 34.6%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tvl-bbar-store {
    width: 100%;
    height: 48%;
}

.tvl-bbar-store:hover {
    transform: scale(1.03);
    filter: brightness(1.12) drop-shadow(0 3px 10px rgba(60, 185, 220, 0.55));
}

.tvl-bbar-store:active {
    transform: scale(0.99);
}

/* Nút Nạp Game bên phải (~23.5% bề ngang) */
.tvl-bbar-nap {
    width: 23.5%;
    height: 100%;
}

.tvl-bbar-nap:hover {
    transform: scale(1.025);
    filter: brightness(1.08) drop-shadow(0 4px 15px rgba(255, 180, 50, 0.5));
}

.tvl-bbar-nap:active {
    transform: scale(0.99);
}

/* ==========================================================================
   Desktop & Mobile Hero View Switching
   ========================================================================== */
.hero-desktop-view {
    display: block;
}

.hero-mobile-view {
    display: none;
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.hero-mobile-media-wrap {
    position: relative;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    background-color: #e9dbc7;
}

.hero-video-mobile,
.hero-mobile-image {
    width: 100%;
    height: auto;
    aspect-ratio: 720 / 1280;
    object-fit: cover;
    object-position: center top;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* ==========================================================================
   Hero Mobile Sliced Frame Component (Khung kiếm gỗ + 6 nút cắt ghép)
   Sử dụng trực tiếp các assets cắt ghép chuẩn xác, hỗ trợ thay video nền sau này
   ========================================================================== */
.tvl-mob-frame-container {
    position: absolute;
    bottom: 2.2%;
    left: 50%;
    transform: translateX(-50%);
    width: 96%;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 15;
    pointer-events: auto;
}

.tvl-mob-frame-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 2125 / 1187;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Background ornate sword frame (s8-khung.png) */
.tvl-mob-frame-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    z-index: 1;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.65));
}

/* Inner Action Content Area */
.tvl-mob-frame-content {
    position: relative;
    z-index: 2;
    width: 65%;
    height: 52%;
    margin-top: -0.5%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0px;
}

/* Row 1: Register + PC Download + Recharge */
.tvl-mob-frame-row-1 {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: 100%;
    gap: 0px;
    height: 61%;
}

/* Row 2: GooglePlay + iOS + APK */
.tvl-mob-frame-row-2 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 0px;
    height: 31%;
}

/* Individual Buttons */
.tvl-mob-fbtn {
    display: block;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.2s ease;
    user-select: none;
    line-height: 0;
    -webkit-tap-highlight-color: transparent;
}

.tvl-mob-fbtn img {
    width: 100%;
    height: auto;
    display: block;
    pointer-events: none;
}

.tvl-mob-fbtn:hover {
    transform: translateY(-2px) scale(1.03);
    filter: brightness(1.12) drop-shadow(0 4px 12px rgba(255, 200, 60, 0.45));
}

.tvl-mob-fbtn:active {
    transform: scale(0.97);
}

/* Button sizing in Row 1 */
.tvl-mob-fbtn-register {
    flex: 1;
    max-width: 25.5%;
}

.tvl-mob-fbtn-download {
    flex: 1.86;
    max-width: 47.5%;
}

.tvl-mob-fbtn-download:hover {
    filter: brightness(1.15) drop-shadow(0 6px 16px rgba(255, 215, 0, 0.6));
}

.tvl-mob-fbtn-nap {
    flex: 1.06;
    max-width: 27.0%;
}

/* Button sizing in Row 2 */
.tvl-mob-fbtn-android {
    flex: 1;
    max-width: 32.8%;
}

.tvl-mob-fbtn-ios {
    flex: 1;
    max-width: 32.8%;
}

.tvl-mob-fbtn-apk {
    flex: 1.04;
    max-width: 34.4%;
}

/* Scroll down circular indicator (Nét đứt nối + nút tròn teal) */
.tvl-mob-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 12;
    margin-top: -3%;
}

.tvl-mob-scroll-dashed-line {
    display: block;
    width: 0;
    height: 18px;
    border-left: 1.5px dashed rgba(60, 115, 125, 0.85);
    margin-bottom: 2px;
}

.tvl-mob-scroll-circle {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #2b5d66;
    border: 1.5px dashed rgba(255, 255, 255, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
    transition: transform 0.25s ease, filter 0.25s ease, background-color 0.25s ease;
    animation: tvlMobFloat 2.2s infinite ease-in-out;
}

.tvl-mob-scroll-circle:hover,
.tvl-mob-scroll-circle:active {
    transform: scale(1.08);
    filter: brightness(1.15) drop-shadow(0 0 10px rgba(60, 185, 220, 0.85));
    background: #35727d;
}

@keyframes tvlMobFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(4px);
    }
}

/* Responsive cho màn hình nhỏ và mobile */
@media screen and (max-width: 768px) {
    .hero-banner-section {
        min-height: auto;
    }
    .hero-desktop-view {
        display: none !important;
    }
    .hero-mobile-view {
        display: block !important;
    }

    /* Tinh chỉnh Header trên mobile cho vừa vặn thanh thoát đúng mockup */
    .tvl-header {
        padding: 10px 14px;
    }
    .tvl-app-icon {
        width: 48px;
        height: 48px;
        border-radius: 12px;
    }
    .tvl-header-actions {
        gap: 6px;
    }
    .tvl-header-actions .tvl-btn-register {
        width: 86px;
        height: 32px;
    }
    .tvl-header-actions .tvl-btn-register .tvl-btn-label {
        font-size: 13px;
        -webkit-text-stroke-width: 0.4px;
    }
    .tvl-header-actions .tvl-btn-login {
        width: 82px;
        height: 30px;
    }
    .tvl-header-actions .tvl-btn-login .tvl-btn-label {
        font-size: 12px;
    }
    .tvl-mobile-toggle {
        padding: 7px 8px;
        background: #edd8be;
        border: 1px solid #d4b184;
        border-radius: 8px;
    }
    .tvl-hamburger-line {
        width: 18px;
        height: 2px;
        background: #3c1e13;
    }
}

/* Scroll down floating indicator (icon scroll-down.png) */
.hero-scroll-down {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    width: 46px;
    height: auto;
    display: block;
    line-height: 0;
    text-decoration: none;
    z-index: 10;
    transition: transform 0.3s ease, filter 0.3s ease;
    animation: tvlScrollFloat 2.2s infinite ease-in-out;
}

.hero-scroll-down img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
    transition: filter 0.3s ease;
}

.hero-scroll-down:hover {
    transform: translateX(-50%) translateY(4px) scale(1.08);
}

.hero-scroll-down:hover img {
    filter: drop-shadow(0 0 14px rgba(60, 185, 220, 0.85)) drop-shadow(0 4px 10px rgba(0, 0, 0, 0.4));
}

@keyframes tvlScrollFloat {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(7px);
    }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media screen and (max-width: 1400px) {
    .tvl-menu-list a {
        font-size: 17px;
        padding: 6px 11px;
    }
    .tvl-menu-list li.current-menu-item > a,
    .tvl-menu-list li.active > a {
        font-size: 17px;
    }
    .tvl-header.is-scrolled .tvl-menu-list a {
        font-size: 17px;
        padding: 6px 11px;
    }
    .tvl-header.is-scrolled .tvl-menu-list li.current-menu-item > a,
    .tvl-header.is-scrolled .tvl-menu-list li.active > a {
        font-size: 17px;
    }
    .tvl-btn-register {
        width: 106px;
        height: 36px;
    }
    .tvl-btn-register .tvl-btn-label {
        font-size: 16px;
        -webkit-text-stroke-width: 0.6px;
    }
    .tvl-btn-login {
        width: 100px;
        height: 34px;
    }
    .tvl-btn-login .tvl-btn-label {
        font-size: 13.5px;
    }
}

@media screen and (max-width: 1140px) {
    .tvl-menu-list a {
        font-size: 15px;
        padding: 6px 8px;
    }
    .tvl-menu-list li.current-menu-item > a,
    .tvl-menu-list li.active > a {
        font-size: 15px;
    }
    .tvl-header.is-scrolled .tvl-menu-list a {
        font-size: 15px;
        padding: 6px 8px;
    }
    .tvl-header.is-scrolled .tvl-menu-list li.current-menu-item > a,
    .tvl-header.is-scrolled .tvl-menu-list li.active > a {
        font-size: 15px;
    }
    .tvl-logo-img {
        height: 44px;
    }
    .tvl-header.is-scrolled .tvl-logo-img {
        height: 70px;
    }
    .tvl-btn-register {
        width: 98px;
        height: 33px;
    }
    .tvl-btn-register .tvl-btn-label {
        font-size: 14.5px;
        -webkit-text-stroke-width: 0.5px;
    }
    .tvl-btn-login {
        width: 92px;
        height: 31px;
    }
    .tvl-btn-login .tvl-btn-label {
        font-size: 12.5px;
    }
    .tvl-hero-center-cluster {
        width: clamp(480px, 46vw, 620px);
        top: 50%;
    }
}

@media screen and (max-width: 960px) {
    .tvl-main-nav {
        display: none;
    }
    .tvl-mobile-toggle {
        display: flex;
    }
    .tvl-header-actions .tvl-btn-register {
        width: 92px;
        height: 34px;
    }
    .tvl-header-actions .tvl-btn-register .tvl-btn-label {
        font-size: 14px;
        -webkit-text-stroke-width: 0.6px;
    }
    .tvl-header-actions .tvl-btn-login {
        width: 88px;
        height: 32px;
    }
    .tvl-header-actions .tvl-btn-login .tvl-btn-label {
        font-size: 13px;
    }
    .tvl-hero-center-cluster {
        width: clamp(440px, 56vw, 540px);
        top: 49%;
    }
}

/* Auto separator for WordPress nav menu items */
.tvl-menu-list > li:not(:last-child):not(.tvl-sep-item)::after {
    content: '';
    display: inline-flex;
    align-self: center;
    width: 5px;
    height: 21px;
    background-image: url('../images/top_line.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 0 4px;
    opacity: 0.85;
}

/* ==========================================================================
   Sticky Navigation Widget ("Bảng Tải Game - Đính bên phải cách đáy 90px")
   Rộng chính xác 297px, các nút tải bằng nhau và nằm gọn trong lá cờ
   ========================================================================== */
.tvl-sticky-nav {
    display: block;
    position: fixed;
    right: 12px;
    bottom: 90px;
    z-index: 998;
    width: 297px;
    height: 586px;
    user-select: none;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1), opacity 0.3s ease;
}

/* Collapsed state */
.tvl-sticky-nav.is-collapsed {
    transform: translateX(calc(100% - 24px));
}

/* Toggle tab on left edge */
.tvl-sticky-toggle {
    position: absolute;
    top: 40%;
    left: -22px;
    width: 22px;
    height: 48px;
    background: linear-gradient(180deg, #dfb45b 0%, #875114 100%);
    border: 1px solid #ffe79c;
    border-right: none;
    border-radius: 6px 0 0 6px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -3px 3px 10px rgba(0, 0, 0, 0.45);
    z-index: 10;
    padding: 0;
    transition: background 0.2s ease, transform 0.2s ease;
}

.tvl-sticky-toggle:hover {
    background: linear-gradient(180deg, #f7ca6d 0%, #a4671a 100%);
}

.tvl-toggle-arrow {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
    display: inline-block;
    transition: transform 0.35s ease;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.tvl-sticky-nav.is-collapsed .tvl-toggle-arrow {
    transform: rotate(180deg);
}

/* Card & Flag Background */
.tvl-sticky-card {
    position: relative;
    width: 100%;
    height: 100%;
    /* display: none; */
}

.tvl-flag-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    pointer-events: none;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
}

.tvl-sticky-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

/* Buttons Common */
.tvl-sbtn {
    text-decoration: none;
    line-height: 0;
    cursor: pointer;
}

/* 1. Tải Game PC (Rộng 194px - Bằng chính xác các nút bên dưới, nằm gọn trong cờ) */
.tvl-sbtn-pc {
    position: absolute;
    top: 89px;
    left: 50%;
    transform: translateX(-50%);
    width: 194px;
    height: 116px;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.tvl-sbtn-pc img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.tvl-sbtn-pc:hover {
    transform: translateX(-50%) translateY(-2px) scale(1.02);
    filter: brightness(1.08) drop-shadow(0 4px 12px rgba(255, 215, 0, 0.65));
}

/* 2. Store Group (GooglePlay, iOS, APK - Rộng 194px) */
.tvl-store-group {
    position: absolute;
    top: 206px;
    left: 50%;
    transform: translateX(-50%);
    width: 194px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.tvl-sbtn-store {
    display: block;
    width: 100%;
    height: 55px;
    transition: transform 0.2s ease, filter 0.2s ease;
}

.tvl-sbtn-store img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.tvl-sbtn-store:hover {
    transform: scale(1.03) translateY(-1px);
    filter: brightness(1.14) drop-shadow(0 2px 8px rgba(65, 195, 225, 0.75));
}

/* 3. Nạp Game (Rộng 194px - Bằng các nút trên, nằm gọn trong cờ) */
.tvl-sbtn-nap {
    position: absolute;
    top: 367px;
    left: 50%;
    transform: translateX(-50%);
    width: 194px;
    height: 88px;
    display: block;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.tvl-sbtn-nap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.tvl-sbtn-nap:hover {
    transform: translateX(-50%) translateY(-2px) scale(1.03);
    filter: brightness(1.08) drop-shadow(0 4px 14px rgba(255, 170, 40, 0.65));
}

/* 4. Social Row */
.tvl-social-row {
    position: absolute;
    top: 440px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.tvl-s-icon {
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.25s ease;
}

.tvl-s-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transform: scale(1.18);
    transition: transform 0.25s ease;
}

.tvl-s-icon:hover img {
    transform: scale(1.3);
}

.tvl-s-icon:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.85));
}

/* 5. TOP Button */
.tvl-sbtn-top,
.tvl-sbtn-top:visited {
    position: absolute;
    top: 500px;
    left: 50%;
    transform: translateX(-50%);
    width: 94px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 9999px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 800;
    color: #3a160c;
    letter-spacing: 0.6px;
    line-height: 1;
    transition: transform 0.25s ease, color 0.25s ease, text-shadow 0.25s ease;
}

.tvl-sbtn-top-text {
    display: inline-block;
    line-height: 1;
}

.tvl-sbtn-top:hover {
    transform: translateX(-50%) scale(1.06);
    color: #1f0903;
    text-shadow: 0 0 8px rgba(255, 245, 190, 0.9);
}

/* Responsive Sticky Nav */
@media screen and (max-height: 720px) {
    .tvl-sticky-nav {
        bottom: 20px;
        transform-origin: bottom right;
        transform: scale(0.9);
    }
    .tvl-sticky-nav.is-collapsed {
        transform: scale(0.9) translateX(calc(100% - 24px));
    }
}

/* Trên màn hình laptop vừa (1201px - 1440px): Scale nhỏ để không lấn lề */
@media screen and (max-width: 1440px) and (min-width: 1201px) {
    .tvl-sticky-nav {
        transform: scale(0.85);
        transform-origin: bottom right;
        right: 8px;
    }
    .tvl-sticky-nav.is-collapsed {
        transform: scale(0.85) translateX(calc(100% - 24px));
    }
}

/* Trên màn hình Laptop nhỏ (1025px - 1200px): Tự động thu gọn vào mép phải */
@media screen and (max-width: 1200px) and (min-width: 1025px) {
    .tvl-sticky-nav {
        transform: scale(0.85) translateX(calc(100% - 24px));
        transform-origin: bottom right;
        right: 0;
    }
    .tvl-sticky-nav.is-expanded {
        transform: scale(0.85) translateX(0);
    }
}

/* Ẩn hoàn toàn bảng tải game cố định (Sticky Nav) trên Mobile & Tablet theo yêu cầu */
@media screen and (max-width: 1024px) {
    .tvl-sticky-nav,
    #tvl-sticky-nav {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
}

/* ==========================================================================
   Section Titles Typography (Yeseva One)
   ========================================================================== */
.tvl-sec-heading,
.tvl-section-title {
    font-family: var(--tvl-font-title, 'Yeseva One', serif);
}


