/* heidongvpn.mom - V3 Tactical Cyber Esports Engine */
:root {
    --bg-base: #070a0f;
    --bg-sidebar: #0b1017;
    --bg-card: rgba(15, 23, 34, 0.85);
    --emerald: #10b981;
    --emerald-light: #34d399;
    --emerald-glow: rgba(16, 185, 129, 0.25);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-emerald: rgba(16, 185, 129, 0.35);
    --text-pure: #ffffff;
    --text-muted: #8b9bb4;
    --font-mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    background-color: var(--bg-base);
    background-image: 
        radial-gradient(circle 800px at 80% 20%, rgba(16, 185, 129, 0.08), transparent 70%),
        linear-gradient(rgba(16, 185, 129, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 185, 129, 0.02) 1px, transparent 1px);
    background-size: 100% 100%, 32px 32px, 32px 32px;
    color: #e2e8f0;
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
}
a { color: inherit; text-decoration: none; }

/* Fixed Left Sidebar Navigation */
.tactical-sidebar {
    width: 270px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border-emerald);
    padding: 28px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
}
.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
}
.sidebar-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid var(--emerald);
    padding: 2px;
}
.sidebar-brand-name {
    font-size: 1.12rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}
.sidebar-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--emerald-light);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
}
.sidebar-tag::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 8px var(--emerald);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 24px 0 auto;
    list-style: none;
}
.nav-section-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: #556987;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 12px 4px;
}
.nav-item a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
}
.nav-item a:hover, .nav-item.active a {
    background: rgba(16, 185, 129, 0.12);
    color: var(--emerald-light);
    border-left: 3px solid var(--emerald);
}

.sidebar-system-hud {
    background: rgba(7, 10, 15, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    padding: 14px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    margin-bottom: 16px;
}
.hud-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    color: #718096;
}
.hud-val {
    color: var(--emerald-light);
    font-weight: bold;
}
.sidebar-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--emerald) 0%, #059669 100%);
    color: #05140d;
    font-weight: 800;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 4px 16px var(--emerald-glow);
    transition: transform 0.2s, box-shadow 0.2s;
    font-size: 0.92rem;
}
.sidebar-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(16, 185, 129, 0.45);
}

/* Main Content Area */
.main-wrapper {
    margin-left: 270px;
    flex: 1;
    min-height: 100vh;
    padding: 40px 48px;
    max-width: 1350px;
}

