/* ================================================================
   BASE.CSS — TurkSesli Premium Design System
   Aesthetic: "Obsidian Terminal" — deep dark, surgical precision,
   sapphire-to-violet chromatic accents, editorial typography
   ================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
    /* ── Core Surfaces ── */
    --bg-void:        #02040a;
    --bg-base:        #050914;
    --bg-surface:     #080e1e;
    --bg-raised:      #0c1428;
    --bg-elevated:    #101a32;
    --bg-hover:       #131f3a;
    --bg-active:      #182542;

    /* ── Glass System ── */
    --glass-light:    rgba(12, 20, 40, 0.55);
    --glass-mid:      rgba(8, 14, 30, 0.72);
    --glass-heavy:    rgba(5, 10, 22, 0.88);
    --glass-blur:     blur(20px) saturate(180%);

    /* ── Borders ── */
    --border-faint:   rgba(255, 255, 255, 0.04);
    --border-soft:    rgba(255, 255, 255, 0.07);
    --border-mid:     rgba(255, 255, 255, 0.11);
    --border-strong:  rgba(255, 255, 255, 0.18);
    --border-glass:   rgba(255, 255, 255, 0.07);

    /* ── Chromatic Palette ── */
    --sapphire:       #3b82f6;
    --sapphire-light: #60a5fa;
    --sapphire-glow:  rgba(59, 130, 246, 0.25);
    --cyan:           #06b6d4;
    --cyan-light:     #22d3ee;
    --cyan-glow:      rgba(6, 182, 212, 0.2);
    --violet:         #7c3aed;
    --violet-light:   #a78bfa;
    --violet-glow:    rgba(124, 58, 237, 0.2);
    --indigo:         #4f46e5;
    --aurora:         linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #7c3aed 100%);
    --aurora-subtle:  linear-gradient(135deg, rgba(59,130,246,0.15) 0%, rgba(6,182,212,0.08) 50%, rgba(124,58,237,0.12) 100%);

    /* ── Semantic Colors ── */
    --success:        #10b981;
    --success-glow:   rgba(16, 185, 129, 0.2);
    --warning:        #f59e0b;
    --danger:         #ef4444;
    --danger-glow:    rgba(239, 68, 68, 0.2);

    /* ── Typography ── */
    --font-display:   'Syne', sans-serif;
    --font-body:      'DM Sans', sans-serif;
    --font-mono:      'JetBrains Mono', monospace;

    /* ── Text ── */
    --text-primary:   #f0f4ff;
    --text-secondary: #8896b3;
    --text-muted:     #4a5568;
    --text-accent:    #60a5fa;

    /* ── Shadows ── */
    --shadow-sm:      0 2px 8px rgba(0,0,0,0.4);
    --shadow-md:      0 8px 24px rgba(0,0,0,0.5);
    --shadow-lg:      0 16px 48px rgba(0,0,0,0.6);
    --shadow-glow-blue: 0 0 24px rgba(59,130,246,0.2);
    --shadow-glow-cyan: 0 0 20px rgba(6,182,212,0.15);

    /* ── Radius ── */
    --r-xs:  3px;
    --r-sm:  6px;
    --r-md:  10px;
    --r-lg:  14px;
    --r-xl:  20px;
    --r-full: 9999px;

    /* ── Transitions ── */
    --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in:   cubic-bezier(0.4, 0, 1, 1);
    --ease-io:   cubic-bezier(0.4, 0, 0.2, 1);

    /* Legacy compat */
    --radius-sm: var(--r-sm);
    --radius-md: var(--r-md);
    --radius-lg: var(--r-lg);
    --brand-primary: var(--sapphire);
    --brand-accent: var(--cyan);
    --brand-gradient: linear-gradient(135deg, var(--sapphire), var(--cyan));
    --bg-glass: var(--glass-light);
    --blur-intensity: var(--glass-blur);
    --shadow-glass: var(--shadow-md);
}

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

