        :root {
            --primary: #3b82f6;
            --bg-gradient: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
            --primary: linear-gradient(135deg, #7f7fd5, #0f0c14);
            --accent: #d946ef;
            --dark-bg: #050507;
            --panel-bg: rgba(15, 15, 20, 0.65);
            --border-color: rgba(255, 255, 255, 0.08);
            --text-main: #e2e8f0;
        }
        body::after {
            content: "";
            position: fixed;
            inset: 0;
            background: url('https://sf-static.upanhlaylink.com/img/image_2026101381cdadb8594119437738ca9084af1728.jpg') no-repeat center center;
            background-size: cover;
            z-index: -1;
        }
        @media (max-width: 768px) {
            body::after {
                background: url('https://sf-static.upanhlaylink.com/img/image_2026101381cdadb8594119437738ca9084af1728.jpg') no-repeat center center;
                background-size: cover;
                background-attachment: scroll;
            }
        }
        body::before {
            content: "";
            position: fixed;
            width: 100%;
            height: 100%;
            background-image:
                radial-gradient(2px 2px at 10px 30px, #fff, transparent),
                radial-gradient(2px 2px at 200px 150px, #fff, transparent),
                radial-gradient(2px 2px at 400px 300px, #fff, transparent),
                radial-gradient(2px 2px at 600px 100px, #fff, transparent);
            background-size: 200px 200px;
            animation: starsAnimation 60s linear infinite;
            opacity: 1;
            z-index: 0;
            pointer-events: none;
        }
        @keyframes starsAnimation {
            from { transform: translateY(0); }
            to { transform: translateY(-2000px); }
        }
        @keyframes gradientBG {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        @keyframes float {
            0% { transform: translateY(0px); }
            50% { transform: translateY(-10px); }
            100% { transform: translateY(0px); }
        }
        .snowflakes { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 100; }
        .snowflake { color: #fff; font-size: 1.2em; position: absolute; top: -10%; animation: fall linear infinite; opacity: 0.5; }
        @keyframes fall { to { transform: translateY(110vh) rotate(360deg); } }
        .glass-card {
            background: rgba(255, 255, 255, 0.116);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            border: 1px solid rgba(255, 255, 255, 0.6);
            border-radius: 24px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }
        .glass-card:hover {
            transform: translateY(-8px);
            background: rgba(255, 255, 255, 0.082);
            border-color: var(--primary);
            box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
        }
        .avatar-container { position: relative; padding: 8px; }
       .avatar-container { position: relative; }
/* Đã tắt viền gradient cũ để ảnh viền thay thế */
        @keyframes rotateGlow { 100% { transform: rotate(360deg); } }

       /* ===== VIỀN NỔI TRÊN AVATAR (khớp đúng viền) ===== */
.avatar-frame {
    position: relative;
    display: inline-block;
    padding: 8px; /* khớp padding của .avatar-container cũ */
}
.avatar-frame .frame-img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform: translate(-50%, -50%);
    object-fit: contain;
    pointer-events: none;
    z-index: 20;
    filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5))
            drop-shadow(0 0 14px rgba(59, 130, 246, 0.35));
}
        @keyframes frameFloat {
            0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(0deg); }
            50%      { transform: translate(-50%, -50%) translateY(-6px) rotate(1.5deg); }
        }
        @media (max-width: 480px) {
            .avatar-frame .frame-img { width: 180%; height: 180%; }
        }

        .btn-action {
            background: white; width: 50px; height: 50px; border-radius: 16px;
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 6px 15px rgba(0,0,0,0.06); color: #1e293b; transition: 0.3s;
            flex-shrink: 0; border: 1px solid rgba(255,255,255,0.8);
        }
        .btn-action:hover {
            background: var(--primary); color: white; transform: rotate(8deg) scale(1.1);
        }
        .list-container {
            margin: 0 15px; background: rgba(255, 255, 255, 0.3);
            border-radius: 30px; border: 1px solid rgba(255,255,255,0.4); overflow: hidden;
        }
        .list-row {
            display: flex; align-items: center; justify-content: space-between;
            padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,0.2);
            transition: 0.3s;
        }
        .list-row:hover { background: rgba(255,255,255,0.2); }
        .list-row img {
            width: 58px; height: 58px; border-radius: 18px;
            object-fit: cover; border: 2px solid white; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }
        .section-title { font-size: 24px; font-weight: 800; text-align: center; margin: 40px 0 20px; color: #06f591; text-transform: uppercase; letter-spacing: 1px; }
        .faq-box {
            width: 100px; height: 85px; border: 3px solid #1e293b; border-radius: 20px;
            position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center;
            transition: 0.3s; background: white;
        }
        .faq-box:hover { background: #1e293b; color: white; transform: scale(1.1); }
        .faq-box::after {
            content: ''; position: absolute; bottom: -15px; left: 20px;
            border-left: 10px solid transparent; border-right: 10px solid transparent;
            border-top: 15px solid #1e293b;
        }
        @keyframes bg-move {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        @keyframes shimmer { 100% { transform: translateX(100%); } }
        .particles {
            position: fixed; top: 0; left: 0; width: 100%; height: 100%;
            pointer-events: none; z-index: 1;
        }
        .particle {
            position: absolute; width: 4px; height: 4px; background: white;
            border-radius: 50%; opacity: 0.6; animation: floatParticle linear infinite;
        }
        @keyframes floatParticle {
            from { transform: translateY(100vh) scale(0.5); opacity: 0; }
            20% { opacity: 1; }
            to { transform: translateY(-10vh) scale(1); opacity: 0; }
        }
        .mouse-glow {
            position: fixed; width: 200px; height: 200px;
            background: radial-gradient(circle, rgba(127,127,213,0.25), transparent 70%);
            border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%);
            z-index: 2; transition: 0.05s linear;
        }
        .verify { width: 31px; height: 31px; margin-left: 2px; vertical-align: -3px; }
        .left-col { position: relative; z-index: 10; }
        #overlay {
            position: fixed; inset: 0; background: rgba(10, 10, 20, 0);
            backdrop-filter: blur(0px); -webkit-backdrop-filter: blur(0px);
            opacity: 0; pointer-events: none; transition: all 0.4s ease; z-index: 9998;
        }
        #overlay.active { opacity: 1; pointer-events: auto; }
        #sidebar {
            position: fixed; top: 0; right: 0; width: 280px; height: 100%;
            background: rgba(20,20,30,0.75); backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px); border-left: 1px solid rgba(255,255,255,0.08);
            box-shadow: -20px 0 60px rgba(0,0,0,0.6); padding: 24px;
            border-top-left-radius: 24px; border-bottom-left-radius: 24px;
            transform: translateX(110%); opacity: 0;
            transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease;
            will-change: transform; z-index: 9999; overflow-y: auto;
        }
        #sidebar.active { transform: translateX(0); opacity: 1; animation: slideIn 0.5s cubic-bezier(0.22,1,0.36,1); }
        #sidebar h2 { font-size: 20px; font-weight: 900; color: white; margin-bottom: 20px; letter-spacing: 1px; }
        #sidebar a {
            display: flex; align-items: center; gap: 10px; padding: 14px 12px;
            margin-bottom: 10px; font-weight: 700; color: #cbd5f5;
            border-radius: 14px; background: rgba(255,255,255,0.05);
            border: 1px solid transparent; transition: all 0.3s ease;
        }
        #sidebar a:hover {
            background: linear-gradient(135deg, #3b82f6, #a855f7);
            color: white; transform: translateX(8px) scale(1.03);
            box-shadow: 0 10px 25px rgba(59,130,246,0.4);
        }
        #managedMenuItems .managed-menu-group { margin: 4px 0 12px; }
        #managedMenuItems .managed-menu-category { cursor: pointer; }
        #managedMenuItems .managed-menu-children {
            margin: 0 0 10px 15px;
            padding-left: 10px;
            border-left: 1px solid rgba(203,213,245,.28);
        }
        #managedMenuItems .managed-menu-children a {
            margin-bottom: 7px;
            padding: 11px 12px;
            font-size: .94em;
            background: rgba(255,255,255,.035);
        }
        #menuBtn { transition: transform 0.3s ease; }
        #menuBtn:active { transform: scale(0.9); }
        @keyframes slideIn {
            from { transform: translateX(100%) scale(0.95); opacity: 0; }
            to { transform: translateX(0) scale(1); opacity: 1; }
        }
        .music-controls {
            position: fixed; bottom: 20px; right: 20px; display: flex; gap: 10px;
            z-index: 1000; background: rgba(255, 255, 255, 0.096); padding: 12px;
            border-radius: 30px; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
            backdrop-filter: blur(10px);
        }
        .music-btn {
            width: 45px; height: 45px; background: rgba(251, 251, 252, 0.089);
            color: white; border: none; border-radius: 50%; display: flex;
            align-items: center; justify-content: center; cursor: pointer;
            font-size: 1.1rem; transition: all 0.3s ease;
        }
        .music-btn:hover { transform: scale(1.1); background: rgba(243, 244, 245, 0.137); }
        .select-btn { background: rgba(156, 89, 182, 0.452) !important; }
        .select-btn:hover { background: rgba(141, 68, 173, 0.397) !important; }
        .song-list-panel {
            position: fixed; bottom: 100px; right: 20px;
            background: rgba(255, 255, 255, 0.089); backdrop-filter: blur(2px);
            border-radius: 15px; padding: 15px; box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            z-index: 1001; width: 250px; opacity: 0; transform: translateY(20px);
            transition: all 0.3s ease; pointer-events: none;
        }
        .song-list-panel.show { opacity: 1; transform: translateY(0); pointer-events: all; }
        .song-list-header {
            display: flex; justify-content: space-between; align-items: center;
            margin-bottom: 10px; padding-bottom: 10px;
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
            font-weight: 600; color: #fff;
        }
        .close-list-btn { background: none; border: none; cursor: pointer; color: #ccc; font-size: 1.2rem; padding: 5px; }
        .song-list-content { max-height: 200px; overflow-y: auto; }
        .song-list-item {
            display: flex; align-items: center; gap: 10px; padding: 10px;
            border-radius: 8px; cursor: pointer; transition: all 0.2s ease;
            font-size: 14px; color: #fff; margin-bottom: 5px;
        }
        .song-list-item:hover { background: rgba(77, 171, 247, 0.2); }
        .song-list-item.active { background: rgba(77, 171, 247, 0.3); color: #4dabf7; }
        .song-notification {
            position: fixed; top: 20px; left: 50%;
            transform: translateX(-50%) translateY(-100px);
            background: rgba(0, 0, 0, 0.473); color: white; padding: 12px 25px;
            border-radius: 30px; z-index: 1002; backdrop-filter: blur(7px);
            transition: all 0.5s ease; opacity: 0;
        }
        .song-notification.show { transform: translateX(-50%) translateY(0); opacity: 1; }
        .notification-content { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
        #bg-overlay {
            position: fixed; inset: 0;
            background: linear-gradient(to bottom, rgba(5, 5, 10, 0), rgba(5, 5, 10, 0));
            backdrop-filter: blur(0px); z-index: 0; pointer-events: none;
        }

        #adminPanel {
            position: fixed; inset: 0; z-index: 10010; display: none;
            align-items: center; justify-content: center; padding: 14px;
            background: rgba(5,5,15,.80); backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
        }
        #adminPanel.active { display: flex; animation: adminFade .25s ease; }
        @keyframes adminFade { from {opacity:0} to {opacity:1} }
        .admin-window {
            width: 100%; max-width: 490px; max-height: 92vh; max-height: 92dvh;
            overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
            touch-action: pan-y; padding: 21px; border-radius: 25px; color: white;
            background: rgba(25,25,40,.94); border: 1px solid rgba(255,255,255,.2);
            box-shadow: 0 20px 70px rgba(0,0,0,.65);
        }
        .admin-title {
            font-size: 23px; font-weight: 900; text-align: center;
            background: linear-gradient(90deg,#60a5fa,#c084fc,#f0abfc);
            -webkit-background-clip: text; background-clip: text; color: transparent;
        }
        .admin-input {
            width: 100%; padding: 12px 14px; margin-top: 9px;
            border-radius: 12px; outline: none; color: white;
            background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.17);
        }
        .admin-input:focus { border-color: #a78bfa; box-shadow: 0 0 12px rgba(167,139,250,.25); }
        .admin-input::placeholder { color: #aaa; }
        .admin-action {
            padding: 12px; border-radius: 13px; color: white; font-weight: 800;
            background: linear-gradient(135deg,#3b82f6,#9333ea); transition: .25s;
        }
        .admin-action:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(99,102,241,.35); }
        .admin-danger { background: linear-gradient(135deg,#ef4444,#991b1b); }
        .admin-item {
            padding: 13px; margin-top: 10px; border-radius: 15px;
            background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
        }
        .admin-small-btn {
            padding: 7px 10px; border-radius: 9px; font-size: 12px;
            font-weight: bold; color: white; background: rgba(255,255,255,.13);
        }
        .admin-description { color: #cbd5e1; font-size: 12px; line-height: 1.6; }
        .dynamic-section { margin: 25px 15px; }
        .dynamic-category { margin-bottom: 25px; }
        .dynamic-category-title {
            color: #06f591; font-size: 21px; font-weight: 900;
            text-transform: uppercase; text-align: center; margin: 25px 0 15px;
        }
        .dynamic-product {
            background: rgba(255,255,255,.12); backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,.35); border-radius: 22px;
            padding: 15px; margin-bottom: 13px; display: flex;
            align-items: center; justify-content: space-between; gap: 12px; transition: .3s;
        }
        .dynamic-product:hover { transform: translateY(-4px); background: rgba(255,255,255,.2); }
        .dynamic-product img { width: 52px; height: 52px; border-radius: 15px; object-fit: cover; flex-shrink: 0; }
        .dynamic-product-name { color: #fff; font-weight: 900; overflow-wrap: anywhere; }
        .dynamic-product-desc { color: #dbeafe; font-size: 12px; margin-top: 4px; overflow-wrap: anywhere; }
        .dynamic-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
        .dynamic-social a {
            width: 50px; height: 50px; border-radius: 16px; display: flex;
            justify-content: center; align-items: center; background: white;
            color: #3b82f6; font-size: 21px; box-shadow: 0 6px 15px rgba(0,0,0,.1); transition: .3s;
        }
        .dynamic-social a:hover { transform: scale(1.1); }
        .admin-field { display:block; margin-top:15px; color:#d9d5e8; font-size:14px; }
        .admin-field input, .admin-field select, .admin-field textarea {
            display:block; width:100%; margin-top:8px; padding:13px 14px; border-radius:15px;
            font-size:16px; touch-action: manipulation;
            color:#f8f7ff; background:rgba(4,3,15,.78); border:1px solid rgba(190,140,230,.38);
            outline:none; font:inherit; min-height:48px;
        }
        .admin-field select option { color:#111; }
        .admin-field input:focus, .admin-field select:focus, .admin-field textarea:focus {
            border-color:#b58aff; box-shadow:0 0 0 3px rgba(181,138,255,.12);
        }
        .admin-form-actions { display:flex; gap:12px; margin-top:18px; }
        .admin-form-actions button { flex:1; min-width:0; }
        .admin-gradient { background:linear-gradient(110deg,#11b8c9,#8d35d4); }
        .admin-muted { background:rgba(255,255,255,.10); border:1px solid rgba(210,170,255,.24); }
        .admin-list-card { padding:13px; margin-top:10px; border-radius:15px; background:rgba(255,255,255,.065); border:1px solid rgba(255,255,255,.12); }
        .admin-section-heading { font-size:20px; font-weight:900; margin:25px 0 12px; }
        #adminPanel, #adminPanel * { -webkit-tap-highlight-color: transparent; }
        #adminPanel button, #adminPanel select { touch-action: manipulation; }
        .admin-social-preview { display:flex; align-items:center; gap:12px; min-width:0; }
        .admin-social-icon { width:42px; height:42px; flex:0 0 42px; display:grid; place-items:center;
            border-radius:13px; color:#fff; background:linear-gradient(135deg,#11b8c9,#8d35d4); font-size:19px; }
        .admin-social-url { overflow-wrap:anywhere; color:#cbd5e1; font-size:12px; margin-top:4px; }
        @media (max-width: 480px) {
            .admin-window { padding: 16px; }
            .dynamic-product { padding: 12px; }
            .admin-form-actions { gap:8px; }
        }
    
