body {
    font-family: 'Noto Sans SC', sans-serif;
    background-color: #000500;
    color: #d1fae5;
    overflow-x: hidden;
    margin: 0;
    cursor: none; /* 隐藏默认鼠标 */
    user-select: none;
}

.tech-font { font-family: 'Share Tech Mono', monospace; }
.ops-font { font-family: 'Black Ops One', cursive; }

#bg-canvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; 
    background: radial-gradient(circle at 50% 50%, #001a00 0%, #000800 100%);
}

/* HUD 叠加层 (暗角 + 扫描线) */
.hud-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0;
    background: 
        linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%), 
        radial-gradient(circle at center, transparent 60%, rgba(0, 20, 0, 0.8) 100%);
    background-size: 100% 3px, 100% 100%;
}

/* 自定义战术准星 */
#crosshair {
    position: fixed; top: 0; left: 0; width: 40px; height: 40px; pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.05s ease-out; 
    mix-blend-mode: exclusion;
}
#crosshair::before, #crosshair::after {
    content: ''; position: absolute; background: #10b981;
}
#crosshair::before { top: 19px; left: 0; width: 40px; height: 2px; }
#crosshair::after { top: 0; left: 19px; width: 2px; height: 40px; }
.crosshair-center {
    position: absolute; top: 50%; left: 50%; width: 4px; height: 4px; 
    background: #ff0000; border-radius: 50%; transform: translate(-50%, -50%);
}
.crosshair-ring {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    border: 2px solid rgba(16, 185, 129, 0.5); border-radius: 50%;
    animation: radar-spin 4s linear infinite;
}

@keyframes radar-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* HUD 数据显示 */
.hud-data {
    position: fixed; color: #059669; font-size: 0.8rem; font-family: 'Share Tech Mono';
    pointer-events: none; z-index: 10; opacity: 0.7;
}
.hud-tl { top: 20px; left: 20px; }
.hud-tr { top: 20px; right: 20px; text-align: right; }
.hud-bl { bottom: 20px; left: 20px; }
.hud-br { bottom: 20px; right: 20px; text-align: right; }

/* 玻璃面板通用 */
.glass-panel {
    background: rgba(0, 20, 0, 0.85); backdrop-filter: blur(8px);
    border: 1px solid #10b981; box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
    border-radius: 4px;
}

.tactical-card {
    background: rgba(0, 30, 10, 0.7); backdrop-filter: blur(8px);
    border: 1px solid rgba(16, 185, 129, 0.4); border-left: 4px solid #10b981;
    transition: all 0.3s ease; position: relative;
}
.tactical-card:hover {
    transform: translateY(-5px); box-shadow: 0 0 30px rgba(16, 185, 129, 0.4);
    background: rgba(6, 78, 59, 0.6);
}

/* 按钮样式 */
.active-tab {
    background: #064e3b; color: #34d399; border: 1px solid #10b981;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
    cursor: none;
}
.inactive-tab {
    background: rgba(0, 0, 0, 0.6); color: #059669; border: 1px solid rgba(5, 150, 105, 0.3);
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
    cursor: none;
}
button, a, input { cursor: none; } 

.text-neon { color: #34d399; text-shadow: 0 0 10px rgba(52, 211, 153, 0.8); }
.text-gold { color: #fbbf24; text-shadow: 0 0 10px rgba(251, 191, 36, 0.8); }

#chart-3d-wrapper {
    position: relative; width: 100%; height: 400px; overflow: hidden;
    border: 1px solid #10b981; background: rgba(0, 10, 0, 0.6); z-index: 10;
}
#chart-3d-canvas { width: 100%; height: 100%; }

/* 杀敌数计数器 */
.hud-box {
    display: inline-flex; flex-direction: column; align-items: center;
    background: rgba(0, 20, 0, 0.8); border: 2px solid #10b981; padding: 10px 40px; 
    clip-path: polygon(15% 0, 100% 0, 100% 70%, 85% 100%, 0 100%, 0 30%);
    margin-top: 2rem; backdrop-filter: blur(4px); transition: all 0.5s ease;
}
.hud-value {
    font-family: 'Black Ops One', cursive; font-size: 3.5rem; line-height: 1;
    color: #10b981; text-shadow: 0 0 15px #10b981;
}
.hud-box.rainbow .hud-value {
    background: linear-gradient(to right, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8);
    -webkit-background-clip: text; color: transparent; animation: text-rgb 2s linear infinite;
}
@keyframes text-rgb { to { background-position: 200% center; } }

/* 聊天窗口 */
.chat-window {
    width: 350px; height: 500px; display: none; flex-direction: column; overflow: hidden;
    background: rgba(0, 20, 0, 0.95); border: 1px solid #10b981;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3); z-index: 100; border-top-left-radius: 20px;
}
.chat-window.open { display: flex; animation: slideUp 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px) scale(0.9); } to { opacity: 1; transform: translateY(0) scale(1); } }
.ai-message { background: rgba(16, 185, 129, 0.1); color: #6ee7b7; border-left: 3px solid #10b981; font-family: 'Share Tech Mono', monospace; }
.user-message { background: #064e3b; color: #10b981; border-right: 3px solid #34d399; font-family: 'Share Tech Mono', monospace; }

.animate-fade-in { animation: fadeIn 0.5s ease-out forwards; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }