/* --- VARIABLES & BASE --- */
:root {
    --bg-dark: #050505;
    --red: #c9020f;
    --red-glow: rgba(201, 2, 15, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #888888;
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.text-red { color: var(--red); text-shadow: 0 0 10px var(--red-glow); }

/* --- BACKGROUND ORBS (For the Glassmorphism Effect) --- */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: drift 15s infinite alternate ease-in-out;
}
.orb-1 { width: 400px; height: 400px; background: rgba(201, 2, 15, 0.15); top: -100px; left: -100px; }
.orb-2 { width: 500px; height: 500px; background: rgba(20, 20, 20, 0.8); bottom: -150px; right: 10%; }

/* --- THE GLASS PANEL COMPONENT --- */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

/* --- APP LAYOUT --- */
.app-container {
    display: flex;
    width: 90vw;
    height: 90vh;
    max-width: 1400px;
    gap: 20px;
}

/* SIDEBAR */
.sidebar {
    width: 260px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    justify-content: space-between;
}

.logo { font-size: 2rem; font-weight: 800; letter-spacing: 2px; }
.logo .dot { color: var(--red); text-shadow: 0 0 10px var(--red-glow); }

.nav-menu { display: flex; flex-direction: column; gap: 15px; margin-top: 40px; }
.nav-menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}
.nav-menu a:hover, .nav-menu a.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border-left: 3px solid var(--red);
}

.btn-glow {
    background: var(--red);
    color: white;
    text-decoration: none;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    font-weight: 800;
    text-transform: uppercase;
    box-shadow: 0 0 15px var(--red-glow);
    transition: 0.3s;
    display: block;
}
.btn-glow:hover { box-shadow: 0 0 25px var(--red); transform: translateY(-2px); }

/* MAIN DASHBOARD */
.dashboard {
    flex: 1;
    overflow-y: auto;
    padding-right: 10px; /* Space for scrollbar */
}
.dashboard::-webkit-scrollbar { width: 8px; }
.dashboard::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 4px; }

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    margin-bottom: 30px;
}
.dashboard-header h1 { margin: 0; font-size: 3rem; font-weight: 800; }
.dashboard-header p { margin: 10px 0 0 0; color: var(--text-muted); font-size: 1.1rem; }

.status-badge {
    background: rgba(0, 255, 0, 0.1);
    color: #4ade80;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    border: 1px solid rgba(0, 255, 0, 0.2);
}

/* STATS GRID */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.stat-card { padding: 30px; display: flex; flex-direction: column; justify-content: center; }
.stat-label { margin: 0; color: var(--text-muted); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.stat-value { margin: 10px 0 0 0; font-size: 2.5rem; font-weight: 800; }

/* COMMAND LIST */
.section-title { font-size: 1.5rem; margin-bottom: 20px; color: var(--text-main); font-weight: 500;}
.cmd-container { padding: 10px 30px; }
.cmd-row { 
    display: flex; 
    padding: 20px 0; 
    border-bottom: 1px solid var(--glass-border); 
}
.cmd-row:last-child { border-bottom: none; }
.cmd-name { width: 200px; color: var(--red); font-family: monospace; font-size: 1.2rem; font-weight: bold; }
.cmd-desc { color: var(--text-muted); font-size: 1rem; }

/* --- ANIMATIONS --- */
.fade-in { animation: fadeIn 0.8s ease-out forwards; opacity: 0; transform: translateY(20px); }
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }

.float-anim { transition: transform 0.3s ease, border-color 0.3s ease; }
.float-anim:hover { transform: translateY(-5px); border-color: rgba(201, 2, 15, 0.5); }

@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }
@keyframes drift { to { transform: translate(30px, 30px); } }