html { font-size: 14px; }

body {
    font-family: var(--font-body);
    background: var(--bg-base);
    color: var(--text-primary);
    overflow: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: -0.01em;
    line-height: 1.5;
}

/* Ambient background — subtle moving gradient */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 50% at 10% 20%, rgba(59,130,246,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 90% 80%, rgba(124,58,237,0.05) 0%, transparent 60%),
        radial-gradient(ellipse 50% 60% at 50% 50%, rgba(6,182,212,0.03) 0%, transparent 70%);
}

/* ── Scrollbars ── */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.14); }

/* ── Selection ── */
::selection { background: rgba(59,130,246,0.3); color: #fff; }

/* ── Glass Card ── */
.glass-panel {
    background: var(--glass-light);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--border-soft);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-md), inset 0 1px 0 rgba(255,255,255,0.05);
}

/* ================================================================
   AUTH SCREEN
   ================================================================ */
#auth-screen {
    position: fixed; inset: 0;
    display: flex; z-index: 9999;
    background: var(--bg-base);
}

/* ================================================================
   AUTH LEFT — Premium Redesign
   ================================================================ */
.auth-left {
    flex: 1.3;
    display: flex; flex-direction: column;
    padding: 0;
    background: #02040e;
    border-right: 1px solid rgba(59,130,246,0.12);
    position: relative; overflow: hidden;
}

