/* =========================================
   GAC SUPREMACY - CORE DESIGN SYSTEM
   ========================================= */

:root {
    --p-neon: #ff00ff; /* Purple/Pink */
    --b-neon: #00d2ff; /* Blue Cyber */
    --g-neon: #00ff88; /* Green Matrix */
    --r-neon: #ff3d00; /* Alert Red */
    --glass: rgba(255, 255, 255, 0.03);
    --font-main: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

/* 1. RESET & FUNDAL */
* { box-sizing: border-box; outline: none; }

body { 
    margin: 0; 
    background: #000; 
    color: #fff; 
    font-family: var(--font-main); 
    height: 100vh;
    overflow: hidden; 
}

.bg-animation {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1;
    background: 
        radial-gradient(circle at 10% 10%, rgba(184, 41, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(0, 210, 255, 0.15) 0%, transparent 40%),
        #050505;
}

/* 2. LAYOUT PRINCIPAL */
.app-container { display: flex; height: 100vh; backdrop-filter: blur(50px); }

/* 3. SIDEBAR (STIL SLIM & DARK) */
.sidebar {
    width: 280px; 
    background: rgba(0, 0, 0, 0.9); 
    padding: 40px 20px;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex; 
    flex-direction: column;
}

.logo-section { display: flex; align-items: center; gap: 15px; margin-bottom: 50px; }

.logo-icon {
    width: 45px; height: 45px; 
    background: var(--p-neon); 
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 24px;
    box-shadow: 0 0 30px var(--p-neon);
}

.nav-menu { flex: 1; }

.nav-item {
    display: flex; align-items: center; gap: 15px; 
    padding: 16px; border-radius: 18px;
    cursor: pointer; transition: 0.4s;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.5);
    border: 1px solid transparent;
}

.nav-item:hover, .nav-item.active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
}

.icon-orb {
    width: 35px; height: 35px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 10px currentColor;
}

/* 4. ZONA DE CONȚINUT */
.main-view { flex: 1; padding: 60px; overflow-y: auto; }

.page { display: none; }
.page.active { display: block; animation: pageIn 0.5s ease forwards; }

@keyframes pageIn {
    from { opacity: 0; transform: translateY(15px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

h1 { font-size: 42px; margin: 0 0 10px 0; letter-spacing: -1px; }
.thin { font-weight: 300; opacity: 0.5; }
.subtitle { opacity: 0.5; margin-bottom: 40px; }

/* 5. CARDURI ULTRA (SETĂRI & REGULAMENT) */
.settings-ultra-grid, .protocol-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
    gap: 30px; 
}

.ultra-card {
    background: var(--glass);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 40px;
    border-radius: 35px;
    position: relative;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.ultra-card:hover { transform: translateY(-10px); border-color: var(--p-neon); }
.full-width { grid-column: 1 / -1; }
.premium-border { border-top: 5px solid var(--p-neon); }

/* 6. ELEMENTE SPECIFICE REGULAMENT */
.rules-logo {
    width: 70px; height: 70px; background: rgba(255,255,255,0.05);
    border: 1px solid var(--p-neon); border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    position: relative; overflow: hidden; font-size: 32px; margin-bottom: 25px;
}

.scan-line {
    position: absolute; width: 100%; height: 3px;
    background: var(--p-neon); top: 0;
    box-shadow: 0 0 20px var(--p-neon);
    animation: scanMove 3s infinite linear;
}

@keyframes scanMove { 0% { top: 0%; } 100% { top: 100%; } }

.step-item { display: flex; gap: 20px; margin-bottom: 25px; align-items: center; }
.step-num { font-size: 28px; font-weight: 900; color: var(--p-neon); opacity: 0.4; font-family: var(--font-mono); }

/* RADARUL */
.radar-section { display: flex; align-items: center; gap: 50px; }
.radar-container {
    width: 120px; height: 120px; border: 2px solid var(--g-neon);
    border-radius: 50%; position: relative; overflow: hidden;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.1) 0%, transparent 70%);
}

.radar-sweep {
    position: absolute; width: 100%; height: 100%;
    background: conic-gradient(from 0deg, transparent 0%, var(--g-neon) 100%);
    opacity: 0.3; animation: rotateRadar 4s linear infinite;
}

@keyframes rotateRadar { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* 7. ELEMENTE SPECIFICE SETĂRI */
.u-btn {
    width: 100%; padding: 22px; 
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff; border-radius: 20px;
    cursor: pointer; font-weight: 700; font-size: 16px;
    transition: 0.3s; margin-bottom: 12px;
}

.u-btn:hover { background: #fff; color: #000; transform: scale(1.02); }

.theme-picker-large { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.t-dot {
    height: 70px; border-radius: 18px; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 11px; font-weight: 900;
    border: 1px solid rgba(255,255,255,0.1); transition: 0.3s;
}

.p-glow { color: var(--p-neon); } .p-glow:hover { background: var(--p-neon); color: #000; }
.g-glow { color: var(--g-neon); } .g-glow:hover { background: var(--g-neon); color: #000; }
.r-glow { color: var(--r-neon); } .r-glow:hover { background: var(--r-neon); color: #000; }
.b-glow { color: var(--b-neon); } .b-glow:hover { background: var(--b-neon); color: #000; }

/* 8. CONSOLĂ & FORMULARE */
.console-box {
    background: rgba(0,0,0,0.6); border-radius: 25px;
    height: 500px; display: flex; flex-direction: column;
    border: 1px solid rgba(255,255,255,0.05); overflow: hidden;
}

.alert-container { flex: 1; padding: 25px; overflow-y: auto; font-family: var(--font-mono); font-size: 14px; line-height: 1.6; }
.console-input-area { 
    padding: 20px; background: rgba(255,255,255,0.02); 
    display: flex; align-items: center; border-top: 1px solid rgba(255,255,255,0.05); 
}
.console-input-area input { background: transparent; border: none; color: #fff; width: 100%; font-family: var(--font-mono); font-size: 15px; }

.gac-input {
    width: 100%; padding: 18px; 
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    color: #fff; border-radius: 15px; margin-bottom: 20px; font-size: 16px;
}

.ban-submit {
    width: 100%; padding: 20px; background: var(--r-neon);
    color: #fff; border: none; border-radius: 18px;
    font-weight: 900; font-size: 16px; cursor: pointer;
    box-shadow: 0 0 20px rgba(255, 61, 0, 0.4);
}

/* 9. USER CARD (SIDEBAR BOTTOM) */
.user-card { 
    margin-top: auto; padding: 20px; 
    background: rgba(255,255,255,0.03); border-radius: 22px; 
    display: flex; align-items: center; gap: 15px; 
}

.avatar-container { position: relative; width: 45px; height: 45px; }
.avatar-ring {
    position: absolute; width: 100%; height: 100%;
    border-radius: 50%; border: 2px solid var(--p-neon);
    animation: avatarPulse 2s infinite;
}

@keyframes avatarPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.4); opacity: 0; } }
.avatar-container img { width: 100%; border-radius: 50%; position: relative; z-index: 2; background: #000; }

.u-name { display: block; font-weight: 700; font-size: 14px; }
.u-status { font-size: 10px; opacity: 0.5; letter-spacing: 1px; }

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--p-neon); }