* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: #07070d;
    color: #e2e8f0;
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}
html { scroll-behavior: smooth; }
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #111118; }
::-webkit-scrollbar-thumb { background: #00e5ff; border-radius: 10px; box-shadow: 0 0 15px #00e5ff77; }

.bg-grid {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    pointer-events: none;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== 导航栏 ===== */
.navbar {
    padding: 16px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(0, 229, 255, 0.15);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 7, 13, 0.7);
}
.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #00e5ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    flex: 0 0 auto;
}
.logo span {
    font-weight: 400;
    -webkit-text-fill-color: #94a3b8;
    font-size: 0.9rem;
    background: none;
}

/* 右侧按钮组：nav-area + nav-status 整体右对齐 */
.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    justify-content: flex-end;
}

.nav-area {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* 统一按钮风格 */
.nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
    font-family: 'Inter', sans-serif;
}
.nav-link i {
    font-size: 0.85rem;
}
.nav-link:hover {
    background: rgba(0, 229, 255, 0.12);
    border-color: #00e5ff;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.15);
    transform: translateY(-1px);
}
.nav-link:active {
    transform: scale(0.96);
}

.nav-status {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 229, 255, 0.08);
    padding: 6px 16px;
    border-radius: 40px;
    border: 1px solid rgba(0, 229, 255, 0.2);
    font-size: 0.85rem;
    flex: 0 0 auto;
    white-space: nowrap;
}
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #888;              /* 离线 / 加载中：灰灯 */
    border-radius: 50%;
    box-shadow: 0 0 20px #888;
}
.status-dot--online {
    background: #00ff88;           /* 在线：绿灯 */
    box-shadow: 0 0 20px #00ff88;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* ===== 其余样式 ===== */
.hero {
    min-height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 0;
}
.hero__badge {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 40px;
    background: rgba(124, 58, 237, 0.2);
    border: 1px solid rgba(124, 58, 237, 0.4);
    color: #c084fc;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 20px;
    backdrop-filter: blur(4px);
}
.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 12vw, 7rem);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(to right, #ffffff, #00e5ff, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 80px rgba(0, 229, 255, 0.2);
    margin-bottom: 10px;
}
.hero h1 .sub {
    display: block;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-family: 'Inter', sans-serif;
    -webkit-text-fill-color: #94a3b8;
    background: none;
    letter-spacing: 6px;
    margin-top: 10px;
}
.hero__ip-box {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 80px;
    padding: 8px 8px 8px 28px;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    transition: all 0.3s ease;
}
.hero__ip-box:hover {
    border-color: #00e5ff;
    box-shadow: 0 20px 80px rgba(0, 229, 255, 0.15);
}
.hero__ip-box .ip-text {
    font-family: 'Inter', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: #f8fafc;
    letter-spacing: 1px;
}
.hero__ip-box .copy-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}
.btn-copy {
    background: linear-gradient(135deg, #00e5ff, #7c3aed);
    border: none;
    color: #0a0a0f;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 60px;
    cursor: pointer;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
    white-space: nowrap;
}
.btn-copy:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.6);
}
.btn-copy:active { transform: scale(0.95); }
.toast-msg {
    color: #00ff88;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
}
.toast-msg.show { opacity: 1; }

.section {
    padding: 100px 0;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, #00e5ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-desc {
    color: #94a3b8;
    max-width: 600px;
    font-size: 1.1rem;
}
.reveal {
    opacity: 0;
    transform: translateY(60px) scale(0.96);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.mod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.mod-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(8px);
    padding: 40px 24px;
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.5);
}
.mod-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 229, 255, 0.4);
    box-shadow: 0 20px 60px rgba(0, 229, 255, 0.1);
}
.mod-card .icon { font-size: 3.5rem; display: block; margin-bottom: 20px; }
.mod-card h3 { font-size: 1.5rem; margin-bottom: 10px; color: #fff; }
.mod-card p { color: #94a3b8; font-size: 0.95rem; }
.mod-card .tag {
    display: inline-block;
    margin-top: 16px;
    padding: 4px 16px;
    border-radius: 30px;
    background: rgba(0, 229, 255, 0.12);
    color: #00e5ff;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.rules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 30px;
}
.rule-item {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(8px);
    padding: 28px 24px;
    border-radius: 20px;
    border-left: 4px solid #7c3aed;
    border: 1px solid rgba(255,255,255,0.05);
    border-left-width: 6px;
    transition: all 0.3s;
}
.rule-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-left-color: #00e5ff;
}
.rule-item .rule-num {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.8rem;
    color: #c084fc;
    letter-spacing: 1px;
}
.rule-item h4 { font-size: 1.2rem; margin: 8px 0 6px; color: #f8fafc; }
.rule-item p { color: #cbd5e1; font-size: 0.95rem; margin: 0; }

.download-area {
    background: radial-gradient(circle at 20% 30%, rgba(124, 58, 237, 0.15), transparent 60%);
    padding: 60px;
    border-radius: 40px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.05);
    margin-top: 20px;
}
.btn-download {
    display: inline-block;
    padding: 18px 56px;
    background: linear-gradient(135deg, #7c3aed, #00e5ff);
    border-radius: 60px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #0a0a0f;
    text-decoration: none;
    transition: all 0.4s;
    box-shadow: 0 0 40px rgba(124, 58, 237, 0.3);
}
.btn-download:hover {
    transform: scale(1.05) translateY(-4px);
    box-shadow: 0 0 80px rgba(0, 229, 255, 0.4);
}
.footer {
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.03);
    color: #475569;
    font-size: 0.9rem;
}
.footer a { color: #00e5ff; text-decoration: none; }

@media (max-width: 640px) {
    .navbar {
        flex-direction: column;
        gap: 12px;
        padding: 16px 20px;
    }
    .nav-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    .nav-area {
        flex-wrap: wrap;
        justify-content: center;
    }
    .hero__ip-box {
        flex-wrap: wrap;
        justify-content: center;
        background: transparent;
        backdrop-filter: none;
        border: none;
        padding: 0;
        box-shadow: none;
        gap: 12px;
    }
    .hero__ip-box .ip-text {
        background: rgba(0,0,0,0.4);
        padding: 8px 20px;
        border-radius: 40px;
        border: 1px solid rgba(255,255,255,0.1);
        font-size: 1rem;
    }
    .btn-copy { width: 100%; justify-content: center; }
    .hero__ip-box .copy-wrapper { width: 100%; flex-wrap: wrap; justify-content: center; }
    .download-area { padding: 30px 20px; }
}

/* ===== 固定视频背景 ===== */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -999;
    overflow: hidden;
    pointer-events: none;
    background: #0a171e;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 23, 30, 0.5);
    pointer-events: none;
}

.card {
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .video-overlay {
        background: rgba(10, 23, 30, 0.6);
    }
}