/* ── Derin uzay arkaplanı ── */
.auth-left::before {
    content: '';
    position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(ellipse 120% 60% at -10% 10%, rgba(59,130,246,0.18) 0%, transparent 55%),
        radial-gradient(ellipse 80% 80% at 110% 90%, rgba(124,58,237,0.14) 0%, transparent 55%),
        radial-gradient(ellipse 60% 50% at 50% 50%, rgba(6,182,212,0.06) 0%, transparent 60%),
        linear-gradient(160deg, #020615 0%, #01030d 60%, #030112 100%);
}

/* ── Izgara çizgileri ── */
.auth-left::after {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background-image:
        linear-gradient(rgba(59,130,246,0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59,130,246,0.055) 1px, transparent 1px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 90% 90% at 20% 20%, black 0%, transparent 75%);
}

/* ── İçerik wrapper ── */
.auth-left-inner {
    position: relative; z-index: 10;
    display: flex; flex-direction: column;
    height: 100%; padding: 52px 56px;
}

/* ── Marka ── */
.auth-brand { margin-bottom: 0; }
.auth-logo-wrap { margin-bottom: 24px; }
.auth-logo-img {
    height: 44px; object-fit: contain;
    filter: none;
}

.auth-brand h1 {
    font-family: var(--font-display);
    font-size: 40px; font-weight: 800;
    letter-spacing: -2px; line-height: 1.0;
    background: linear-gradient(135deg, #ffffff 0%, #93c5fd 45%, #c4b5fd 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: 14px;
}

.auth-brand-sub {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 10px;
}
.auth-live-dot {
    width: 7px; height: 7px;
    background: #10b981; border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.2);
    animation: livePulse 1.8s ease-in-out infinite;
    flex-shrink: 0;
}
@keyframes livePulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
    50%       { box-shadow: 0 0 0 7px rgba(16,185,129,0); }
}
.auth-live-text {
    font-size: 11px; font-weight: 700;
    color: #10b981; text-transform: uppercase; letter-spacing: 1.6px;
    font-family: var(--font-body);
}

.auth-brand p {
    font-size: 14.5px; color: rgba(136,150,179,0.85);
    line-height: 1.65; max-width: 340px;
    font-family: var(--font-body); font-weight: 400;
}

/* ── Ses dalgası animasyonu ── */
.auth-waveform {
    display: flex; align-items: center; gap: 3px;
    margin: 32px 0 36px;
    height: 48px;
}
.auth-waveform .wv-bar {
    width: 3px; border-radius: 2px;
    background: linear-gradient(180deg, var(--sapphire-light), var(--cyan));
    opacity: 0.7;
    animation: waveAnim 1.4s ease-in-out infinite;
    transform-origin: bottom;
}
.auth-waveform .wv-bar:nth-child(1)  { height: 14px; animation-delay: 0.0s; }
.auth-waveform .wv-bar:nth-child(2)  { height: 28px; animation-delay: 0.1s; }
.auth-waveform .wv-bar:nth-child(3)  { height: 38px; animation-delay: 0.2s; }
.auth-waveform .wv-bar:nth-child(4)  { height: 22px; animation-delay: 0.3s; }
.auth-waveform .wv-bar:nth-child(5)  { height: 44px; animation-delay: 0.4s; }
.auth-waveform .wv-bar:nth-child(6)  { height: 30px; animation-delay: 0.15s; }
.auth-waveform .wv-bar:nth-child(7)  { height: 48px; animation-delay: 0.25s; }
.auth-waveform .wv-bar:nth-child(8)  { height: 34px; animation-delay: 0.35s; }
.auth-waveform .wv-bar:nth-child(9)  { height: 20px; animation-delay: 0.05s; }
.auth-waveform .wv-bar:nth-child(10) { height: 40px; animation-delay: 0.45s; }
.auth-waveform .wv-bar:nth-child(11) { height: 26px; animation-delay: 0.55s; }
.auth-waveform .wv-bar:nth-child(12) { height: 36px; animation-delay: 0.1s; }
.auth-waveform .wv-bar:nth-child(13) { height: 18px; animation-delay: 0.3s; }
.auth-waveform .wv-bar:nth-child(14) { height: 42px; animation-delay: 0.2s; }
.auth-waveform .wv-bar:nth-child(15) { height: 24px; animation-delay: 0.4s; }
.auth-waveform .wv-bar:nth-child(16) { height: 32px; animation-delay: 0.0s; }
.auth-waveform .wv-bar:nth-child(17) { height: 46px; animation-delay: 0.5s; }
.auth-waveform .wv-bar:nth-child(18) { height: 28px; animation-delay: 0.35s; }
.auth-waveform .wv-bar:nth-child(19) { height: 16px; animation-delay: 0.15s; }
.auth-waveform .wv-bar:nth-child(20) { height: 38px; animation-delay: 0.25s; }
.auth-waveform-label {
    margin-left: 14px;
    font-size: 11px; color: rgba(96,165,250,0.6);
    font-family: var(--font-mono); letter-spacing: 0.5px;
    white-space: nowrap;
}
@keyframes waveAnim {
    0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
    50%       { transform: scaleY(1);    opacity: 0.85; }
}

/* ── Özellik kartları ── */
.auth-features {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; position: relative; z-index: 1;
}
.feature-item {
    display: flex; align-items: flex-start; gap: 11px;
    padding: 14px;
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.055);
    border-radius: 10px;
    transition: all 0.25s ease;
    cursor: default;
}
.feature-item:hover {
    background: rgba(59,130,246,0.07);
    border-color: rgba(59,130,246,0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}
.feature-icon {
    width: 32px; height: 32px;
    background: rgba(59,130,246,0.1);
    border: 1px solid rgba(59,130,246,0.2);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px; flex-shrink: 0;
}
.feature-title {
    font-size: 12px; font-weight: 700;
    color: var(--text-primary); font-family: var(--font-body);
    margin-bottom: 3px; line-height: 1.2;
}
.feature-desc {
    font-size: 10.5px; color: rgba(136,150,179,0.7);
    font-family: var(--font-body); line-height: 1.35;
}

/* ── Alt stats ── */
.auth-stats {
    display: flex; align-items: center; gap: 8px;
    margin-top: auto; padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
    position: relative; z-index: 1;
    flex-wrap: wrap;
}

.auth-stat {
    display: flex; align-items: center; gap: 7px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 20px;
    animation: statFadeIn 0.6s var(--ease-out) both;
    transition: border-color 0.25s, background 0.25s;
}
.auth-stat:nth-child(1) { animation-delay: 0.1s; }
.auth-stat:nth-child(3) { animation-delay: 0.2s; }
.auth-stat:nth-child(5) { animation-delay: 0.3s; }
.auth-stat:hover {
    background: rgba(59,130,246,0.07);
    border-color: rgba(59,130,246,0.2);
}
@keyframes statFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Küçük renkli nokta */
.auth-stat::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--cyan);
    box-shadow: 0 0 6px rgba(6,182,212,0.6);
    flex-shrink: 0;
    animation: dotPulse 2s ease-in-out infinite;
}
.auth-stat:nth-child(3)::before { background: var(--sapphire-light); box-shadow: 0 0 6px rgba(59,130,246,0.6); animation-delay: 0.5s; }
.auth-stat:nth-child(5)::before { background: var(--violet-light); box-shadow: 0 0 6px rgba(124,58,237,0.6); animation-delay: 1s; }
@keyframes dotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.75); }
}

