
@keyframes vltFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

:root {
    --vlt-main: #ff0055;
    --vlt-sub: #7000ff;
    --vlt-bg: #0a0a0a;
    --vlt-glass: rgba(255, 255, 255, 0.08);
    --vlt-text-dim: #888;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; } /* 原生平滑滚动 */

body {
    background: linear-gradient(-45deg, #0a0a0a, #1a0510, #0f051a, #0a0a0a);
    background-size: 400% 400%;
    animation: vltFlow 15s ease infinite;
    font-family: 'Inter', -apple-system, sans-serif;
    color: #fff;
    min-height: 100vh;
}

/* --- 导航栏：居中图片 Logo --- */
.vlt-header {
    position: sticky; top: 0; z-index: 1000;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    padding: 15px 20px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(255, 0, 85, 0.2);
}

.vlt-logo-wrap {
    position: absolute; left: 50%; transform: translateX(-50%);
}
.vlt-logo-img {
    height: 35px;
    filter: drop-shadow(0 0 8px var(--vlt-main));
}

.vlt-action-btn {
    width: 42px; height: 42px; display: flex; align-items: center; justify-content: center;
    font-size: 20px; color: #fff; cursor: pointer; transition: 0.3s;
    border-radius: 50%; background: var(--vlt-glass);
}
.vlt-action-btn:hover { background: var(--vlt-main); transform: scale(1.1); }

/* --- 全屏功能页 (搜索 & 分类) --- */
.vlt-overlay-page {
    position: fixed; inset: 0; background: rgba(10, 10, 10, 0.98);
    z-index: 3000; display: none; flex-direction: column; align-items: center; justify-content: center; padding: 20px;
}
.vlt-overlay-page.is-active { display: flex; }
.vlt-search-input {
    width: 90%; max-width: 600px; background: transparent; border: none;
    border-bottom: 3px solid var(--vlt-main); color: #fff; font-size: 32px;
    padding: 15px; outline: none; text-align: center; margin-bottom: 20px;
}

.vlt-cat-list { list-style: none; text-align: center; }
.vlt-cat-item { font-size: 28px; font-weight: 800; margin-bottom: 25px; cursor: pointer; transition: 0.3s; color: #fff; text-transform: uppercase; }
.vlt-cat-item:hover { color: var(--vlt-main); transform: scale(1.1); }

.vlt-close-btn { position: absolute; top: 30px; right: 30px; font-size: 30px; cursor: pointer; color: var(--vlt-main); }

/* --- 列表标题区域 --- */
.vlt-list-header {
    max-width: 1200px; margin: 40px auto 0; padding: 0 20px;
    display: flex; align-items: flex-end; justify-content: space-between;
    border-left: 4px solid var(--vlt-main);
}
.vlt-list-header h2 { font-size: 24px; letter-spacing: 2px; text-transform: uppercase; }
.vlt-list-header span { color: #666; font-size: 14px; font-weight: bold; }

/* --- 游戏列表网格 --- */
.vlt-main { max-width: 1200px; margin: 0 auto; padding: 25px 20px 60px; }
.vlt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 30px; }

.vlt-card { background: var(--vlt-glass); border-radius: 24px; overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.05); transition: 0.4s; }
.vlt-card:hover { transform: translateY(-12px); border-color: var(--vlt-main); box-shadow: 0 10px 30px rgba(255, 0, 85, 0.2); }
.vlt-card-img img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.vlt-card-info { padding: 25px; }
.vlt-card-info h3 { font-size: 20px; margin-bottom: 12px; color: #fff; }
.vlt-card-info p { font-size: 14px; color: #999; line-height: 1.6; margin-bottom: 20px; }

/* --- 底部网站描述 --- */
.vlt-site-desc {
    padding: 80px 20px; text-align: center; background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255,255,255,0.05);
}
.vlt-site-desc h2 { font-size: 32px; margin-bottom: 20px; color: #fff; }
.vlt-site-desc p { font-size: 15px; color: #aaa; max-width: 800px; margin: 0 auto; line-height: 1.8; }

/* --- 底部 & 分享 --- */
.vlt-footer { padding: 60px 20px; text-align: center; background: rgba(0,0,0,0.8); border-top: 1px solid rgba(255,255,255,0.05); }
.vlt-share-group { display: flex; justify-content: center; gap: 20px; margin-bottom: 30px; }
.vlt-share-link { width: 50px; height: 50px; border-radius: 50%; background: var(--vlt-glass); display: flex; align-items: center; justify-content: center; color: #fff; text-decoration: none; transition: 0.3s; }
.vlt-share-link:hover { background: var(--vlt-main); transform: translateY(-5px); }

.vlt-footer-nav { margin-bottom: 20px; }
.vlt-footer-nav a { color: var(--vlt-text-dim); text-decoration: none; font-size: 13px; margin: 0 12px; transition: 0.3s; }
.vlt-footer-nav a:hover { color: var(--vlt-main); text-decoration: underline; }

/* --- 回到顶部 --- */
.vlt-totop {
    position: fixed; bottom: 30px; right: 30px; width: 55px; height: 55px;
    background: var(--vlt-main); color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: 0.4s; cursor: pointer; z-index: 999;
    box-shadow: 0 4px 15px rgba(255, 0, 85, 0.4);
}
.vlt-totop.active { opacity: 1; visibility: visible; }
.vlt-totop:hover { transform: scale(1.1); background: #fff; color: var(--vlt-main); }

@media (max-width: 768px) { .vlt-grid { grid-template-columns: 1fr; } }
a {
    text-decoration: none;
}
