/* ============================================================
                        DMKDORASHOP
   ============================================================ */
:root,
[data-theme="dark"] {
    --bg:          #16181d;       
    --bg-card:     #1e2029;       
    --bg-input:    #252830;         
    --bg-header:   rgba(22,24,29,0.97);
    --text:        #dde1ec;        
    --text-muted:  #6e7490;          
    --border:      #2e3142;         
    --primary:     #8b5cf6;         
    --primary-dim: rgba(139,92,246,0.12);
    --secondary:   #a855f7;
    --success:     #10b981;
    --warning:     #f59e0b;
    --danger:      #ef4444;
    --card-shadow: 0 2px 16px rgba(0,0,0,0.35);
    --glow:        0 0 18px rgba(139,92,246,0.22);
}

[data-theme="dark"] .site-header {
    background: rgba(22,24,29,0.97);
    border-bottom: 1px solid #2e3142;
    backdrop-filter: blur(14px);
}

[data-theme="dark"] .nav-link {
    color: #9ca3b8;
    font-weight: 500;
}
[data-theme="dark"] .nav-link:hover {
    background: rgba(139,92,246,0.10);
    color: #c4b5fd;
}
[data-theme="dark"] .nav-link.active {
    background: rgba(139,92,246,0.15);
    color: #a78bfa;
    font-weight: 700;
    border-radius: 8px;
}

[data-theme="dark"] .drop-menu {
    background: #1e2029;
    border: 1px solid #2e3142;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
}
[data-theme="dark"] .drop-menu a {
    color: #9ca3b8;
}
[data-theme="dark"] .drop-menu a:hover {
    background: rgba(139,92,246,0.10);
    color: #a78bfa;
}
[data-theme="dark"] .user-drop {
    background: #1e2029;
    border: 1px solid #2e3142;
}
[data-theme="dark"] .user-btn {
    background: #1e2029;
    border-color: #2e3142;
}
[data-theme="dark"] .user-balance {
    color: #10b981;
}