.auth-stat-num {
    font-family: var(--font-display);
    font-size: 13px; font-weight: 700;
    color: #e2eaff;
    letter-spacing: -0.2px;
    /* gradient text kaldırıldı — daha kompakt görünüm */
}
.auth-stat-label {
    font-size: 11px; color: rgba(148,163,184,0.65);
    font-family: var(--font-body); font-weight: 500;
}

/* Separator gizle — artık pill'ler arasında gap var */
.auth-stat-sep { display: none; }

/* Canlı aktif oda sayısı için sayı animasyonu */
#auth-room-count {
    color: #67e8f9;
}

/* ── Kayan parçacıklar (CSS only) ── */
.auth-particle {
    position: absolute; border-radius: 50%;
    pointer-events: none; z-index: 2;
    animation: floatParticle linear infinite;
}
.auth-particle:nth-child(1)  { width:2px; height:2px; background:#60a5fa; opacity:0.6; left:15%; top:20%; animation-duration:12s; animation-delay:-3s; }
.auth-particle:nth-child(2)  { width:1px; height:1px; background:#c4b5fd; opacity:0.5; left:70%; top:60%; animation-duration:18s; animation-delay:-7s; }
.auth-particle:nth-child(3)  { width:2px; height:2px; background:#22d3ee; opacity:0.4; left:40%; top:80%; animation-duration:15s; animation-delay:-1s; }
.auth-particle:nth-child(4)  { width:1px; height:1px; background:#60a5fa; opacity:0.7; left:85%; top:30%; animation-duration:20s; animation-delay:-9s; }
.auth-particle:nth-child(5)  { width:3px; height:3px; background:#a78bfa; opacity:0.25; left:25%; top:50%; animation-duration:22s; animation-delay:-5s; }
.auth-particle:nth-child(6)  { width:1px; height:1px; background:#22d3ee; opacity:0.5; left:60%; top:10%; animation-duration:14s; animation-delay:-2s; }
.auth-particle:nth-child(7)  { width:2px; height:2px; background:#818cf8; opacity:0.4; left:80%; top:75%; animation-duration:17s; animation-delay:-11s; }
.auth-particle:nth-child(8)  { width:1px; height:1px; background:#60a5fa; opacity:0.6; left:5%;  top:90%; animation-duration:19s; animation-delay:-4s; }
@keyframes floatParticle {
    0%   { transform: translateY(0)   translateX(0); }
    25%  { transform: translateY(-30px) translateX(12px); }
    50%  { transform: translateY(-15px) translateX(-8px); }
    75%  { transform: translateY(-42px) translateX(5px); }
    100% { transform: translateY(0)   translateX(0); }
}

/* ── Auth right ── */
.auth-right {
    flex: 1;
    display: flex; justify-content: center; align-items: center;
    background: linear-gradient(135deg, #01020a 0%, #040816 100%);
    position: relative; overflow: hidden;
}
.auth-right::before {
    content: '';
    position: absolute; bottom: -60px; right: -60px;
    width: 320px; height: 320px;
    background: radial-gradient(circle, rgba(124,58,237,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.auth-right::after {
    content: '';
    position: absolute; top: -60px; left: -60px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Auth form container ── */
.auth-form-container {
    width: 100%; max-width: 400px;
    background: rgba(6,10,22,0.92);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 36px;
    box-shadow:
        0 24px 64px rgba(0,0,0,0.7),
        0 0 0 1px rgba(255,255,255,0.03) inset,
        0 1px 0 rgba(255,255,255,0.07) inset;
    position: relative; z-index: 1;
}

.auth-tabs {
    display: flex; gap: 4px; margin-bottom: 28px;
    background: rgba(0,0,0,0.4);
    padding: 5px; border-radius: var(--r-md);
    border: 1px solid rgba(255,255,255,0.05);
}
.auth-tab {
    flex: 1; background: transparent; border: none;
    color: var(--text-muted); font-weight: 600; cursor: pointer;
    padding: 9px; border-radius: var(--r-sm);
    transition: all 0.25s var(--ease-out);
    font-size: 12.5px; font-family: var(--font-body);
    letter-spacing: 0.01em;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none; -webkit-user-select: none;
}
.auth-tab:hover { color: var(--text-primary); }
.auth-tab.active {
    background: rgba(59,130,246,0.14);
    color: #93c5fd;
    box-shadow: var(--shadow-sm), 0 0 12px rgba(59,130,246,0.15);
    border: 1px solid rgba(59,130,246,0.25);
}

.auth-form-content { display: none; animation: slideUp 0.35s var(--ease-out); }
.auth-form-content.active { display: block; }
@keyframes slideUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }

.auth-form-content h2 {
    font-family: var(--font-display);
    margin: 0 0 6px 0; font-size: 22px; font-weight: 700;
    letter-spacing: -0.5px; color: var(--text-primary);
}
.auth-form-content p { color: var(--text-secondary); font-size: 13px; margin-bottom: 24px; line-height: 1.55; }

.input-group { margin-bottom: 16px; }
.input-group label {
    display: block; font-size: 10.5px; font-weight: 600;
    color: var(--text-muted); margin-bottom: 7px;
    text-transform: uppercase; letter-spacing: 0.7px;
    font-family: var(--font-body);
}
.input-group input,
.input-group select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(2,6,18,0.7);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--r-sm);
    color: var(--text-primary);
    font-size: 13.5px; outline: none;
    transition: all 0.25s var(--ease-io);
    font-family: var(--font-body);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.35);
    appearance: none; -webkit-appearance: none;
    box-sizing: border-box;
}
.input-group input:focus,
.input-group select:focus {
    border-color: rgba(59,130,246,0.5);
    background: rgba(5, 14, 32, 0.85);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.15), inset 0 2px 6px rgba(0,0,0,0.3);
}

/* Şifre input wrapper */
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 44px !important; }
.pw-toggle {
    position: absolute; right: 12px; top: 50%;
    transform: translateY(-50%);
    background: none; border: none; cursor: pointer;
    color: rgba(148,163,184,0.6); font-size: 16px;
    padding: 4px; display: flex; align-items: center;
    transition: color 0.18s; line-height: 1;
    -webkit-tap-highlight-color: transparent;
}
.pw-toggle:hover { color: #93c5fd; }

/* Kayıt formu yan yana inputlar (desktop) */
.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}
.input-row .input-group { margin-bottom: 0; }
::-webkit-calendar-picker-indicator { filter: invert(0.6); cursor: pointer; }

.btn-primary-auth {
    width: 100%; padding: 13px;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 100%);
    color: #fff; border: none; border-radius: var(--r-sm);
    font-weight: 700; font-size: 13.5px; cursor: pointer;
    transition: all 0.3s var(--ease-out); margin-top: 8px;
    box-shadow: 0 4px 20px rgba(59,130,246,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
    font-family: var(--font-body); letter-spacing: 0.02em;
    position: relative; overflow: hidden;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none; -webkit-user-select: none;
}
.btn-primary-auth::before {
    content: '';
    position: absolute; top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
    transition: left 0.5s var(--ease-out);
}
.btn-primary-auth:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(59,130,246,0.55); }
.btn-primary-auth:hover::before { left: 100%; }
.btn-primary-auth:active { transform: translateY(0); }

.btn-secondary-auth {
    width: 100%; padding: 13px;
    background: rgba(255,255,255,0.04);
    color: var(--text-secondary); border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--r-sm); font-weight: 600; font-size: 13.5px;
    cursor: pointer; transition: all 0.25s var(--ease-io); margin-top: 8px;
    font-family: var(--font-body);
}
.btn-secondary-auth:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.14); color: var(--text-primary); transform: translateY(-1px); }

/* Form header */
.auth-form-header {
    display: flex; align-items: center; gap: 14px;
    margin-bottom: 24px; padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.auth-form-logo {
    width: 42px; height: 42px;
    background: linear-gradient(135deg, #3b82f6, #06b6d4);
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 16px; font-weight: 800; color: #fff;
    box-shadow: 0 4px 16px rgba(59,130,246,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
    flex-shrink: 0;
}
.auth-form-title {
    font-family: var(--font-display);
    font-size: 18px; font-weight: 700;
    color: var(--text-primary); letter-spacing: -0.3px;
}
.auth-form-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; font-family: var(--font-body); }

/* ================================================================
   MOBİL AUTH — Tam Yeniden Tasarım
   ================================================================ */
@media (max-width: 768px) {
    #auth-screen {
        position: relative;
        inset: unset;
        min-height: 100dvh;
        flex-direction: column;
        overflow-y: auto;
        overflow-x: hidden;
        background: #020611;
        -webkit-overflow-scrolling: touch;
    }

    /* Sol panel artık sadece ince şerit */
    .auth-left {
        flex: none;
        height: auto;
        min-height: unset;
        border-right: none;
        border-bottom: 1px solid rgba(59,130,246,0.1);
        overflow: visible;
    }
    /* Tüm iç elementlere dokunmayı aç */
    .auth-left, .auth-left *, .auth-right, .auth-right *,
    .auth-form-container, .auth-tabs, .auth-tab,
    .btn-primary-auth, .btn-secondary-auth,
    .input-group input, .input-group select {
        pointer-events: auto !important;
        touch-action: manipulation;
    }
    .auth-left-inner {
        padding: 20px 20px 16px;
    }

    /* Logo kompakt */
    .auth-logo-wrap { margin-bottom: 10px; }
    .auth-logo-img { height: 28px; }
    .auth-brand h1 { font-size: 22px; letter-spacing: -1px; margin-bottom: 4px; }
    .auth-brand p { font-size: 12px; }

    /* Ses dalgasını gizle mobilde */
    .auth-waveform { display: none; }

    /* Özellik kartları — yatay ince chips */
    .auth-features {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 6px;
        scrollbar-width: none;
        margin: 10px -20px 0;
        padding: 0 20px 2px;
        grid-template-columns: unset;
    }
    .auth-features::-webkit-scrollbar { display: none; }
    .feature-item {
        flex-shrink: 0;
        flex-direction: row;
        align-items: center;
        padding: 6px 10px;
        gap: 6px;
        border-radius: 20px;
        background: rgba(59,130,246,0.07);
        border: 1px solid rgba(59,130,246,0.12);
    }
    .feature-icon { width: 20px; height: 20px; font-size: 12px; flex-shrink: 0; }
    .feature-title { font-size: 10.5px; font-weight: 600; white-space: nowrap; }
    .feature-desc { display: none; }

    /* İstatistikler gizle */
    .auth-stats { display: none; }

    /* Parçacıklar gizle */
    .auth-particle { display: none; }

    /* ── Sağ panel — form alanı ── */
    .auth-right {
        flex: 1;
        padding: 0;
        align-items: flex-start;
        background: #020611;
    }
    .auth-form-container {
        max-width: 100%;
        width: 100%;
        border-radius: 0;
        border: none;
        padding: 24px 20px max(32px, env(safe-area-inset-bottom, 0px));
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    /* ── Form Header ── */
    .auth-form-header {
        margin-bottom: 20px;
        padding-bottom: 16px;
        gap: 12px;
    }
    .auth-form-logo {
        width: 38px; height: 38px;
        border-radius: 10px;
        font-size: 14px;
    }
    .auth-form-title { font-size: 17px; }
    .auth-form-sub { font-size: 11.5px; }

    /* ── Tab butonları — büyük touch hedefi ── */
    .auth-tabs {
        margin-bottom: 22px;
        padding: 4px;
        gap: 3px;
    }
    .auth-tab {
        padding: 12px 8px;
        font-size: 12.5px;
        min-height: 44px;
        border-radius: 6px;
        -webkit-tap-highlight-color: transparent;
    }

    /* ── Form başlığı ── */
    .auth-form-content h2 {
        font-size: 20px;
        margin-bottom: 4px;
    }
    .auth-form-content p {
        font-size: 12.5px;
        margin-bottom: 20px;
    }

    /* ── Input grubu ── */
    .input-group { margin-bottom: 14px; }
    .input-group label {
        font-size: 10px;
        margin-bottom: 6px;
        letter-spacing: 0.6px;
    }
    .input-group input,
    .input-group select {
        padding: 14px 16px;
        font-size: 16px; /* iOS zoom engellemek için 16px zorunlu */
        border-radius: 10px;
        min-height: 50px;
        -webkit-appearance: none;
        border: 1px solid rgba(255,255,255,0.09);
        background: rgba(255,255,255,0.04);
    }
    .input-group input:focus,
    .input-group select:focus {
        border-color: rgba(59,130,246,0.6);
        background: rgba(59,130,246,0.06);
        box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
    }

    /* Şifre input wrapper (göster/gizle için) */
    .pw-wrap { position: relative; }
    .pw-wrap input { padding-right: 48px !important; }
    .pw-toggle {
        position: absolute; right: 14px; top: 50%;
        transform: translateY(-50%);
        background: none; border: none; cursor: pointer;
        color: rgba(148,163,184,0.7); font-size: 18px;
        padding: 4px; display: flex; align-items: center;
        -webkit-tap-highlight-color: transparent;
        transition: color 0.18s;
    }
    .pw-toggle:active { color: #60a5fa; }

    /* Yan yana input'lar (doğum tarihi + cinsiyet) */
    .input-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin-bottom: 14px;
    }
    .input-row .input-group { margin-bottom: 0; }

    /* ── Ana buton ── */
    .btn-primary-auth {
        padding: 16px;
        font-size: 15px;
        margin-top: 16px;
        border-radius: 12px;
        min-height: 52px;
        letter-spacing: 0.03em;
    }
    .btn-secondary-auth {
        padding: 15px;
        font-size: 14.5px;
        margin-top: 10px;
        border-radius: 12px;
        min-height: 50px;
    }
}

/* ── Küçük telefonlar ── */
@media (max-width: 375px) {
    .auth-form-container { padding: 20px 16px 28px; }
    .auth-tab { padding: 11px 6px; font-size: 11.5px; }
    .input-group input, .input-group select { font-size: 16px; padding: 13px 14px; }
    .auth-form-content h2 { font-size: 18px; }
    .input-row { grid-template-columns: 1fr; gap: 0; }
    .input-row .input-group { margin-bottom: 14px; }
}