/* =========================================
   SERVER MONITOR UI
   ========================================= */
.monitor-header {
    padding-top: 150px;
    text-align: center;
    margin-bottom: 50px;
}

.monitor-header .page-desc {
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.monitor-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding-bottom: 80px;
}

.node-card {
    width: 380px;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.node-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.node-title {
    font-family: var(--font-sys);
    color: var(--neon-cyan);
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.node-type {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.8rem;
}

.node-details p {
    font-family: var(--font-mono);
    color: var(--text-muted);
    margin-bottom: 10px;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}

.cyber-value {
    color: var(--text-main);
    font-weight: 700;
}

.status-up { color: #00ff00; text-shadow: 0 0 10px rgba(0,255,0,0.5); }
.status-down { color: #ff0000; text-shadow: 0 0 10px rgba(255,0,0,0.5); }

/* Radar Animation */
.radar-box {
    position: absolute;
    top: -20px; right: -20px;
    width: 100px; height: 100px;
    opacity: 0.15;
    pointer-events: none;
}

.radar {
    width: 100%; height: 100%;
    border-radius: 50%;
    border: 1px solid var(--neon-cyan);
    position: relative;
}

.active-radar::after {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    width: 50%; height: 50%;
    background: linear-gradient(to right, transparent, var(--neon-cyan));
    transform-origin: bottom left;
    animation: radar-spin 2s linear infinite;
    border-radius: 0 100% 0 0;
}

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

.node-desc {
    font-family: var(--font-mono);
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--border-light);
    line-height: 1.5;
}

.node-action {
    margin-top: 20px;
}

.btn-node-action {
    width: 100%;
    display: block;
    text-align: center;
    text-decoration: none;
    color: var(--neon-cyan);
    border: 1px solid var(--neon-cyan);
    padding: 10px;
    border-radius: 4px;
    transition: 0.3s;
    font-family: var(--font-sys);
    letter-spacing: 1px;
}
.btn-node-action:hover {
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

/* =========================================
   GLOBAL STATS
   ========================================= */
.global-stats {
    margin: 0 auto;
    padding-bottom: 120px;
    max-width: 800px;
}
.stats-grid {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    text-align: center;
}
.stat-box {
    flex: 1;
    padding: 30px 20px;
    border-radius: 8px;
}
.stat-box h4 {
    font-family: var(--font-sys);
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.stat-value {
    font-family: var(--font-mono);
    color: var(--neon-cyan);
    font-size: 1.5rem;
    font-weight: bold;
}
@media (max-width: 768px) {
    .stats-grid { flex-direction: column; }
}
