:root {
    --bg-dark: #0b0b14;
    --primary: #a55eea;
    --primary-glow: rgba(165, 94, 234, 0.5);
    --accent-blue: #4bcffa;
    --text-main: #ffffff;
    --text-muted: #8b8b95;
    --glass-bg: rgba(20, 20, 35, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --radius-lg: 24px;
    --radius-md: 16px;
    --font-ui: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-ui);
    overflow-x: hidden;
    line-height: 1.6;
}

/* 动态背景 */
.bg-gradient-mesh {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: radial-gradient(circle at 15% 50%, rgba(75, 207, 250, 0.1), transparent 25%),
                radial-gradient(circle at 85% 30%, rgba(165, 94, 234, 0.15), transparent 25%);
    filter: blur(60px);
}

/* 导航栏 */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px;
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; font-size: 20px; }
.logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: #000; box-shadow: 0 0 15px var(--primary-glow);
}
.nav-links a { color: var(--text-muted); text-decoration: none; margin-left: 30px; transition: 0.3s; font-size: 14px; }
.nav-links a:hover { color: var(--text-main); }
.nav-btn-highlight { color: var(--accent-blue) !important; font-weight: 700; }

/* Hero 区域 */
.hero-section {
    height: 90vh; display: flex; align-items: center; justify-content: center;
    text-align: center; padding: 20px;
    background: radial-gradient(circle at center, rgba(165, 94, 234, 0.05) 0%, transparent 70%);
}
.hero-content h1 { font-size: 4rem; letter-spacing: -2px; line-height: 1.1; margin-bottom: 20px; }
.gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--primary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.subtitle { color: var(--text-muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto 40px; }

/* 按钮 */
.cta-group { display: flex; gap: 20px; justify-content: center; }
.btn-primary, .btn-secondary {
    padding: 14px 32px; border-radius: 50px; text-decoration: none; font-weight: 600;
    transition: all 0.3s; display: flex; align-items: center; gap: 8px; border: none; font-size: 14px; cursor: pointer;
}
.btn-primary {
    background: linear-gradient(135deg, var(--primary), #8e44ad);
    color: white; box-shadow: 0 10px 30px rgba(165, 94, 234, 0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(165, 94, 234, 0.5); }
.btn-primary:disabled { opacity: 0.7; cursor: not-allowed; transform: none; }

.btn-secondary { background: rgba(255,255,255,0.05); color: white; border: 1px solid var(--glass-border); }
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--text-main); }

/* 在线列表卡片 */
.status-section { padding: 50px 20px; }
.container { max-width: 900px; margin: 0 auto; }
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.board-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1px solid var(--glass-border); }
.header-left { display: flex; align-items: center; gap: 12px; }
.live-dot { width: 8px; height: 8px; background: #2ecc71; border-radius: 50%; box-shadow: 0 0 10px #2ecc71; animation: pulse 2s infinite; }
.refresh-time { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

/* 表格样式 */
.table-container { overflow-x: auto; }
.player-table { width: 100%; border-collapse: collapse; text-align: left; }
.player-table th { color: var(--text-muted); font-size: 12px; padding: 12px; border-bottom: 1px solid var(--glass-border); }
.player-table td { padding: 16px 12px; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 14px; }
.player-table tr:last-child td { border-bottom: none; }

/* 标签样式 */
.group-tag { font-size: 10px; font-weight: 800; padding: 4px 8px; border-radius: 4px; text-transform: uppercase; display: inline-block; min-width: 45px; text-align: center; }
.group-tag.lite { background: rgba(255, 255, 255, 0.1); color: var(--text-muted); }
.group-tag.pro { background: rgba(165, 94, 234, 0.2); color: var(--primary); border: 1px solid rgba(165, 94, 234, 0.3); }
.group-tag.max { background: rgba(255, 215, 0, 0.2); color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.3); box-shadow: 0 0 5px rgba(255, 215, 0, 0.2); }
.version-tag { font-family: var(--font-mono); color: var(--text-muted); opacity: 0.8; }
.time-tag { font-family: var(--font-mono); color: var(--accent-blue); }

/* 特性网格 */
.features-section { padding: 50px 20px; max-width: 1200px; margin: 0 auto; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.feature-card { padding: 40px; border-radius: var(--radius-md); background: rgba(255,255,255,0.03); border: 1px solid var(--glass-border); transition: 0.3s; }
.feature-card:hover { transform: translateY(-5px); background: rgba(255,255,255,0.05); border-color: var(--primary); }
.feature-card .icon { font-size: 40px; margin-bottom: 20px; }
.feature-card h3 { margin-bottom: 10px; }
.feature-card p { color: var(--text-muted); font-size: 14px; }

/* 底部 */
.site-footer { text-align: center; padding: 40px; color: var(--text-muted); border-top: 1px solid var(--glass-border); font-size: 14px; }

/* --- 模态框样式 (新增) --- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(5px);
    display: flex; align-items: center; justify-content: center;
    visibility: hidden; opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.visible { visibility: visible; opacity: 1; }

.modal-content {
    width: 90%; max-width: 420px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.95); transition: transform 0.3s ease;
}
.modal-overlay.visible .modal-content { transform: scale(1); }

.modal-header-simple { border-bottom: 1px solid var(--glass-border); padding-bottom: 15px; margin-bottom: 20px; }
.modal-header-simple h3 { margin: 0; font-size: 18px; color: var(--text-main); }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; color: var(--text-muted); font-size: 12px; margin-bottom: 8px; font-weight: 600; }
.form-group input {
    width: 100%; padding: 12px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white; font-family: var(--font-mono); outline: none; transition: 0.3s;
}
.form-group input:focus { border-color: var(--primary); background: rgba(0,0,0,0.3); }

.msg-box { min-height: 24px; font-size: 13px; text-align: center; margin-bottom: 15px; font-weight: 600; }

.action-buttons { display: flex; gap: 15px; }
.btn-full { flex: 1; justify-content: center; border-radius: 8px; }

/* 动画 */
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.4; } 100% { opacity: 1; } }
.animate-up { opacity: 0; transform: translateY(20px); animation: fadeInUp 0.8s forwards; }
.delay-1 { animation-delay: 0.2s; } .delay-2 { animation-delay: 0.4s; }
@keyframes fadeInUp { to { opacity: 1; transform: translateY(0); } }

/* 移动端适配 */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .cta-group { flex-direction: column; }
    .navbar { padding: 15px 20px; }
    .nav-links { display: none; } /* 移动端暂且隐藏导航 */
}