/* ================================================================
   SNL // BASE.CSS — Temel Stiller
================================================================ */

/* ── CSS Değişkenleri (Koyu Tema — Default) ──────────────────── */
:root {
    --bg:       #0a0a0f;
    --bg2:      #12121f;
    --bg3:      #1a1a2e;
    --surface:  #16162a;
    --surface2: #1e1e35;
    --border:   #2a2a4a;
    --accent:   #7c3aed;
    --accent2:  #a855f7;
    --pink:     #ec4899;
    --neon:     #c084fc;
    --text:     #f1f5f9;
    --muted:    #94a3b8;
    --success:  #22c55e;
    --danger:   #ef4444;
    --warning:  #f59e0b;
    --gradient: linear-gradient(135deg, #7c3aed, #ec4899);
    --gradient2: linear-gradient(135deg, #a855f7, #ec4899);
    --glow:     0 0 20px rgba(168, 85, 247, 0.4);
    --glow-pink: 0 0 20px rgba(236, 72, 153, 0.4);
    --font-main:  'Rajdhani', sans-serif;
    --font-title: 'Orbitron', sans-serif;
}

/* ── Açık Tema ────────────────────────────────────────────────── */
body.light-theme {
    --bg:       #f0f4ff;
    --bg2:      #ffffff;
    --bg3:      #f8fafc;
    --surface:  #ffffff;
    --surface2: #f1f5f9;
    --border:   #e0e7ff;
    --text:     #1e293b;
    --muted:    #64748b;
    --neon:     #6366f1;
}

/* ── Koyu Tema ────────────────────────────────────────────────── */
body.dark-theme {
    --bg:       #0f172a;
    --bg2:      #1e293b;
    --bg3:      #1e293b;
    --surface:  #1e293b;
    --surface2: #334155;
    --border:   #334155;
    --text:     #e2e8f0;
    --muted:    #94a3b8;
    --neon:     #c084fc;
}

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

body {
    background:     var(--bg);
    color:          var(--text);
    font-family:    var(--font-main);
    min-height:     100vh;
    padding-top:    160px;
    padding-bottom: 16px;
    transition:     background 0.2s, color 0.2s;
}

/* ── Scrollbar ────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent); }

/* ================================================================
   LOGIN EKRANI
================================================================ */

#login-overlay {
    position:        fixed;
    inset:           0;
    background:      radial-gradient(ellipse at 50% 0%, #1a0533 0%, #0a0a0f 60%);
    z-index:         9999;
    display:         flex;
    flex-direction:  column;
    align-items:     center;
    justify-content: center;
    padding:         20px;
}

.login-box {
    width:           100%;
    max-width:       360px;
    display:         flex;
    flex-direction:  column;
    align-items:     center;
    gap:             0;
}

/* SNL Logo (Login) */
.login-logo-wrap {
    display:        flex;
    flex-direction: column;
    align-items:    center;
    margin-bottom:  32px;
}

.login-snl-icon {
    width:           100px;
    height:          100px;
    background:      var(--gradient);
    border-radius:   24px;
    display:         flex;
    align-items:     center;
    justify-content: center;
    font-family:     var(--font-title);
    font-size:       36px;
    font-weight:     900;
    color:           #fff;
    box-shadow:      0 0 60px rgba(168,85,247,0.6), 0 0 120px rgba(168,85,247,0.2);
    margin-bottom:   20px;
    animation:       logoPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 40px rgba(168,85,247,0.5), 0 0 80px rgba(168,85,247,0.2); }
    50%       { box-shadow: 0 0 80px rgba(236,72,153,0.6), 0 0 120px rgba(236,72,153,0.3); }
}

.login-app-name {
    font-family:   var(--font-title);
    font-size:     22px;
    font-weight:   900;
    color:         #fff;
    letter-spacing: 3px;
    text-align:    center;
    margin-bottom: 4px;
}

.login-app-sub {
    font-size:     11px;
    color:         var(--muted);
    letter-spacing: 2px;
    text-align:    center;
    margin-bottom: 8px;
}

.login-tagline {
    font-size:   13px;
    color:       var(--neon);
    font-style:  italic;
    text-align:  center;
}

/* ── Auth Form ─────────────────────────────────────────────────── */
.auth-form {
    width:          100%;
    display:        flex;
    flex-direction: column;
    gap:            10px;
}

/* ================================================================
   GLOBAL INPUT / BUTTON / SELECT
================================================================ */

input, textarea, select {
    background:   var(--surface);
    border:       1px solid var(--border);
    color:        var(--text);
    padding:      12px 16px;
    border-radius: 12px;
    font-family:  var(--font-main);
    font-size:    14px;
    width:        100%;
    transition:   all 0.2s;
    outline:      none;
    margin-bottom: 0;
}

input:focus, textarea:focus, select:focus {
    border-color: var(--accent);
    box-shadow:   0 0 0 3px rgba(124,58,237,0.15);
}

input::placeholder { color: var(--muted); }

/* Login ekranındaki inputlar — her zaman koyu */
#login-overlay input {
    background: rgba(255,255,255,0.05);
    border:     1px solid rgba(255,255,255,0.1);
    color:      #fff;
}

#login-overlay input::placeholder { color: rgba(255,255,255,0.4); }
#login-overlay input:focus { border-color: var(--accent); }

/* Login select'leri de koyu */
#login-overlay select {
    background: rgba(255,255,255,0.05);
    border:     1px solid rgba(255,255,255,0.1);
    color:      #fff;
}

button {
    background:    var(--gradient);
    color:         #fff;
    font-weight:   700;
    cursor:        pointer;
    font-family:   var(--font-title);
    font-size:     13px;
    letter-spacing: 1px;
    border:        none;
    padding:       13px 20px;
    border-radius: 12px;
    transition:    all 0.2s;
    width:         100%;
}

button:hover {
    transform:  translateY(-1px);
    box-shadow: var(--glow);
}

button:active { transform: translateY(0); }

.btn-secondary {
    background: var(--surface2);
    color:      var(--muted);
    border:     1px solid var(--border);
    font-family: var(--font-main);
}

.btn-secondary:hover {
    background:  var(--surface);
    color:       var(--text);
    box-shadow:  none;
    transform:   none;
}

.btn-danger {
    background: rgba(239,68,68,0.15);
    color:      var(--danger);
    border:     1px solid rgba(239,68,68,0.3);
    font-family: var(--font-main);
}

.btn-danger:hover { background: var(--danger); color: #fff; }

.btn-sm { padding: 6px 14px; font-size: 11px; width: auto; }

.auth-toggle {
    font-size:       13px;
    color:           var(--neon);
    cursor:          pointer;
    text-decoration: underline;
    text-align:      center;
    margin-top:      8px;
    display:         block;
}
