:root {
    --bg-color: #060812;
    --card-bg: rgba(15, 23, 42, 0.65);
    --border-color: rgba(0, 243, 255, 0.15);
    --primary-neon: #00f3ff;
    --secondary-neon: #7b2cbf;
    --accent-neon: #ff007f;
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Prompt', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.stars-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(123, 44, 191, 0.08) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.glow-sphere {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    pointer-events: none;
    z-index: 0;
}
.sphere-1 { width: 350px; height: 350px; background: rgba(0, 243, 255, 0.12); top: -50px; left: -50px; }
.sphere-2 { width: 450px; height: 450px; background: rgba(255, 0, 127, 0.08); bottom: -100px; right: -50px; }

/* Container & Header */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    position: relative;
    z-index: 1;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--primary-neon);
    letter-spacing: 1px;
}
.logo-text small {
    font-size: 0.65rem;
    color: var(--text-muted);
    display: block;
}

.status-badge {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid var(--primary-neon);
    color: var(--primary-neon);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 8px; height: 8px;
    background-color: var(--primary-neon);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--primary-neon);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.8); }
}

/* Glassmorphism Cards */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.card {
    background: var(--card-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(0, 243, 255, 0.4);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
}

.card-header h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
}

.tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}
.tag.ready { background: rgba(0, 243, 255, 0.15); color: var(--primary-neon); }
.tag.standby { background: rgba(148, 163, 184, 0.2); color: var(--text-muted); }

.card-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
}

/* Progress Bar */
.progress-bar {
    width: 100%; height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
    overflow: hidden;
}
.fill {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-neon), var(--primary-neon));
    transition: width 0.5s ease;
}
.fill-100 { width: 100%; }
.fill-50 { width: 50%; }

/* Console Terminal */
.console-section {
    grid-column: 1 / -1;
}

.console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.console-header h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-neon), var(--accent-neon));
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.4);
    transition: all 0.2s ease;
}

.btn-primary:hover {
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.7);
    transform: scale(1.02);
}

.console-body {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1rem;
    font-family: monospace;
    font-size: 0.85rem;
    min-height: 140px;
    max-height: 200px;
    overflow-y: auto;
}

.log-line { margin-bottom: 0.4rem; }
.log-line.info { color: var(--text-muted); }
.log-line.success { color: #10b981; }
.log-line.highlight { color: var(--primary-neon); }