[data-theme="dark"] .top-sidebar-card,
[data-theme="dark"] .top-sidebar-card-dark {
    background: #1e2029;
    border: 1px solid #2e3142;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

[data-theme="dark"] .top-sidebar-header,
[data-theme="dark"] .top-sidebar-header-dark {
    background: linear-gradient(135deg, #4c1d95, #6d28d9);
    color: #fff;
    border-bottom: 1px solid #2e3142;
}
[data-theme="dark"] .top-sidebar-header i,
[data-theme="dark"] .top-sidebar-header-dark i {
    color: #fbbf24;
}

[data-theme="dark"] .top-item {
    background: #252830;
    border: 1px solid #2e3142;
    border-radius: 10px;
    margin-bottom: 8px;
}
[data-theme="dark"] .top-item:hover {
    background: #2e3142;
    border-color: #8b5cf6;
}
[data-theme="dark"] .top-rank { color: #8b5cf6; background: rgba(139,92,246,0.12); }
[data-theme="dark"] .top-rank.r1 { color: #fbbf24; }
[data-theme="dark"] .top-rank.r2 { color: #d1d5db; }
[data-theme="dark"] .top-rank.r3 { color: #cd7f32; }
[data-theme="dark"] .top-name { color: #dde1ec; }
[data-theme="dark"] .top-amount { color: #10b981; }
[data-theme="dark"] .top-nap-btn,
[data-theme="dark"] .top-nap-btn-dark {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: #fff;
    font-weight: 800;
}
[data-theme="dark"] .top-nap-btn:hover,
[data-theme="dark"] .top-nap-btn-dark:hover {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 6px 20px rgba(124,58,237,0.5);
}

[data-theme="dark"] .card,
[data-theme="dark"] .deposit-card,
[data-theme="dark"] .feature-card,
[data-theme="dark"] .filter-card,
[data-theme="dark"] .notice-box,
[data-theme="dark"] .faq-section,
[data-theme="dark"] .live-order-box {
    background: #1e2029;
    border-color: #2e3142;
    color: #dde1ec;
}

[data-theme="dark"] .product-card {
    background: #1e2029;
    border-color: #2e3142;
}
[data-theme="dark"] .product-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 8px 28px rgba(139,92,246,0.2);
    transform: translateY(-4px);
}

[data-theme="dark"] .feature-card {
    background: #1e2029;
    border-color: #2e3142;
}
[data-theme="dark"] .feature-card:hover {
    border-color: #8b5cf6;
}

[data-theme="dark"] .account-sidebar {
    background: #1e2029;
    border-color: #2e3142;
}
[data-theme="dark"] .account-content {
    background: #1e2029;
    border-color: #2e3142;
}
[data-theme="dark"] .sidebar-nav-item {
    color: #9ca3b8;
}
[data-theme="dark"] .sidebar-nav-item:hover {
    background: rgba(139,92,246,0.08);
    color: #a78bfa;
}
[data-theme="dark"] .sidebar-nav-item.active {
    background: rgba(139,92,246,0.14);
    color: #a78bfa;
    border-left-color: #8b5cf6;
}
[data-theme="dark"] .sidebar-balance {
    border-top-color: #2e3142;
}

[data-theme="dark"] .order-card {
    background: #1e2029;
    border-color: #2e3142;
}
[data-theme="dark"] .order-card:hover {
    border-color: #8b5cf6;
    box-shadow: 0 8px 24px rgba(139,92,246,0.18);
}


[data-theme="dark"] .profile-field {
    background: #252830;
    border-color: #2e3142;
}


[data-theme="dark"] .site-footer {
    background: #111318;
    border-top-color: #2e3142;
}
[data-theme="dark"] .footer-bottom {
    border-top-color: #2e3142;
}
[data-theme="dark"] .footer-social a {
    background: #252830;
    border-color: #2e3142;
}
[data-theme="dark"] .footer-social a:hover {
    background: #8b5cf6;
}


[data-theme="dark"] .ticker-wrap,
[data-theme="dark"] .deposit-ticker {
    background: linear-gradient(90deg, #1e1535, #2d1f4e);
    border-color: #2e3142;
    color: #c4b5fd;
}


[data-theme="dark"] .form-input,
[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="number"],
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background: #252830;
    border-color: #2e3142;
    color: #dde1ec;
}
[data-theme="dark"] .form-input::placeholder { color: #6e7490; }
[data-theme="dark"] .form-input:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
    outline: none;
}

[data-theme="dark"] .data-table th {
    background: #252830;
    border-bottom: 2px solid #2e3142;
    color: #9ca3b8;
}
[data-theme="dark"] .data-table td {
    border-bottom-color: #2e3142;
    color: #dde1ec;
}
[data-theme="dark"] .data-table tr:hover td {
    background: rgba(139,92,246,0.06);
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #16181d; }
::-webkit-scrollbar-thumb { background: #2e3142; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #8b5cf6; }


[data-theme="dark"] .notif-panel {
    background: #1e2029;
    border-color: #2e3142;
}
[data-theme="dark"] .notif-item { border-bottom-color: #2e3142; }
[data-theme="dark"] .notif-item:hover { background: rgba(139,92,246,0.08); }
[data-theme="dark"] .notif-item.unread { background: rgba(139,92,246,0.10); }


[data-theme="dark"] .transfer-panel {
    background: #1e2029;
    border-color: #8b5cf6;
}
[data-theme="dark"] .transfer-row {
    border-bottom-color: #2e3142;
}
[data-theme="dark"] .bank-info {
    background: #252830;
}
[data-theme="dark"] .bank-row {
    border-bottom-color: #2e3142;
}

[data-theme="light"] {
    --bg:          #f0f2f7;
    --bg-card:     #ffffff;
    --bg-input:    #f4f6fb;
    --bg-header:   rgba(255,255,255,0.95);
    --text:        #1a1f2e;
    --text-muted:  #6b7280;
    --border:      #e2e6ef;
    --primary:     #6c63ff;
    --primary-dim: rgba(108,99,255,0.1);
    --secondary:   #b040ff;
    --success:     #16a34a;
    --warning:     #d97706;
    --danger:      #dc2626;
    --card-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --glow:        none;
}


*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    transition: background 0.35s, color 0.35s;
    overflow-x: hidden;
}
a { color: var(--primary); text-decoration:none; }
img { max-width:100%; }
button { font-family: inherit; }


.welcome-overlay {
    position: fixed; inset:0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 9990;
    display: flex; align-items:center; justify-content:center;
    animation: fadeIn 0.3s;
}
.welcome-overlay.hidden { display:none; }

.welcome-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 44px 36px 36px;
    max-width: 440px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: var(--card-shadow), var(--glow);
    animation: popIn 0.4s cubic-bezier(.175,.885,.32,1.275);
}
@keyframes popIn {
    from { transform:scale(0.8); opacity:0; }
    to   { transform:scale(1);   opacity:1; }
}
.welcome-close {
    position:absolute; top:14px; right:16px;
    background:none; border:none;
    color:var(--text-muted); font-size:18px; cursor:pointer;
    transition:color .2s;
}
.welcome-close:hover { color:var(--danger); }

.welcome-icon {
    width:72px; height:72px; border-radius:50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display:flex; align-items:center; justify-content:center;
    margin:0 auto 20px;
    font-size:32px; color:#fff;
}
.welcome-box h2 { font-size:22px; font-weight:700; margin-bottom:10px; line-height:1.4; }
.welcome-box p { color:var(--text-muted); font-size:14px; margin-bottom:20px; }
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent;
    background-clip:text;
}
.welcome-features { display:flex; gap:12px; justify-content:center; margin-bottom:24px; flex-wrap:wrap; }
.wf-item {
    background:var(--primary-dim); border-radius:20px;
    padding:6px 14px; font-size:13px; font-weight:500;
    color:var(--primary);
}
.wf-item i { margin-right:5px; }
.welcome-btn {
    display:block; width:100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff; border:none; border-radius:12px;
    padding:13px; font-size:16px; font-weight:700;
    cursor:pointer; transition:transform .2s, box-shadow .2s;
}
.welcome-btn:hover { transform:translateY(-2px); box-shadow:var(--glow); }


.site-header {
    position:sticky; top:0; z-index:1000;
    background: var(--bg-header);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: background .35s, border-color .35s;
}
.header-inner {
    max-width:1320px; margin:0 auto;
    display:flex; align-items:center; justify-content:space-between;
    padding:0 24px; height:62px; gap:16px;
}

.site-logo {
    display:flex; align-items:center; gap:9px;
    text-decoration:none; flex-shrink:0;
}
.logo-icon { color:var(--primary); font-size:20px; }
.logo-text {
    font-size:17px; font-weight:800; letter-spacing:1.5px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent;
    background-clip:text;
}

.main-nav { display:flex; align-items:center; gap:4px; flex:1; justify-content:center; }
.nav-link {
    color:var(--text); font-size:13.5px; font-weight:500;
    padding:7px 12px; border-radius:8px;
    white-space:nowrap; transition:background .2s, color .2s;
    display:flex; align-items:center; gap:6px;
}
.nav-link:hover, .nav-link.active { background:var(--primary-dim); color:var(--primary); }
.nav-link i { font-size:12px; }
.drop-arrow { font-size:9px !important; margin-left:2px; transition:transform .2s; }


.nav-dropdown {
    position: relative;
}

.nav-dropdown::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 12px;
}

.nav-dropdown:hover .drop-menu {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-dropdown:hover .drop-arrow {
    transform: rotate(180deg);
}

.drop-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%) translateY(0);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    min-width: 195px;
    padding: 6px 0;
    box-shadow: var(--card-shadow);
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s, transform .22s;
    z-index: 100;
}

.drop-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 18px;
    color: var(--text);
    font-size: 13.5px;
    font-weight: 500;
}

.drop-menu a:hover {
    background: var(--primary-dim);
    color: var(--primary);
}



.header-right { display:flex; align-items:center; gap:10px; flex-shrink:0; }

.theme-toggle {
    width:36px; height:36px; border-radius:50%;
    border:1px solid var(--border); background:var(--bg-card);
    color:var(--text); font-size:15px;
    cursor:pointer; transition:all .2s;
    display:flex; align-items:center; justify-content:center;
}
.theme-toggle:hover { border-color:var(--primary); color:var(--primary); background:var(--primary-dim); }

.notif-bell-wrap { position:relative; }
.notif-bell {
    position:relative; width:36px; height:36px; border-radius:50%;
    border:1px solid var(--border); background:var(--bg-card);
    color:var(--text); font-size:15px;
    cursor:pointer; transition:all .2s;
    display:flex; align-items:center; justify-content:center;
}
.notif-bell:hover { border-color:var(--primary); color:var(--primary); background:var(--primary-dim); }
.notif-badge {
    position:absolute; top:-3px; right:-3px;
    background:var(--danger); color:#fff;
    font-size:10px; font-weight:700;
    width:17px; height:17px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
}
.notif-badge.hidden { display:none; }

.notif-panel {
    position:absolute; top:calc(100% + 10px); right:0; left:auto;
    width:320px; background:var(--bg-card);
    border:1px solid var(--border); border-radius:12px;
    box-shadow:var(--card-shadow);
    opacity:0; pointer-events:none; transform:translateY(-8px);
    transition:opacity .22s, transform .22s;
    z-index:200;
}
.notif-panel.open { opacity:1; pointer-events:auto; transform:translateY(0); }
.notif-header {
    display:flex; justify-content:space-between; align-items:center;
    padding:14px 18px; border-bottom:1px solid var(--border);
    font-weight:600; font-size:14px;
}
.notif-clear { background:none; border:none; color:var(--primary); font-size:12px; cursor:pointer; }
.notif-list { max-height:280px; overflow-y:auto; }
.notif-item {
    display:flex; gap:12px; align-items:flex-start;
    padding:12px 18px; border-bottom:1px solid var(--border);
    transition:background .15s;
}
.notif-item:last-child { border-bottom:none; }
.notif-item.unread { background:var(--primary-dim); }
.notif-item:hover { background:var(--primary-dim); }
.notif-icon { font-size:18px; margin-top:2px; flex-shrink:0; }
.notif-icon.success { color:var(--success); }
.notif-icon.warning { color:var(--warning); }
.notif-icon.primary { color:var(--primary); }
.notif-content { display:flex; flex-direction:column; gap:2px; }
.notif-text { font-size:13px; color:var(--text); }
.notif-time { font-size:11px; color:var(--text-muted); }


.user-area { display:flex; align-items:center; gap:10px; }
.user-balance {
    font-size:13px; font-weight:600; color:var(--success);
    display:flex; align-items:center; gap:5px;
}
.user-balance i { font-size:12px; }
.user-dropdown-wrap { position:relative; }
.user-btn {
    display:flex; align-items:center; gap:8px;
    background:var(--bg-card); border:1px solid var(--border);
    border-radius:22px; padding:5px 14px 5px 6px;
    color:var(--text); font-size:13.5px; font-weight:500;
    cursor:pointer; transition:all .2s;
}
.user-btn:hover { border-color:var(--primary); }
.user-avatar {
    width:28px; height:28px; border-radius:50%;
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    display:flex; align-items:center; justify-content:center;
    color:#fff; font-size:13px;
}
.user-btn .fa-chevron-down { font-size:9px; color:var(--text-muted); }
.user-drop {
    position:absolute; top:calc(100% + 8px); right:0;
    min-width:200px; background:var(--bg-card);
    border:1px solid var(--border); border-radius:10px;
    box-shadow:var(--card-shadow);
    opacity:0; pointer-events:none; transform:translateY(-6px);
    transition:opacity .22s, transform .22s;
    z-index:200; overflow:hidden;
}
.user-drop.open { opacity:1; pointer-events:auto; transform:translateY(0); }
.user-drop a {
    display:flex; align-items:center; gap:10px;
    padding:10px 18px; color:var(--text); font-size:13.5px; font-weight:500;
    transition:background .15s, color .15s;
}
.user-drop a:hover { background:var(--primary-dim); color:var(--primary); }
.user-drop a i { width:15px; text-align:center; color:var(--text-muted); }
.user-drop hr { border:none; border-top:1px solid var(--border); margin:4px 0; }
.user-drop .logout-link { color:var(--danger) !important; }
.user-drop .logout-link i { color:var(--danger) !important; }
.user-drop .logout-link:hover { background:rgba(255,59,92,0.08); }

.guest-area { display:flex; gap:8px; }
.btn-login, .btn-register {
    padding:7px 18px; border-radius:8px;
    font-size:13.5px; font-weight:600;
    display:flex; align-items:center; gap:6px;
    transition:all .2s;
}
.btn-login {
    background:transparent; border:1.5px solid var(--primary); color:var(--primary);
}
.btn-login:hover { background:var(--primary); color:#fff; }
.btn-register {
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff; border:none;
}
.btn-register:hover { transform:translateY(-1px); box-shadow:var(--glow); }


.page-main { min-height:calc(100vh - 62px - 160px); }
.container { max-width:1200px; margin:0 auto; padding:0 24px; }


.hero-section {
    position:relative; overflow:hidden;
    background: linear-gradient(135deg, rgba(0,240,255,0.08) 0%, rgba(176,64,255,0.08) 100%);
    border-bottom: 1px solid var(--border);
    padding:56px 24px;
    text-align:center;
}
.hero-bg {
    position:absolute; inset:0; pointer-events:none;
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(0,240,255,0.06), transparent),
        radial-gradient(ellipse 500px 350px at 80% 60%, rgba(176,64,255,0.06), transparent);
}
.hero-content { position:relative; z-index:1; max-width:700px; margin:0 auto; }
.hero-content h1 {
    font-size:42px; font-weight:900; margin-bottom:14px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent;
    background-clip:text;
}
.hero-content h1 i { -webkit-text-fill-color:var(--primary); margin-right:10px; }
.hero-content p { color:var(--text-muted); font-size:17px; margin-bottom:28px; }
.hero-btns { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.hero-btn {
    padding:13px 32px; border-radius:10px; font-size:16px; font-weight:600;
    display:inline-flex; align-items:center; gap:8px;
    cursor:pointer; border:none; transition:all .25s;
}
.hero-btn-primary {
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff; box-shadow:var(--glow);
}
.hero-btn-primary:hover { transform:translateY(-2px); box-shadow:0 6px 28px rgba(0,240,255,0.3); }
.hero-btn-outline {
    background:transparent; border:1.5px solid var(--border);
    color:var(--text);
}
.hero-btn-outline:hover { border-color:var(--primary); color:var(--primary); }


.hero-banner-section {
    
    position:relative; overflow:hidden;
    min-height:320px; width:100%;
    background:linear-gradient(135deg, #0f1528 0%, #1a1a2e 100%);
    display:flex; align-items:center; justify-content:center;
    
}

.hero-banner-section img,
.hero-banner-section video {
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
}

.hero-banner-fallback {
    position:absolute; inset:0; width:100%; height:100%;
    background:linear-gradient(135deg, #0f1528, #1a1a2e);
    overflow:hidden;
}
.hb-orb {
    position:absolute; border-radius:50%; filter:blur(80px); opacity:.45;
    animation:orbFloat 8s ease-in-out infinite alternate;
}
.hb-orb-1 { width:380px; height:380px; background:#7c4dff; top:-80px; left:-100px; animation-delay:0s; }
.hb-orb-2 { width:300px; height:300px; background:#00e5ff; bottom:-60px; right:-80px; animation-delay:2s; }
.hb-orb-3 { width:220px; height:220px; background:#ff4081; top:40%; left:55%; animation-delay:4s; }
@keyframes orbFloat {
    from { transform:translate(0,0) scale(1); }
    to   { transform:translate(30px,-40px) scale(1.15); }
}

.hero-banner-overlay {
    display: none !important;
}


.hero-banner-content {
    position:relative; z-index:2;
    text-align:center; padding:40px 24px;
    max-width:700px; width:100%;
}
.hero-banner-content h1 {
    font-size:46px; font-weight:900; color:#fff;
    margin-bottom:10px; text-shadow:0 2px 20px rgba(0,0,0,.5);
    background:linear-gradient(135deg,#fff 30%,var(--primary));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent;
    background-clip:text;
}
.hero-sub {
    color:rgba(255,255,255,.75); font-size:15px;
    margin-bottom:24px; letter-spacing:0.3px;
}
.hero-banner-social {
    display:flex; gap:12px; justify-content:center; flex-wrap:wrap;
}
.hero-banner-social a {
    display:inline-flex; align-items:center; gap:7px;
    padding:10px 22px; border-radius:24px;
    background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.2);
    color:#fff; text-decoration:none; font-size:14px; font-weight:600;
    backdrop-filter:blur(6px);
    transition:background .25s, transform .15s;
}
.hero-banner-social a:hover {
    background:rgba(124,77,255,.45); transform:translateY(-2px);
}


   
.home-layout { display:flex; gap:28px; max-width:1320px; margin:0 auto; padding:32px 24px; align-items:flex-start; }
.home-main { flex:1; min-width:0; }
.home-sidebar { width:300px; flex-shrink:0; }


.top-sidebar-card {
    background:var(--bg-card); border:1px solid var(--border); border-radius:14px;
    overflow:hidden; box-shadow:var(--card-shadow);
    position:sticky; top:80px;
}
.top-sidebar-header {
    background:linear-gradient(135deg, #1a1a2e, #16213e);
    color:#fff; padding:14px 18px; font-weight:700; font-size:15px;
    display:flex; align-items:center; gap:8px;
}
[data-theme="light"] .top-sidebar-header { background:linear-gradient(135deg, var(--primary), var(--secondary)); }
.top-sidebar-header i { color:#ffd700; }
.top-list { padding:10px 0; }
.top-item {
    display:flex; align-items:center; gap:12px;
    padding:10px 18px; border-bottom:1px solid var(--border);
    transition:background .15s;
}
.top-item:last-child { border-bottom:none; }
.top-item:hover { background:var(--primary-dim); }
.top-rank {
    width:24px; text-align:center; font-weight:700; font-size:14px;
    color:var(--text-muted);
}
.top-rank.r1 { color:#ffd700; }
.top-rank.r2 { color:#c0c0c0; }
.top-rank.r3 { color:#cd7f32; }
.top-name { flex:1; font-size:14px; font-weight:500; color:var(--text); }
.top-amount { font-size:13px; font-weight:600; color:var(--success); }
.top-nap-btn {
    display:block; width:100%; margin:12px 0 0;
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff; border:none; border-radius:0 0 14px 14px;
    padding:13px; font-size:15px; font-weight:700;
    cursor:pointer; transition:opacity .2s;
}
.top-nap-btn:hover { opacity:0.88; }


.notice-box {
    background:var(--bg-card); border:1px solid var(--border); border-radius:12px;
    padding:20px 22px; margin-bottom:24px;
}
.notice-title { font-weight:700; color:var(--danger); font-size:14px; margin-bottom:10px; }
.notice-box p { font-size:13.5px; color:var(--text); line-height:1.9; margin-bottom:4px; }
.notice-box .hl-red { color:var(--danger); font-weight:700; }
.notice-box .hl-cyan { color:var(--primary); font-weight:700; }
.notice-box .hl-green { color:var(--success); font-weight:700; }


.feed-row {
    display:flex; align-items:center; justify-content:space-between;
    padding:10px 0; border-bottom:1px solid var(--border);
    font-size:13px;
}
.feed-row:last-child { border-bottom:none; }
.feed-row .feed-icon { color:var(--text-muted); margin-right:8px; }
.feed-row .feed-right { color:var(--text-muted); font-size:12px; white-space:nowrap; }
.feed-row .feed-right a { color:var(--primary); }

.stats-row {
    display:flex; justify-content:space-around;
    padding:36px 0; gap:16px;
}
.stat-item { text-align:center; }
.stat-number {
    font-size:38px; font-weight:900; display:block; margin-bottom:4px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent;
    background-clip:text;
}
.stat-label { font-size:13px; color:var(--text-muted); }


.section-title {
    text-align:center; font-size:28px; font-weight:800; margin-bottom:28px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent;
    background-clip:text;
}
.section-title i { -webkit-text-fill-color:var(--primary); margin-right:8px; }

.cat-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:16px; }
.cat-card {
    background:var(--bg-card); border:1px solid var(--border); border-radius:14px;
    padding:32px 18px; text-align:center;
    transition:all .25s; cursor:pointer;
    text-decoration:none; display:block;
}
.cat-card:hover { border-color:var(--primary); transform:translateY(-4px); box-shadow:var(--glow); }
.cat-icon {
    width:56px; height:56px; border-radius:14px;
    background:var(--primary-dim); display:flex; align-items:center; justify-content:center;
    font-size:24px; color:var(--primary); margin:0 auto 14px;
}
.cat-card h3 { font-size:15px; font-weight:600; color:var(--text); margin-bottom:4px; }
.cat-card p { font-size:12px; color:var(--text-muted); }


.product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }
.product-card {
    background:var(--bg-card); border:1px solid var(--border); border-radius:14px;
    overflow:hidden; transition:all .25s; cursor:pointer;
    position:relative; display:flex; flex-direction:column;
}
.product-card:hover { border-color:var(--primary); transform:translateY(-4px); box-shadow:var(--card-shadow), var(--glow); }
.product-img-wrap { position:relative; height:180px; background:var(--bg-input); overflow:hidden; }
.product-img-wrap img { width:100%; height:100%; object-fit:cover; }
.product-img-placeholder {
    width:100%; height:100%; display:flex; align-items:center; justify-content:center;
    color:var(--primary); font-size:48px; opacity:0.4;
}
.product-badge {
    position:absolute; top:10px; right:10px;
    padding:4px 12px; border-radius:20px;
    font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:0.8px;
}
.badge-hot { background:linear-gradient(135deg,#ff3b5c,#ff6b81); color:#fff; }
.badge-new { background:linear-gradient(135deg,#00e676,#00c853); color:#fff; }
.badge-sale { background:linear-gradient(135deg,#ffab00,#ff8f00); color:#fff; }
.badge-vip { background:linear-gradient(135deg,#b040ff,#7c4dff); color:#fff; }
.product-body { padding:16px; display:flex; flex-direction:column; flex:1; }
.product-body h3 { font-size:15px; font-weight:600; color:var(--text); margin-bottom:6px; }
.product-body .prod-desc { font-size:12.5px; color:var(--text-muted); margin-bottom:10px; min-height:34px; }
.product-stats { display:flex; gap:12px; flex-wrap:wrap; margin-bottom:10px; }
.product-stats span { font-size:12px; color:var(--text-muted); display:flex; align-items:center; gap:4px; }
.product-stats i { color:var(--primary); font-size:11px; }
.product-price { display:flex; align-items:center; gap:8px; margin-bottom:12px; }
.price-current { font-size:20px; font-weight:800; color:var(--success); }
.price-old { font-size:13px; color:var(--text-muted); text-decoration:line-through; }
.price-disc {
    background:var(--danger); color:#fff;
    padding:2px 7px; border-radius:4px; font-size:11px; font-weight:700;
}
.btn-buy {
    display:block; width:100%; padding:9px; border-radius:8px;
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff; border:none; font-size:13.5px; font-weight:600;
    cursor:pointer; transition:opacity .2s, transform .15s;
    margin-top:auto;
}
.btn-buy:hover { opacity:.85; transform:translateY(-1px); }


.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.feature-card {
    background:var(--bg-card); border:1px solid var(--border); border-radius:14px;
    padding:32px 22px; text-align:center;
    transition:border-color .25s;
}
.feature-card:hover { border-color:var(--primary); }
.feature-icon {
    width:60px; height:60px; border-radius:16px;
    display:flex; align-items:center; justify-content:center;
    font-size:26px; margin:0 auto 16px;
}
.fi-primary { background:var(--primary-dim); color:var(--primary); }
.fi-success { background:rgba(0,230,118,0.1); color:var(--success); }
.fi-secondary { background:rgba(176,64,255,0.1); color:var(--secondary); }
.feature-card h3 { font-size:16px; font-weight:600; margin-bottom:8px; }
.feature-card p { font-size:13px; color:var(--text-muted); }


.ticker-wrap {
    overflow:hidden; background:var(--bg-card);
    border-top:1px solid var(--border); border-bottom:1px solid var(--border);
    padding:10px 0; white-space:nowrap;
}
.ticker { display:inline-flex; animation:ticker 30s linear infinite; }
.ticker-item { font-size:13px; color:var(--text-muted); padding:0 10px; }
.ticker-item strong { color:var(--text); }
.ticker-sep { color:var(--border); padding:0 6px; }
@keyframes ticker { from{transform:translateX(0)} to{transform:translateX(-50%)} }

.site-footer {
    background:var(--bg-card); border-top:1px solid var(--border);
    padding:44px 24px 20px;
}
.footer-inner {
    max-width:1200px; margin:0 auto;
    display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:36px;
}
.footer-logo {
    font-size:18px; font-weight:800; margin-bottom:10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent;
    background-clip:text;
}
.footer-logo i { -webkit-text-fill-color:var(--primary); margin-right:6px; }
.footer-brand p { font-size:13px; color:var(--text-muted); margin-bottom:14px; line-height:1.7; }
.footer-social { display:flex; gap:12px; }
.footer-social a {
    width:34px; height:34px; border-radius:8px;
    background:var(--primary-dim); display:flex; align-items:center; justify-content:center;
    color:var(--primary); font-size:15px; transition:background .2s;
}
.footer-social a:hover { background:var(--primary); color:#fff; }
.footer-col h4 { font-size:14px; font-weight:700; color:var(--text); margin-bottom:14px; }
.footer-col a, .footer-col span {
    display:block; font-size:13px; color:var(--text-muted);
    margin-bottom:8px; transition:color .2s;
}
.footer-col a:hover { color:var(--primary); }
.footer-col span i { color:var(--primary); margin-right:8px; width:14px; }
.footer-bottom {
    max-width:1200px; margin:30px auto 0;
    padding-top:20px; border-top:1px solid var(--border);
    text-align:center; font-size:13px; color:var(--text-muted);
}


.auth-wrap { max-width:460px; margin:60px auto; padding:0 20px; }
.auth-card {
    background:var(--bg-card); border:1px solid var(--border); border-radius:16px;
    padding:40px 36px; box-shadow:var(--card-shadow);
}
.auth-card h1 {
    text-align:center; font-size:24px; font-weight:700; margin-bottom:24px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent;
    background-clip:text;
}
.auth-card h1 i { -webkit-text-fill-color:var(--primary); margin-right:8px; }
.alert-box { padding:12px 16px; border-radius:8px; margin-bottom:18px; font-size:13.5px; display:flex; align-items:center; gap:10px; }
.alert-error { background:rgba(255,59,92,0.08); border:1px solid var(--danger); color:var(--danger); }
.alert-success { background:rgba(0,230,118,0.08); border:1px solid var(--success); color:var(--success); }
.form-group { margin-bottom:18px; }
.form-group label { display:block; font-size:13px; color:var(--text-muted); margin-bottom:6px; font-weight:500; }
.form-group label i { margin-right:6px; color:var(--primary); }
.form-group .required { color:var(--danger); }
.form-input {
    width:100%; padding:11px 16px; border-radius:10px;
    background:var(--bg-input); border:1px solid var(--border);
    color:var(--text); font-size:15px;
    transition:border-color .2s, box-shadow .2s;
    font-family:inherit;
}
.form-input:focus { outline:none; border-color:var(--primary); box-shadow:var(--glow); }
.form-input::placeholder { color:var(--text-muted); }
.form-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:20px; }
.form-row label { display:flex; align-items:center; gap:8px; cursor:pointer; font-size:13px; color:var(--text-muted); }
.form-row a { font-size:13px; }
.btn-submit {
    width:100%; padding:13px; border-radius:10px;
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff; border:none; font-size:16px; font-weight:700;
    cursor:pointer; transition:transform .2s, box-shadow .2s;
}
.btn-submit:hover { transform:translateY(-2px); box-shadow:var(--glow); }
.auth-footer {
    text-align:center; margin-top:24px; padding-top:20px;
    border-top:1px solid var(--border); font-size:13.5px; color:var(--text-muted);
}
.auth-footer a { font-weight:600; }


#toastContainer { position:fixed; bottom:28px; right:28px; z-index:9999; display:flex; flex-direction:column; gap:10px; }
.toast {
    background:var(--bg-card); border:1px solid var(--border);
    border-radius:10px; padding:14px 18px;
    box-shadow:var(--card-shadow);
    display:flex; align-items:center; gap:12px;
    font-size:14px; color:var(--text);
    animation:slideIn .3s cubic-bezier(.175,.885,.32,1.275);
    max-width:340px;
}
.toast.success { border-left:4px solid var(--success); }
.toast.error   { border-left:4px solid var(--danger); }
.toast.warning { border-left:4px solid var(--warning); }
.toast.info    { border-left:4px solid var(--primary); }
.toast-icon { font-size:18px; flex-shrink:0; }
.toast.success .toast-icon { color:var(--success); }
.toast.error .toast-icon { color:var(--danger); }
.toast.warning .toast-icon { color:var(--warning); }
.toast.info .toast-icon { color:var(--primary); }
@keyframes slideIn { from{transform:translateX(120px);opacity:0} to{transform:translateX(0);opacity:1} }
@keyframes slideOut { from{transform:translateX(0);opacity:1} to{transform:translateX(120px);opacity:0} }


.deposit-layout { display:flex; gap:28px; }
.deposit-main { flex:1; }
.deposit-sidebar { width:300px; flex-shrink:0; }
.deposit-card {
    background:var(--bg-card); border:1px solid var(--border); border-radius:14px;
    padding:24px; margin-bottom:18px; box-shadow:var(--card-shadow);
}
.deposit-card h3 { font-size:16px; font-weight:600; margin-bottom:16px; display:flex; align-items:center; gap:8px; }
.deposit-card h3 i { color:var(--primary); }
.method-btns { display:flex; gap:10px; margin-bottom:20px; }
.method-btn {
    flex:1; padding:12px; border-radius:10px;
    border:1.5px solid var(--border); background:var(--bg-input);
    color:var(--text); font-size:14px; font-weight:600;
    cursor:pointer; text-align:center; transition:all .2s;
}
.method-btn:hover, .method-btn.active { border-color:var(--primary); background:var(--primary-dim); color:var(--primary); }
.method-btn i { display:block; font-size:20px; margin-bottom:6px; }
.bank-info { background:var(--bg-input); border-radius:10px; padding:16px; margin-bottom:16px; }
.bank-row { display:flex; justify-content:space-between; padding:8px 0; border-bottom:1px solid var(--border); font-size:13.5px; }
.bank-row:last-child { border-bottom:none; }
.bank-row span:first-child { color:var(--text-muted); }
.bank-row span:last-child { font-weight:600; color:var(--text); }
.copy-btn { background:none; border:none; color:var(--primary); cursor:pointer; font-size:12px; margin-left:6px; }


.tab-nav { display:flex; gap:4px; margin-bottom:24px; flex-wrap:wrap; }
.tab-btn {
    padding:9px 18px; border-radius:8px;
    border:1px solid var(--border); background:var(--bg-card);
    color:var(--text-muted); font-size:13.5px; font-weight:500;
    cursor:pointer; transition:all .2s;
}
.tab-btn:hover, .tab-btn.active { background:var(--primary-dim); border-color:var(--primary); color:var(--primary); }
.tab-content { display:none; }
.tab-content.active { display:block; }
.data-table { width:100%; border-collapse:collapse; }
.data-table th {
    text-align:left; font-size:12px; font-weight:600;
    color:var(--text-muted); text-transform:uppercase; letter-spacing:0.6px;
    padding:10px 14px; border-bottom:2px solid var(--border);
}
.data-table td { padding:12px 14px; border-bottom:1px solid var(--border); font-size:13.5px; color:var(--text); }
.data-table tr:hover td { background:var(--primary-dim); }
.status-badge {
    padding:3px 10px; border-radius:20px; font-size:12px; font-weight:600;
}
.status-completed { background:rgba(0,230,118,0.1); color:var(--success); }
.status-pending  { background:rgba(255,171,0,0.1); color:var(--warning); }
.status-failed   { background:rgba(255,59,92,0.1); color:var(--danger); }

.product-detail-layout { display:flex; gap:36px; padding:40px 0; }
.product-detail-img { flex:1; }
.product-detail-img .pd-img-wrap {
    background:var(--bg-card); border:1px solid var(--border); border-radius:14px;
    overflow:hidden; height:380px; display:flex; align-items:center; justify-content:center;
}
.product-detail-img .pd-img-wrap img { width:100%; height:100%; object-fit:cover; }
.product-detail-info { flex:1; }
.product-detail-info h1 { font-size:28px; font-weight:700; margin-bottom:12px; }
.product-detail-info .pd-price { display:flex; align-items:center; gap:12px; margin:16px 0; }
.product-detail-info .pd-price .price-current { font-size:28px; }
.pd-stats { display:flex; gap:20px; flex-wrap:wrap; margin:16px 0; }
.pd-stats .ps { display:flex; align-items:center; gap:6px; font-size:14px; color:var(--text-muted); }
.pd-stats .ps i { color:var(--primary); }
.pd-desc { font-size:14px; color:var(--text-muted); margin:16px 0; line-height:1.8; }
.pd-buy-btn {
    display:block; width:100%; max-width:300px;
    padding:14px; border-radius:10px;
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff; border:none; font-size:17px; font-weight:700;
    cursor:pointer; transition:transform .2s, box-shadow .2s; margin-top:20px;
}
.pd-buy-btn:hover { transform:translateY(-2px); box-shadow:var(--glow); }
.pd-buy-btn:disabled { opacity:0.5; cursor:not-allowed; transform:none; }


.card {
    background:var(--bg-card); border:1px solid var(--border); border-radius:14px;
    padding:24px; box-shadow:var(--card-shadow);
}
.grid { display:grid; gap:20px; }
.grid-2 { grid-template-columns:repeat(2,1fr); }
.grid-3 { grid-template-columns:repeat(3,1fr); }
.grid-4 { grid-template-columns:repeat(4,1fr); }

.btn {
    display:inline-flex; align-items:center; gap:6px;
    padding:10px 20px; border-radius:8px; font-size:14px; font-weight:600;
    cursor:pointer; border:none; font-family:inherit; transition:all .2s;
    text-decoration:none;
}
.btn-primary {
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff;
}
.btn-primary:hover { opacity:.85; transform:translateY(-1px); }
.btn-outline {
    background:transparent; border:1.5px solid var(--border); color:var(--text);
}
.btn-outline:hover { border-color:var(--primary); color:var(--primary); }

.product-card .product-image {
    width:100%; height:180px; object-fit:cover;
    border-radius:10px 10px 0 0; display:block;
}
.product-card .product-title { font-size:15px; font-weight:600; color:var(--text); margin:12px 0 6px; }
.product-card .product-desc { font-size:12.5px; color:var(--text-muted); margin-bottom:10px; min-height:34px; }
.product-card .discount {
    background:var(--danger); color:#fff;
    padding:2px 7px; border-radius:4px; font-size:11px; font-weight:700;
}
.product-card .stat { font-size:12px; color:var(--text-muted); display:inline-flex; align-items:center; gap:4px; margin-right:10px; }
.product-card .stat i { color:var(--primary); font-size:11px; }

.page-content { max-width:1200px; margin:0 auto; padding:40px 24px; }


.shop-notice-wrap {
    background: linear-gradient(135deg, rgba(255,235,238,0.6), rgba(255,245,245,0.8));
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
    position: relative;
}
.shop-notice-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(239,68,68,0.15);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    background: rgba(255,255,255,0.5);
}
.shop-notice-header i { color:var(--primary); }
.shop-notice-header .live-dot {
    width:8px; height:8px; border-radius:50%; background:var(--success);
    animation:pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%,100% { opacity:1; } 50% { opacity:0.3; }
}
.notice-carousel { position:relative; overflow:hidden; }
.notice-slide {
    padding:14px 18px;
    font-size:14px; color:var(--text);
    opacity:0; transform:translateY(10px);
    transition:opacity 0.6s ease, transform 0.6s ease;
    position:absolute; left:0; right:0; top:0;
}
.notice-slide.active {
    opacity:1; transform:translateY(0);
    position:relative;
}
.notice-slide p { line-height:1.8; margin:0; }
.notice-slide .hl-red { color:var(--danger); font-weight:700; }
.notice-slide .hl-cyan { color:var(--primary); font-weight:700; }
.notice-slide .hl-green { color:var(--success); font-weight:700; }
.notice-nav { display:flex; gap:6px; padding:8px 18px 14px; }
.notice-nav-dot {
    width:8px; height:8px; border-radius:50%;
    background:var(--border); border:none; cursor:pointer;
    transition:background .3s; padding:0;
}
.notice-nav-dot.active { background:var(--primary); }

.auth-logo-corner {
    position:absolute; top:20px; left:24px;
    display:flex; align-items:center; gap:8px;
    text-decoration:none;
}
.auth-logo-corner img { width:36px; height:36px; border-radius:8px; object-fit:cover; }
.auth-logo-corner .auth-logo-text {
    font-size:15px; font-weight:800; letter-spacing:1.2px;
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text;
}
.auth-page-wrap { position:relative; min-height:calc(100vh - 62px); }

.img-gallery { margin-bottom:20px; }
.img-gallery-main {
    width:100%; height:360px; border-radius:12px;
    background:var(--bg-input); overflow:hidden;
    display:flex; align-items:center; justify-content:center;
    border:1px solid var(--border);
}
.img-gallery-main img { width:100%; height:100%; object-fit:cover; display:block; }
.img-gallery-main .placeholder-icon { font-size:72px; color:var(--primary); opacity:0.25; }
.img-gallery-thumbs { display:flex; gap:10px; margin-top:12px; flex-wrap:wrap; }
.img-thumb {
    width:78px; height:78px; border-radius:8px; overflow:hidden;
    border:2px solid var(--border); cursor:pointer; transition:all .2s;
    background:var(--bg-input);
}
.img-thumb:hover, .img-thumb.active { border-color:var(--primary); box-shadow:var(--glow); }
.img-thumb img { width:100%; height:100%; object-fit:cover; display:block; }

.transfer-panel {
    background:var(--bg-input); border:1.5px solid var(--primary);
    border-radius:14px; padding:24px; margin-top:24px;
    animation:fadeSlideIn .4s ease;
}
@keyframes fadeSlideIn { from{opacity:0;transform:translateY(14px)} to{opacity:1;transform:translateY(0)} }
.transfer-panel-title {
    display:flex; align-items:center; gap:10px;
    font-size:16px; font-weight:700; color:var(--primary);
    margin-bottom:18px;
}
.transfer-panel-title i { font-size:18px; }
.transfer-row {
    display:flex; justify-content:space-between; align-items:center;
    padding:11px 0; border-bottom:1px solid var(--border); font-size:14px;
}
.transfer-row:last-child { border-bottom:none; }
.transfer-row .tr-label { color:var(--text-muted); }
.transfer-row .tr-value { font-weight:600; color:var(--text); display:flex; align-items:center; gap:8px; }
.transfer-row .tr-value.highlight { color:var(--success); font-size:16px; }
.transfer-row .tr-value.code-val { color:var(--primary); font-size:15px; font-family:monospace; }
.copy-btn-sm {
    background:var(--primary-dim); border:1px solid var(--border); color:var(--primary);
    padding:3px 10px; border-radius:6px; font-size:11px; cursor:pointer;
    font-weight:600; transition:all .2s; font-family:inherit;
}
.copy-btn-sm:hover { background:var(--primary); color:#fff; }
.transfer-panel .transfer-note {
    margin-top:16px; padding:12px 16px; border-radius:8px;
    background:rgba(255,171,0,0.08); border:1px solid rgba(255,171,0,0.2);
    font-size:13px; color:var(--warning); line-height:1.7;
}

.site-logo img {
    height: 120px;   
    width: auto;
    border-radius: 8px;
    object-fit: contain;
}

[data-tet="active"][data-theme="dark"] {
    --primary:     #ffd700;
    --primary-dim: rgba(255,215,0,0.11);
    --secondary:   #c0392b;
    --border:      rgba(192,57,43,0.22);
    --glow:        0 0 22px rgba(255,215,0,0.22);
    --bg:          #1a0d0d;
    --bg-card:     #241414;
    --bg-input:    #1e1010;
}
[data-tet="active"][data-theme="light"] {
    --primary:     #c0392b;
    --primary-dim: rgba(192,57,43,0.08);
    --secondary:   #d4a017;
    --border:      #e8c8c8;
    --glow:        0 0 18px rgba(192,57,43,0.15);
}

[data-tet="active"]::before {
    content:'';
    position:fixed; inset:0; pointer-events:none; z-index:0;
    background:
        radial-gradient(ellipse 300px 200px at 5% 20%, rgba(192,57,43,0.04), transparent),
        radial-gradient(ellipse 250px 180px at 95% 70%, rgba(255,215,0,0.04), transparent),
        radial-gradient(ellipse 200px 250px at 50% 90%, rgba(192,57,43,0.03), transparent);
}
[data-tet="active"] .site-header { background:rgba(26,13,13,0.95) !important; }
[data-tet="active"][data-theme="light"] .site-header { background:rgba(255,245,240,0.96) !important; }


@keyframes tet-petal {
    0%   { transform:translateY(-20px) rotate(0deg);   opacity:0; }
    10%  { opacity:0.7; }
    90%  { opacity:0.3; }
    100% { transform:translateY(110vh) rotate(720deg); opacity:0; }
}
.tet-petal {
    position:fixed; top:-30px; width:12px; height:12px;
    border-radius:50% 0 50% 50%; pointer-events:none; z-index:1;
    animation:tet-petal linear infinite;
}
.tet-petal:nth-child(1) { left:5%;  background:#ff6b6b; animation-duration:8s;  animation-delay:0s; }
.tet-petal:nth-child(2) { left:15%; background:#ffd700; animation-duration:10s; animation-delay:1.5s; width:8px; height:8px; }
.tet-petal:nth-child(3) { left:30%; background:#ff6b6b; animation-duration:9s;  animation-delay:3s;  width:10px; height:10px; }
.tet-petal:nth-child(4) { left:50%; background:#ffd700; animation-duration:11s; animation-delay:0.8s; width:7px; height:7px; }
.tet-petal:nth-child(5) { left:70%; background:#ff6b6b; animation-duration:8.5s;animation-delay:2s;  width:9px; height:9px; }
.tet-petal:nth-child(6) { left:85%; background:#ffd700; animation-duration:10.5s;animation-delay:4s; width:11px; height:11px; }
.tet-petal:nth-child(7) { left:95%; background:#ff6b6b; animation-duration:9.5s; animation-delay:1s;  width:8px; height:8px; }

.notif-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.58);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notif-popup-overlay.hidden {
    display: none !important;
}

.notif-popup-box {
    background:var(--bg-card); border:1px solid var(--border);
    border-radius:18px; padding:34px 30px 28px;
    max-width:500px; width:92%;
    max-height:78vh; overflow-y:auto;
    box-shadow:var(--card-shadow), var(--glow);
    animation:popIn .38s cubic-bezier(.175,.885,.32,1.275);
    position:relative;
}
.notif-popup-header {
    font-size:21px; font-weight:800; text-align:center;
    margin-bottom:20px; color:var(--text);
}
.notif-popup-body {
    font-size:14px; color:var(--text); line-height:1.9;
}
.notif-popup-body p { margin-bottom:10px; }
.notif-popup-body .np-red   { color:var(--danger);  font-weight:700; }
.notif-popup-body .np-gold  { color:var(--warning); font-weight:700; }
.notif-popup-body .np-cyan  { color:var(--primary); font-weight:700; }
.notif-popup-body .np-green { color:var(--success); font-weight:700; }
.notif-popup-btn {
    display:block; margin:22px auto 0;
    padding:10px 44px; border-radius:10px;
    background:linear-gradient(135deg, var(--primary), var(--secondary));
    color:#fff; border:none; font-size:16px; font-weight:700;
    cursor:pointer; transition:transform .2s, box-shadow .2s;
    font-family:inherit;
}
.notif-popup-btn:hover { transform:translateY(-2px); box-shadow:var(--glow); }


.card-discount-row {
    display:flex; flex-wrap:wrap; gap:6px; margin-top:14px; margin-bottom:6px;
}
.card-disc-tag {
    padding:3px 9px; border-radius:5px; font-size:11px; font-weight:700;
    background:rgba(255,171,0,0.1); color:var(--warning);
    border:1px solid rgba(255,171,0,0.2);
}
.card-disc-tag .dt-pct { color:var(--danger); }
#cardDiscInfo {
    margin-top:10px; padding:10px 14px; border-radius:8px;
    background:rgba(255,171,0,0.07); border:1px solid rgba(255,171,0,0.18);
    font-size:13px; color:var(--warning); display:none;
    transition:opacity .3s;
}


.cat-section { margin-bottom:40px; }
.cat-section-header {
    display:flex; align-items:center; gap:10px;
    margin-bottom:18px; padding-bottom:12px;
    border-bottom:1px solid var(--border);
}
.cat-section-header h3 {
    font-size:18px; font-weight:700; color:var(--text);
}
.cat-section-header .cat-badge {
    padding:3px 10px; border-radius:6px; font-size:11px; font-weight:700;
    background:var(--primary-dim); color:var(--primary);
}
.cat-section-header .cat-count {
    font-size:12px; color:var(--text-muted); margin-left:auto;
}
.cat-section-viewall {
    margin-left:auto; color:var(--primary); font-size:13px;
    text-decoration:none; white-space:nowrap; font-weight:600;
    transition:color .2s;
}
.cat-section-viewall:hover { color:var(--secondary); }


@media (max-width:1024px) {
    .home-sidebar, .deposit-sidebar { display:none; }
    .product-grid, .cat-grid, .grid-4 { grid-template-columns:repeat(3,1fr); }
    .footer-inner { grid-template-columns:1fr 1fr; }
}
@media (max-width:768px) {
    .main-nav { display:none; }
    .product-grid, .cat-grid, .grid-3, .grid-4 { grid-template-columns:repeat(2,1fr); }
    .grid-2 { grid-template-columns:1fr; }
    .hero-content h1 { font-size:30px; }
    .stats-row { flex-wrap:wrap; gap:24px; }
    .product-detail-layout { flex-direction:column; }
    .features-grid { grid-template-columns:1fr; }
    .deposit-layout { flex-direction:column; }
    .auth-card { padding:28px 20px; }
    .page-content { padding:24px 16px; }
}
@media (max-width:480px) {
    .product-grid, .cat-grid, .grid-2, .grid-3, .grid-4 { grid-template-columns:1fr; }
    .header-inner { padding:0 14px; }
    .guest-area .btn-login span, .guest-area .btn-register span { display:none; }
}


.products-search-bar {
    display:flex; gap:10px; margin-bottom:20px;
}
.products-search-bar .form-input {
    flex:1; padding:12px 18px; font-size:15px;
}
.btn-search-go {
    padding:12px 20px; white-space:nowrap;
}
.products-breadcrumb {
    display:flex; align-items:center; gap:6px; margin-bottom:18px;
    font-size:13px; color:var(--text-muted); flex-wrap:wrap;
}
.products-breadcrumb a { color:var(--primary); text-decoration:none; }
.products-breadcrumb a:hover { text-decoration:underline; }
.bc-sep { color:var(--text-muted); }
.bc-cur { color:var(--text); font-weight:600; }
.bc-clear { margin-left:auto; color:var(--danger) !important; font-size:12px; }

.products-page-layout {
    display:flex; gap:28px; align-items:flex-start;
}
.products-filter-sidebar {
    width:250px; flex-shrink:0;
}
.filter-card {
    background:var(--bg-card); border:1px solid var(--border);
    border-radius:14px; padding:22px;
}
.filter-title {
    font-size:15px; font-weight:700; color:var(--primary);
    margin-bottom:20px; display:flex; align-items:center; gap:8px;
}
.filter-group {
    margin-bottom:20px;
}
.filter-group label {
    display:block; font-size:13px; font-weight:600;
    color:var(--text); margin-bottom:8px;
}
.filter-group .form-input {
    width:100%; padding:10px 14px; font-size:14px;
    background:var(--bg-input); border:1px solid var(--border);
    border-radius:8px; color:var(--text); font-family:inherit;
    box-sizing:border-box;
}
.price-range-inputs {
    display:flex; gap:8px; align-items:center; margin-bottom:10px;
}
.price-range-inputs .form-input { flex:1; padding:10px 12px; font-size:13px; }
.price-range-dash { color:var(--text-muted); font-size:16px; }
.price-quick-btns {
    display:flex; gap:6px; flex-wrap:wrap; margin-bottom:10px;
}
.price-btn {
    padding:5px 10px; border-radius:20px; border:1px solid var(--border);
    background:var(--bg-input); color:var(--text-muted);
    font-size:11px; cursor:pointer; font-family:inherit;
    transition:all .2s; white-space:nowrap;
}
.price-btn:hover { border-color:var(--primary); color:var(--primary); }
.price-btn.active {
    background:var(--primary); color:#fff; border-color:var(--primary);
}
.btn-filter-apply {
    width:100%; padding:9px; font-size:13px; justify-content:center;
    display:flex; align-items:center; gap:6px;
    background:var(--primary); color:#fff; border:none;
    border-radius:8px; cursor:pointer; font-weight:600; font-family:inherit;
    transition:opacity .2s;
}
.btn-filter-apply:hover { opacity:.85; }
.btn-filter-reset {
    width:100%; padding:9px; font-size:13px; justify-content:center;
    display:flex; align-items:center; gap:6px; margin-top:10px;
    background:transparent; color:var(--danger); border:1px solid var(--danger);
    border-radius:8px; cursor:pointer; font-weight:600; font-family:inherit;
    text-decoration:none; transition:all .2s;
}
.btn-filter-reset:hover { background:rgba(255,80,80,.08); }

.products-main { flex:1; min-width:0; }
.products-count {
    font-size:13px; color:var(--text-muted); margin-bottom:16px;
}
.products-empty {
    text-align:center; padding:80px 20px;
    background:var(--bg-card); border:1px solid var(--border);
    border-radius:14px;
}
.products-empty i {
    font-size:56px; color:var(--primary); opacity:.25;
    margin-bottom:20px; display:block;
}
.products-empty h3 { color:var(--text); margin-bottom:8px; }
.products-empty p { color:var(--text-muted); margin-bottom:20px; }

.cat-section-header {
    display:flex; align-items:center; justify-content:space-between;
    margin-bottom:16px; padding-bottom:10px;
    border-bottom:1px solid var(--border);
}
.cat-section-header h2 {
    font-size:17px; font-weight:700; color:var(--text);
    display:flex; align-items:center; gap:8px;
}
.cat-section-header h2 i { color:var(--primary); font-size:15px; }
.cat-section-count {
    font-size:12px; color:var(--text-muted);
    background:var(--bg-input); padding:4px 10px;
    border-radius:20px; border:1px solid var(--border);
}

.product-sold-info {
    display:flex; justify-content:space-between; align-items:center;
    font-size:11.5px; margin-bottom:6px; color:var(--text-muted);
}
.sold-count i { color:var(--success); margin-right:3px; }
.remaining { font-weight:600; }
.remaining.avail { color:var(--success); }
.remaining.sold  { color:var(--danger); }


.shopvc-card { cursor:pointer; }
.shopvc-card:hover { transform:translateY(-3px); box-shadow:0 6px 20px rgba(0,0,0,.25); }
.shopvc-body { padding:14px 16px 18px; display:flex; flex-direction:column; align-items:center; }

body { overflow-x:hidden; }

.faq-section {
    background:var(--bg-card); border:1px solid var(--border);
    border-radius:14px; padding:20px 24px; margin-bottom:28px;
}
.faq-title {
    font-size:14px; font-weight:700; color:var(--primary);
    margin-bottom:14px; display:flex; align-items:center; gap:8px;
}
.faq-item {
    display:flex; flex-direction:column; gap:3px;
    padding:9px 0; border-bottom:1px solid var(--border);
}
.faq-item:last-child { border-bottom:none; }
.faq-q { font-weight:600; color:var(--text); font-size:13.5px; }
.faq-a { color:var(--text-muted); font-size:13px; }

.deposit-title {
    font-size:30px; text-align:center; margin-bottom:6px;
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    -webkit-background-clip:text; -webkit-text-fill-color:transparent;
}
.deposit-title i { -webkit-text-fill-color:var(--primary); }
.deposit-subtitle {
    text-align:center; color:var(--text-muted); margin-bottom:28px;
}

.card-discount-box {
    background:var(--bg-input); border:1px solid var(--border);
    border-radius:10px; padding:12px 14px;
}
.cd-row {
    display:flex; justify-content:space-between;
    font-size:12.5px; padding:4px 0;
}
.cd-name { color:var(--text-muted); }
.cd-fee { color:var(--warning); font-weight:600; }
.cd-fee.cd-high { color:var(--danger); }

.announce-overlay {
    position:fixed; inset:0; z-index:9990;
    background:rgba(0,0,0,.55); display:flex;
    align-items:center; justify-content:center;
    backdrop-filter:blur(2px);
}
.announce-overlay.hidden { display:none !important; }
.announce-box {
    background:var(--bg-card); border:1px solid var(--border);
    border-radius:18px; padding:36px 32px; max-width:480px;
    width:90%; text-align:center; box-shadow:0 20px 60px rgba(0,0,0,.4);
    animation:announceIn .3s cubic-bezier(.175,.885,.32,1.275);
}
@keyframes announceIn { from{opacity:0;transform:scale(.92)} to{opacity:1;transform:scale(1)} }
.announce-title {
    font-size:20px; font-weight:800; color:var(--text);
    margin-bottom:18px;
}
.announce-body {
    font-size:14px; color:var(--text-muted); line-height:1.8;
    margin-bottom:24px; text-align:left;
}
.announce-body strong { color:var(--text); }
.announce-body a { color:var(--primary); }
.announce-btn {
    background:linear-gradient(135deg,var(--primary),var(--secondary));
    color:#fff; border:none; padding:10px 40px; border-radius:10px;
    font-size:15px; font-weight:700; cursor:pointer; font-family:inherit;
    transition:transform .15s, box-shadow .2s;
}
.announce-btn:hover { transform:translateY(-1px); box-shadow:0 4px 14px rgba(0,255,209,.3); }
@media (max-width: 768px) {

    .mobile-auth-box {
        display: flex;
        gap: 10px;
        margin: 14px 0;
        padding: 0 12px;
    }

    .mobile-auth-box a {
        flex: 1;
        text-align: center;
        padding: 10px 0;
        border-radius: 999px;
        font-size: 13px;
        font-weight: 600;
    }

    .mobile-auth-box .m-login {
        background: var(--bg-card);
        border: 1.5px solid var(--primary);
        color: var(--primary);
    }

    .mobile-auth-box .m-register {
        background: linear-gradient(135deg, var(--primary), var(--secondary));
        color: #fff;
    }
}
.tet-top-banner {
    background:linear-gradient(135deg, #8b0000, #c41e3a 50%, #8b0000);
    color:#FFD700; text-align:center; padding:9px 16px;
    font-size:14px; font-weight:700; letter-spacing:0.5px;
    display:flex; align-items:center; justify-content:center; gap:12px;
    box-shadow:0 2px 12px rgba(196,30,58,.4);
}
.tet-firework { font-size:18px; animation:tetPulse 2s ease-in-out infinite; }
@keyframes tetPulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.15);opacity:.7} }

[data-event="tet"] .site-header {
    border-bottom-color: rgba(196,30,58,0.4) !important;
}
[data-event="tet"] .product-card,
[data-event="tet"] .card {
    border-bottom:2px solid rgba(196,30,58,.18);
}
[data-event="tet"] .section-title,
[data-event="tet"] .deposit-title {
    background:linear-gradient(135deg, #FFD700, #c41e3a) !important;
    -webkit-background-clip:text !important;
    -webkit-text-fill-color:transparent !important;
}
[data-event="tet"] .top-sidebar-header {
    background:linear-gradient(135deg, #8b0000, #c41e3a) !important;
}
[data-event="tet"] .btn-buy,
[data-event="tet"] .btn-filter-apply {
    background:linear-gradient(135deg, #c41e3a, #e8402a) !important;
}
[data-event="tet"] .hero-banner-content h1 {
    text-shadow: 0 0 30px rgba(196,30,58,.5);
}
[data-event="tet"] .top-nap-btn {
    background:linear-gradient(135deg, #c41e3a, #e8402a) !important;
}


.drop-menu .drop-hr {
    border:none; border-top:1px solid var(--border);
    margin:6px 0; padding:0;
}

[data-theme="dark"] {
    --bg:        #0a0e1a;
    --bg-card:   #111827;
    --bg-input:  #1a2236;
    --border:    #2a3450;
    --text:      #e8ecf4;
    --text-muted:#7a86a8;
}
[data-theme="dark"] .card,
[data-theme="dark"] .filter-card,
[data-theme="dark"] .top-sidebar-card {
    box-shadow: 0 2px 16px rgba(0,0,0,.22);
}
[data-theme="dark"] .product-card:hover {
    box-shadow: 0 6px 28px rgba(0,0,0,.35);
    border-color: rgba(0,255,209,.2);
}
[data-theme="dark"] .site-header {
    background: rgba(10,14,26,.92);
    backdrop-filter: blur(12px);
    border-bottom-color: #2a3450;
}
[data-theme="dark"] .hero-banner-section {
    background: linear-gradient(180deg, #0f1528 0%, #0a0e1a 100%);
}
[data-theme="dark"] .stats-row .stat-item {
    background: linear-gradient(135deg, #111827, #152238);
    border-color: #2a3450;
}
[data-theme="dark"] .footer-social a {
    background: #1a2236;
    border-color: #2a3450;
}
[data-theme="dark"] .footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
}


::-webkit-scrollbar { width:8px; }
::-webkit-scrollbar-track { background:var(--bg); }
::-webkit-scrollbar-thumb { background:var(--border); border-radius:4px; }
::-webkit-scrollbar-thumb:hover { background:var(--primary); }


.mt-8  { margin-top:8px; }  .mt-16 { margin-top:16px; }  .mt-24 { margin-top:24px; }  .mt-40 { margin-top:40px; }
.mb-8  { margin-bottom:8px; } .mb-16 { margin-bottom:16px; } .mb-24 { margin-bottom:24px; } .mb-40 { margin-bottom:40px; }
.text-center { text-align:center; }
.text-muted { color:var(--text-muted); }
.hidden { display:none !important; }

.order-feed-list { padding:0; }
.order-feed-row {
    display:flex; align-items:center; padding:7px 0;
    border-bottom:1px solid var(--border);
    font-size:13px; color:var(--text-muted); line-height:1.5;
}
.order-feed-row:last-child { border-bottom:none; }
.top-sidebar-card-dark {
    background: linear-gradient(180deg, #2b1f4a, #1a132f);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(124, 92, 255, .35);
    border: 1px solid rgba(124,92,255,.35);
}

.top-sidebar-header-dark {
    background: linear-gradient(135deg, #7c5cff, #9b7bff);
    color: #fff;
    padding: 16px;
    font-size: 15px;
    font-weight: 800;
    text-align: center;
    letter-spacing: .3px;
}

.top-sidebar-header-dark i {
    color: #ffd700;
    margin-right: 6px;
}

.top-list-dark {
    padding: 18px;
    color: #d8d4ff;
    text-align: center;
}

.top-list-dark .empty-top {
    opacity: .9;
    font-size: 13.5px;
    line-height: 1.6;
}

.top-list-dark .empty-top i {
    font-size: 36px;
    color: #a993ff;
    margin-bottom: 10px;
    display: block;
}

/* BUTTON */
.top-nap-btn-dark {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 16px;
    padding: 14px 16px;

    background: linear-gradient(135deg, #6f5cff, #4f46e5);
    color: #fff;

    font-weight: 800;
    font-size: 14px;
    border-radius: 10px;
    text-decoration: none;

    box-shadow: 0 6px 20px rgba(111,92,255,.45);
    letter-spacing: .4px;

    transition: all .25s ease;
}

.top-nap-btn-dark:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(111,92,255,.6);
    filter: brightness(1.05);
}



.btn-view{
  display:block;
  margin:10px auto 0;
  padding:8px 20px;
  text-align:center;
  background:linear-gradient(135deg,#ff8c00,#ff6b00);
  color:#fff;
  border-radius:22px;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  letter-spacing:.5px;
  transition:opacity .2s;
}

.btn-view:hover{
  opacity:.85;
}
.payment-status-box {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    max-width: 320px;
    margin: 20px auto;
}

.payment-status-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #3b49df;
    margin-bottom: 12px;
}

.bank-logo {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.payment-status-body {
    padding: 14px;
    border-radius: 10px;
    background: #f5f7ff;
    font-weight: 600;
    text-align: center;
    color: #ff9800;
}
.product-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
}

.product-body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 14px;
    text-align: center;
}

.product-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.product-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.product-meta .sold {
    color: #e53935;
    font-weight: 700;
}

.product-meta .remain.ok {
    color: var(--success);
    font-weight: 700;
}

.product-meta .remain.out {
    color: var(--danger);
    font-weight: 700;
}

.btn-view-all {
    margin-top: auto;
    display: inline-block;
    padding: 8px 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, #7b5cff, #9f7bff);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all .2s;
}

.product-card:hover .btn-view-all {
    transform: translateY(-1px);
    opacity: .9;
}
.live-order-box {
  margin-top: 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0,0,0,.08);
  overflow: hidden;
}

.live-order-title {
  padding: 10px 14px;
  font-size: 13px;
  border-bottom: 1px solid #eee;
  color: #333;
}

.live-order-wrapper {
  overflow: hidden;
  padding: 10px 0;
}

.live-order-track {
  display: flex;
  width: max-content;
  animation: liveOrderScroll 28s linear infinite;
}

.live-order-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 22px;
  white-space: nowrap;
  font-size: 13.5px;
  color: #333;
}

.live-order-item i {
  color: #22c55e;
}

.live-order-item .user {
  font-weight: 700;
}

.live-order-item .time {
  color: #ef4444;
  font-weight: 600;
}

.live-order-item .product {
  color: #2563eb;
  font-weight: 600;
}

.live-order-item .price {
  color: #16a34a;
  font-weight: 700;
}

.live-order-item.muted {
  color: #999;
}

@keyframes liveOrderScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


.top-box{
    background:#f8fafc;
    padding:14px;
    border-radius:16px;
}

.top-item{
    display:grid;
    grid-template-columns: 36px minmax(0,1fr) max-content;
    align-items:center;
    gap:12px;

    background:#ffffff;
    padding:10px 14px;
    margin-bottom:8px;

    border-radius:12px;
    border:1px solid #e5e7eb;
}


.top-rank{
    width:28px;
    height:28px;
    border-radius:8px;
    display:flex;
    align-items:center;
    justify-content:center;

    font-size:13px;
    font-weight:700;
    background:#eef2ff;
    color:#4f46e5;
}


.top-name{
    font-size:14px;
    font-weight:600;
    color:#111827;

    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

.top-amount{
    font-size:13px;
    font-weight:700;
    color:#16a34a;
    white-space:nowrap;
}


.top-item:hover{
    background:#f8faff;
    border-color:#c7d2fe;
}


.hero-banner-section{
    position: relative;
    width: 100%;
    min-height: 420px;
    background: #000;
    overflow: hidden;
}

.hero-banner-section video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}


.hero-banner-overlay{
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to right,
        rgba(0,0,0,.6),
        rgba(0,0,0,.25)
    );
}


.hero-banner-content{
    position: relative;
    z-index: 3;
    color: #fff;
    padding: 60px 30px;
}
.hero-banner-section{
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
}
.hero-video{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}
.hero-banner-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(
        135deg,
        rgba(0,0,0,.45),
        rgba(0,0,0,.25)
    );
    z-index: 2;
}

.hero-banner-content{
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
}

.auth-page-wrap{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#f1f5f9;
}
.auth-card{
    background:#fff;
    padding:32px;
    border-radius:16px;
    width:100%;
    max-width:420px;
    box-shadow:0 20px 40px rgba(0,0,0,.08);
}
.auth-card h1{
    text-align:center;
    margin-bottom:20px;
    color:#7c3aed;
}
.form-group{margin-bottom:14px;}
.form-input{
    width:100%;
    padding:10px 12px;
    border-radius:10px;
    border:1px solid #d1d5db;
}
.btn-submit{
    width:100%;
    padding:12px;
    background:#7c3aed;
    color:#fff;
    border:none;
    border-radius:12px;
    font-weight:600;
    cursor:pointer;
}
.auth-footer{
    margin-top:16px;
    text-align:center;
    font-size:14px;
}

.auth-page-wrap {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
}

.auth-wrap {
    width: 100%;
    max-width: 480px; 
}

.auth-card {
    width: 100%;
    padding: 36px 32px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 25px 60px rgba(0,0,0,.08);
}


.auth-card h1,
.auth-title {
    font-size: 26px;
    text-align: center;
    margin-bottom: 24px;
}


.auth-card .form-group {
    margin-bottom: 18px;
}

.auth-card .form-input,
.auth-card input {
    width: 100%;
    height: 46px;
    font-size: 15px;
    padding: 0 14px;
    border-radius: 10px;
}


.auth-card button,
.btn-submit {
    width: 100%;
    height: 46px;
    font-size: 15px;
    border-radius: 12px;
}

.auth-footer {
    margin-top: 18px;
    text-align: center;
    font-size: 14px;
}
.social-btn{
    width:48px;
    height:48px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:12px;
    font-size:20px;
    margin-right:8px;
    transition:.25s;
}

.social-btn.fb{
    background:#1877f2;
    color:#fff;
}

.social-btn.dc{
    background:#5865f2;
    color:#fff;
}

.social-btn:hover{
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}
.admin-notes-customer-view {
    margin-top: 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    border-left: 6px solid #f97316;
    border-radius: 12px;
}

.admin-notes-customer-view .label {
    font-weight: 900;
    color: #c2410c;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-notes-customer-view .content {
    color: #7c2d12;
    font-weight: 600;
    line-height: 1.6;
}
.site-logo-img {
    height: 64px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 768px) {
    .site-logo-img {
        height: 44px;
    }
}
@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
}
@media (max-width: 768px) {
    .site-header {
        padding: 8px 0;
    }

    .header-inner {
        padding: 0 12px;
        gap: 10px;
    }

    .header-right {
        gap: 8px;
    }

    .user-name {
        display: none; 
    }
}

.notice-box {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 3px solid #f59e0b;
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 32px;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.2);
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 18px;
    font-weight: 900;
    color: #92400e;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.notice-header i {
    font-size: 24px;
    color: #f59e0b;
}

.notice-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notice-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #78350f;
    line-height: 1.6;
}

.notice-item i {
    font-size: 16px;
    color: #f59e0b;
    margin-top: 2px;
    flex-shrink: 0;
}

.notice-item strong {
    color: #92400e;
    font-weight: 800;
}

@media (max-width: 768px) {
    .notice-box {
        padding: 20px;
        margin-bottom: 24px;
    }
    
    .notice-header {
        font-size: 16px;
    }
    
    .notice-item {
        font-size: 13px;
    }
}
.falling-flowers {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.falling-flowers span {
  position: absolute;
  top: -10%;
  font-size: 22px;
  animation: flowerFall linear infinite;
  opacity: 0.9;
}

.falling-flowers span:nth-child(1) { left: 10%; animation-duration: 12s; }
.falling-flowers span:nth-child(2) { left: 30%; animation-duration: 15s; }
.falling-flowers span:nth-child(3) { left: 50%; animation-duration: 10s; }
.falling-flowers span:nth-child(4) { left: 70%; animation-duration: 18s; }
.falling-flowers span:nth-child(5) { left: 90%; animation-duration: 14s; }

@keyframes flowerFall {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
  }
}
#flower-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
}

.flower {
  position: absolute;
  top: -50px;
  font-size: 20px;
  animation: fall linear forwards;
}

@keyframes fall {
  to {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}
.deposit-ticker {
    background: linear-gradient(90deg, #6a11cb, #8e2de2);
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}

.deposit-track {
    display: flex;
    gap: 50px;
    white-space: nowrap;
    animation: tickerMove 30s linear infinite;
}

.deposit-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.deposit-amount {
    color: #00ffcc;
    font-weight: bold;
}

.deposit-time {
    font-size: 12px;
    opacity: 0.8;
}

@keyframes tickerMove {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}
.remember-box {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.remember-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 14px;
    gap: 8px;
}

.remember-label input {
    display: none;
}

.custom-check {
    width: 16px;
    height: 16px;
    border: 2px solid #7c5cff;
    border-radius: 4px;
    position: relative;
}

.remember-label input:checked + .custom-check {
    background: linear-gradient(45deg, #6a5af9, #8e44ad);
}

.remember-label input:checked + .custom-check::after {
    content: "✓";
    color: white;
    font-size: 12px;
    position: absolute;
    top: -2px;
    left: 2px;
}
[data-theme="dark"] .product-title,
[data-theme="dark"] .product-card h3,
[data-theme="dark"] .product-card .product-title,
[data-theme="dark"] .product-card .cat-section-header h3,
[data-theme="dark"] .product-body h3 {
    color: #e2e0f0 !important;
}

[data-theme="dark"] .product-card .product-meta,
[data-theme="dark"] .product-card .prod-desc,
[data-theme="dark"] .product-card p,
[data-theme="dark"] .product-sold-info {
    color: #9ca3b8 !important;
}


[data-theme="dark"] .feature-card h3 {
    color: #e2e0f0 !important;
}
[data-theme="dark"] .feature-card p {
    color: #9ca3b8 !important;
}


[data-theme="dark"] .profile-field label,
[data-theme="dark"] .profile-field .field-label,
[data-theme="dark"] .profile-field span:first-child,
[data-theme="dark"] .account-content label,
[data-theme="dark"] .account-content .form-label,
[data-theme="dark"] .account-content h4,
[data-theme="dark"] .account-content h3 {
    color: #c4c0de !important;
}

[data-theme="dark"] .profile-field .field-value,
[data-theme="dark"] .profile-field input,
[data-theme="dark"] .profile-field span:last-child {
    color: #e2e0f0 !important;
}


[data-theme="dark"] .account-content .card,
[data-theme="dark"] .account-content > div {
    background: #1e2029;
    color: #e2e0f0;
}


[data-theme="dark"] [class*="profile"],
[data-theme="dark"] [class*="info-box"],
[data-theme="dark"] [class*="field-box"] {
    background: #252830 !important;
    border-color: #2e3142 !important;
    color: #e2e0f0 !important;
}


[data-theme="dark"] .account-content h1,
[data-theme="dark"] .account-content h2,
[data-theme="dark"] .account-content h3,
[data-theme="dark"] .account-content .section-title {
    color: #e2e0f0 !important;
}


[data-theme="dark"] .shop-notice-wrap,
[data-theme="dark"] .notice-box {
    background: #1e2029 !important;
    border-color: #2e3142 !important;
    color: #dde1ec !important;
}
[data-theme="dark"] .notice-box p,
[data-theme="dark"] .shop-notice-wrap p {
    color: #c4c0de !important;
}


[data-theme="dark"] .cat-section-header h3,
[data-theme="dark"] .cat-section-header h2 {
    color: #e2e0f0 !important;
}



[data-theme="dark"] .top-sidebar-card,
[data-theme="dark"] .top-sidebar-card-dark {
    background: #1a1c24 !important;
    border: 1px solid #2e3142 !important;
}


[data-theme="dark"] .top-sidebar-header,
[data-theme="dark"] .top-sidebar-header-dark {
    background: linear-gradient(135deg, #3b1f7a, #5b21d0) !important;
    color: #ffffff !important;
    border-bottom: 1px solid #2e3142 !important;
}

[data-theme="dark"] .top-sidebar-header i,
[data-theme="dark"] .top-sidebar-header-dark i {
    color: #fbbf24 !important;
}


[data-theme="dark"] .top-list,
[data-theme="dark"] .top-list-dark,
[data-theme="dark"] .top-box {
    background: #1a1c24 !important;
    padding: 12px !important;
}


[data-theme="dark"] .top-item {
    background: #22252f !important;
    border: 1px solid #2e3142 !important;
    border-radius: 10px !important;
}

[data-theme="dark"] .top-item:hover {
    background: #2a2d3a !important;
    border-color: #7c3aed !important;
}


[data-theme="dark"] .top-rank {
    background: rgba(124,58,237,0.15) !important;
    color: #a78bfa !important;
    border-radius: 8px !important;
}
[data-theme="dark"] .top-rank.r1 { color: #fbbf24 !important; background: rgba(251,191,36,0.12) !important; }
[data-theme="dark"] .top-rank.r2 { color: #d1d5db !important; background: rgba(209,213,219,0.10) !important; }
[data-theme="dark"] .top-rank.r3 { color: #f97316 !important; background: rgba(249,115,22,0.12) !important; }


[data-theme="dark"] .top-name {
    color: #dde1ec !important;
}

[data-theme="dark"] .top-amount {
    color: #34d399 !important;
    font-weight: 700 !important;
}

[data-theme="dark"] .top-nap-btn,
[data-theme="dark"] .top-nap-btn-dark,
[data-theme="dark"] a.top-nap-btn-dark {
    background: linear-gradient(135deg, #7c3aed, #5b21d0) !important;
    color: #fff !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 16px rgba(124,58,237,0.35) !important;
}

[data-theme="dark"] .top-nap-btn:hover,
[data-theme="dark"] .top-nap-btn-dark:hover {
    box-shadow: 0 6px 24px rgba(124,58,237,0.55) !important;
    transform: translateY(-2px);
}

body.page-caythue {
    background: #f0f4ff !important;
    color: #1a1f2e !important;
}


[data-page="caythue"] {
    background: #f0f4ff !important;
}


body.page-caythue[data-theme="dark"],
[data-theme="dark"] body.page-caythue {
    --bg: #eef2ff !important;
    --bg-card: #ffffff !important;
    --bg-input: #f4f6fb !important;
    --text: #1a1f2e !important;
    --text-muted: #6b7280 !important;
    --border: #e2e6ef !important;
}


[data-forcetheme="light"] {
    --bg:          #eef2ff !important;
    --bg-card:     #ffffff !important;
    --bg-input:    #f4f6fb !important;
    --text:        #1a1f2e !important;
    --text-muted:  #6b7280 !important;
    --border:      #e2e6ef !important;
}
[data-forcetheme="light"] * {
    color: inherit;
}
[data-forcetheme="light"] .site-header {
    background: rgba(255,255,255,0.97) !important;
    border-bottom-color: #e2e6ef !important;
}

[data-theme="dark"] .dmk-notice {
    background: #1e1f2e !important;
    border-color: #3b2f6e !important;
}
[data-theme="dark"] .dmk-notice p {
    color: #c4c0de !important;
}

[data-theme="dark"] .dmk-notice strong[style*="dc2626"]  { color: #f87171 !important; }
[data-theme="dark"] .dmk-notice strong[style*="var(--p"] { color: #a78bfa !important; }
[data-theme="dark"] .dmk-notice span[style*="var(--success"] { color: #34d399 !important; }
[data-theme="dark"] .dmk-notice span[style*="var(--p"]   { color: #a78bfa !important; }
[data-theme="dark"] .dmk-notice b { color: #e2e0f0 !important; }

[data-theme="dark"] .live-order-box {
    background: #1e1f2e !important;
    border-color: #2e3142 !important;
}
[data-theme="dark"] .live-order-title,
[data-theme="dark"] .live-order-item,
[data-theme="dark"] .live-order-track {
    color: #9ca3b8 !important;
}
[data-theme="dark"] .live-order-item .user    { color: #a78bfa !important; font-weight: 700; }
[data-theme="dark"] .live-order-item .product { color: #e2e0f0 !important; font-weight: 600; }
[data-theme="dark"] .live-order-item .price   { color: #34d399 !important; font-weight: 700; }
[data-theme="dark"] .live-order-item .time    { color: #6b7280 !important; }

[data-theme="dark"] .dmk-card {
    background: #1e2029 !important;
    border-color: #2e3142 !important;
}
[data-theme="dark"] .dmk-card:hover {
    border-color: #8b5cf6 !important;
    box-shadow: 0 18px 48px rgba(109,40,217,.3) !important;
}

[data-theme="dark"] .dmk-card-name {
    color: #e2e0f0 !important;
}

[data-theme="dark"] .dmk-card-desc {
    color: #8b91a8 !important;
}

[data-theme="dark"] .dmk-card-meta {
    color: #8b91a8 !important;
}

[data-theme="dark"] .dmk-card-thumb {
    background: linear-gradient(135deg, #2a1f5e, #3b2f8a) !important;
}

[data-theme="dark"] .dmk-badge-stock {
    background: rgba(30, 32, 41, 0.92) !important;
    color: #c4b5fd !important;
}
[data-theme="dark"] .dmk-badge-stock i { color: #a78bfa !important; }

[data-theme="dark"] .dmk-section-title {
    color: #e2e0f0 !important;
}
[data-theme="dark"] .dmk-section-title::after {
    background: linear-gradient(90deg, #7c3aed, #a78bfa) !important;
}

[data-theme="dark"] .section-title {
    color: #e2e0f0 !important;
    -webkit-text-fill-color: #e2e0f0 !important;
    background: none !important;
}
[data-theme="dark"] .section-title i { color: #a78bfa !important; }

[data-theme="dark"] .feature-card {
    background: #1e2029 !important;
    border-color: #2e3142 !important;
}
[data-theme="dark"] .feature-card:hover {
    border-color: #8b5cf6 !important;
}
[data-theme="dark"] .feature-card h3 { color: #e2e0f0 !important; }
[data-theme="dark"] .feature-card p  { color: #8b91a8 !important; }

[data-theme="dark"] .site-header,
[data-theme="dark"] header,
[data-theme="dark"] .header-inner,
[data-theme="dark"] nav {
    background: #13141f !important;
    border-bottom-color: #2e3142 !important;
}
[data-theme="dark"] .nav-link {
    color: #9ca3b8 !important;
}
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    background: rgba(139,92,246,.15) !important;
    color: #c4b5fd !important;
}
[data-theme="dark"] body,
[data-theme="dark"] .page-wrap,
[data-theme="dark"] main {
    background: #0f1018 !important;
}
[data-theme="dark"] .top-sidebar {
    box-shadow: 0 20px 40px rgba(0,0,0,.5) !important;
}
[data-theme="dark"] .top-list-dark {
    background: rgba(0,0,0,.3) !important;
}

[data-theme="dark"] .dmk-card-thumb:not([style*="background-image"]) {
    background: linear-gradient(135deg, #2a1f5e, #3b2f8a) !important;
}

[data-theme="dark"] .product-card,
[data-theme="dark"] .acc-card,
[data-theme="dark"] .shop-card,
[data-theme="dark"] .cat-card,
[data-theme="dark"] [class*="product-card"],
[data-theme="dark"] [class*="-card"]:not(.feature-card):not(.stat-card) {
    background: #1e2029 !important;
    border-color: #2e3142 !important;
}

[data-theme="dark"] .product-card h3,
[data-theme="dark"] .product-card h4,
[data-theme="dark"] .product-card .title,
[data-theme="dark"] .product-card .name,
[data-theme="dark"] .product-card .product-name,
[data-theme="dark"] .product-card .cat-name,
[data-theme="dark"] .acc-card h3,
[data-theme="dark"] .acc-card h4,
[data-theme="dark"] .acc-card .title,
[data-theme="dark"] .shop-card h3,
[data-theme="dark"] .shop-card h4,
[data-theme="dark"] .shop-card .title,
[data-theme="dark"] .product-title,
[data-theme="dark"] .card-title,
[data-theme="dark"] .item-title,
[data-theme="dark"] .cat-title {
    color: #e2e0f0 !important;
    -webkit-text-fill-color: #e2e0f0 !important;
}

[data-theme="dark"] .product-card p,
[data-theme="dark"] .product-card span,
[data-theme="dark"] .product-card .meta,
[data-theme="dark"] .product-card .info,
[data-theme="dark"] .acc-card p,
[data-theme="dark"] .acc-card span,
[data-theme="dark"] .shop-card p,
[data-theme="dark"] .shop-card span,
[data-theme="dark"] .product-sold-info,
[data-theme="dark"] .product-stock-info,
[data-theme="dark"] [class*="card-meta"],
[data-theme="dark"] [class*="card-info"],
[data-theme="dark"] [class*="card-body"] p,
[data-theme="dark"] [class*="card-body"] span {
    color: #9ca3b8 !important;
}

[data-theme="dark"] [class*="card"] .status-ok,
[data-theme="dark"] [class*="card"] [style*="success"],
[data-theme="dark"] [class*="card"] [class*="available"],
[data-theme="dark"] [class*="card"] [class*="ready"] {
    color: #34d399 !important;
}
[data-theme="dark"] [class*="card-thumb"],
[data-theme="dark"] [class*="card-img"],
[data-theme="dark"] [class*="product-img"],
[data-theme="dark"] [class*="item-img"] {
    background: linear-gradient(135deg, #2a1f5e, #3b2f8a) !important;
}

[data-theme="dark"] [class*="section-header"] h2,
[data-theme="dark"] [class*="section-header"] h3,
[data-theme="dark"] [class*="section-title"],
[data-theme="dark"] [class*="cat-header"] h2,
[data-theme="dark"] [class*="cat-header"] h3 {
    color: #e2e0f0 !important;
    -webkit-text-fill-color: #e2e0f0 !important;
    background: none !important;
}

[data-theme="dark"] a[href] h3,
[data-theme="dark"] a[href] h4,
[data-theme="dark"] a[href] .name,
[data-theme="dark"] a[href] .title {
    color: #e2e0f0 !important;
}