/* Tactical Terminal CLI Hero */
.tactical-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 70px;
    padding-top: 20px;
}
.tactical-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--emerald-light);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--border-emerald);
    padding: 5px 14px;
    border-radius: 4px;
    margin-bottom: 20px;
}
.tactical-h1 {
    font-size: clamp(2.4rem, 4vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: -1px;
}
.tactical-h1 span {
    color: var(--emerald-light);
    text-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}
.tactical-lead {
    font-size: 1.12rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}
.hero-action-group {
    display: flex;
    gap: 16px;
}
.btn-emerald-solid {
    padding: 13px 30px;
    background: linear-gradient(135deg, var(--emerald) 0%, #059669 100%);
    color: #05140d;
    font-weight: 800;
    border-radius: 6px;
    font-size: 0.98rem;
    box-shadow: 0 4px 20px var(--emerald-glow);
    transition: all 0.2s;
}
.btn-emerald-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(16, 185, 129, 0.5);
}
.btn-cyber-outline {
    padding: 13px 26px;
    background: rgba(16, 185, 129, 0.05);
    border: 1px solid var(--border-emerald);
    color: var(--emerald-light);
    font-weight: 700;
    border-radius: 6px;
    font-size: 0.98rem;
    transition: all 0.2s;
}
.btn-cyber-outline:hover {
    background: rgba(16, 185, 129, 0.15);
}

/* Simulated CLI Terminal */
.terminal-window {
    background: #090e15;
    border: 1px solid var(--border-emerald);
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6), 0 0 25px var(--emerald-glow);
    overflow: hidden;
    font-family: var(--font-mono);
}
.terminal-header {
    background: #0d1520;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--border-subtle);
}
.terminal-dots { display: flex; gap: 6px; }
.tdot { width: 10px; height: 10px; border-radius: 50%; }
.tdot-red { background: #ef4444; }
.tdot-yellow { background: #f59e0b; }
.tdot-green { background: #10b981; }
.terminal-title { font-size: 0.76rem; color: #64748b; }
.terminal-body {
    padding: 20px;
    font-size: 0.82rem;
    line-height: 1.8;
}
.cmd-prompt { color: var(--emerald); }
.cmd-text { color: #f8fafc; font-weight: 600; }
.log-ok { color: var(--emerald-light); }
.log-warn { color: #f59e0b; }
.log-dim { color: #64748b; }

/* Esports Game Radar Grid */
.section-headline {
    margin-bottom: 30px;
}
.section-headline h2 {
    font-size: 2.1rem;
    font-weight: 850;
    color: #fff;
    margin-bottom: 8px;
}
.section-headline p {
    color: var(--text-muted);
    font-size: 1rem;
}

.game-hud-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 70px;
}
.game-hud-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 22px;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, border-color 0.25s;
}
.game-hud-card:hover {
    transform: translateY(-4px);
    border-color: var(--emerald);
}
.game-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}
.game-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
}
.game-server-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 2px 8px;
    background: rgba(16, 185, 129, 0.12);
    color: var(--emerald-light);
    border-radius: 4px;
}
.game-ping-display {
    display: flex;
    align-items: baseline;
    gap: 6px;
    margin-bottom: 12px;
}
.ping-value {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--emerald-light);
    font-family: var(--font-mono);
}
.ping-unit {
    color: var(--text-muted);
    font-size: 0.85rem;
}
.ping-bar-track {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 14px;
}
.ping-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--emerald) 0%, var(--emerald-light) 100%);
    border-radius: 3px;
}
.game-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Dual Kernel Architecture */
.dual-kernel-section {
    background: linear-gradient(180deg, rgba(11, 16, 23, 0.6) 0%, rgba(7, 10, 15, 0.9) 100%);
    border: 1px solid var(--border-emerald);
    border-radius: 16px;
    padding: 36px;
    margin-bottom: 70px;
}
.dual-kernel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 24px;
}
.kernel-card {
    background: rgba(15, 23, 34, 0.7);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 26px;
}
.kernel-title {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.kernel-card p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.7;
    margin-bottom: 16px;
}
.kernel-features-list {
    list-style: none;
    font-size: 0.88rem;
}
.kernel-features-list li {
    padding: 6px 0;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}
.kernel-features-list li::before {
    content: "✓";
    color: var(--emerald-light);
    font-weight: bold;
}

/* Esports FAQ Section */
.esports-faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 70px;
}
.faq-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 24px;
}
.faq-box h3 {
    font-size: 1.08rem;
    font-weight: 750;
    color: #fff;
    margin-bottom: 10px;
}
.faq-box p {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Route-Table Ecosystem Cluster */
.ecosystem-tactical {
    background: #090e15;
    border: 1px solid var(--border-emerald);
    border-radius: 14px;
    padding: 30px;
    margin-bottom: 50px;
}
.eco-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
}
.eco-head h3 { font-size: 1.18rem; font-weight: 800; color: #fff; }
.eco-badge { font-family: var(--font-mono); font-size: 0.76rem; color: var(--emerald-light); }
.route-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.route-card {
    background: rgba(15, 23, 34, 0.8);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.2s;
}
.route-card:hover {
    border-color: var(--emerald);
    transform: translateY(-2px);
}
.route-domain { font-family: var(--font-mono); font-weight: 700; color: #fff; font-size: 0.92rem; margin-bottom: 4px; }
.route-role { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 10px; }
.route-metric { font-family: var(--font-mono); font-size: 0.74rem; color: var(--emerald-light); display: flex; justify-content: space-between; }

/* Responsive */
@media (max-width: 1024px) {
    .tactical-sidebar { width: 100%; height: auto; position: static; border-right: none; border-bottom: 1px solid var(--border-emerald); }
    body { flex-direction: column; }
    .main-wrapper { margin-left: 0; padding: 24px; }
    .tactical-hero { grid-template-columns: 1fr; }
    .game-hud-grid { grid-template-columns: 1fr; }
    .dual-kernel-grid { grid-template-columns: 1fr; }
    .route-grid { grid-template-columns: 1fr 1fr; }
    .esports-faq-grid { grid-template-columns: 1fr; }
}
