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

:root {
    --bg:            #080810;
    --bg-elevated:   #0c0c16;
    --bg-card:       rgba(255,255,255,0.028);
    --bg-card-hover: rgba(255,255,255,0.045);
    --bg-input:      rgba(255,255,255,0.04);

    --border:        1px solid rgba(255,255,255,0.055);
    --border-hover:  1px solid rgba(255,255,255,0.10);
    --border-focus:  1px solid rgba(220,38,58,0.5);

    --accent:        #dc2626;
    --accent-dim:    rgba(220,38,58,0.08);
    --accent-glow:   rgba(220,38,58,0.2);
    --accent-red:    #b91c1c;
    --accent-green:  #16a34a;
    --accent-blue:   #2563eb;
    --accent-gold:   #d97706;

    --text:          rgba(255,255,255,0.88);
    --text-muted:    rgba(255,255,255,0.32);
    --text-dim:      rgba(255,255,255,0.55);

    --radius:        7px;
    --radius-lg:     11px;
    --radius-xl:     16px;
    --transition:    0.12s ease;

    --sidebar-w:     54px;
    --sidebar-expanded: 210px;
    --topbar-h:      52px;
}

html, body {
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 13.5px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

/* Dot grid subtil */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.022) 1px, transparent 1px);
    background-size: 28px 28px;
    pointer-events: none;
    z-index: 0;
}

/* Glow rosu sus-stanga */
body::after {
    content: '';
    position: fixed;
    top: -30%;
    left: -15%;
    width: 55%;
    height: 55%;
    background: radial-gradient(ellipse, rgba(220,38,58,0.035) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

#app { position: relative; z-index: 1; }

a { color: var(--accent); text-decoration: none; }
a:hover { opacity: 0.75; }

/* ── Scrollbar ───────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.07); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.13); }

/* ── Layout ──────────────────────────────────────────────────────────────── */
.app-layout { display: flex; min-height: 100vh; }

/* ── Sidebar ─────────────────────────────────────────────────────────────── */
.sidebar {
    width: var(--sidebar-w);
    min-height: 100vh;
    background: var(--bg-elevated);
    border-right: var(--border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0;
    z-index: 100;
    overflow: hidden;
    transition: width 0.22s cubic-bezier(0.4,0,0.2,1);
}

.sidebar:hover { width: var(--sidebar-expanded); }

/* Logo */
.sidebar-logo {
    padding: 11px 13px;
    border-bottom: var(--border);
    flex-shrink: 0;
}

.sidebar-logo .brand {
    display: flex;
    align-items: center;
    gap: 10px;
    width: var(--sidebar-expanded);
}

.brand-text {
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    white-space: nowrap;
}

.sidebar:hover .brand-text { opacity: 1; transform: translateX(0); }

.brand-text strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
    line-height: 1.2;
}

.brand-text span {
    font-size: 9px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

/* Nav */
.sidebar-nav {
    flex: 1;
    padding: 6px 8px;
    overflow-y: auto;
    overflow-x: hidden;
}

.nav-section { margin-bottom: 0; }

.nav-label {
    font-size: 8px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--text-muted);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 8px;
    transition: max-height 0.2s ease, opacity 0.18s ease, padding 0.2s ease;
}

.sidebar:hover .nav-label {
    max-height: 28px;
    opacity: 0.4;
    padding: 10px 8px 3px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 3px 5px;
    border-radius: var(--radius);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 12.5px;
    cursor: pointer;
    transition: all var(--transition);
    margin-bottom: 1px;
    white-space: nowrap;
    width: 100%;
}

.nav-item .nav-icon {
    width: 32px;
    height: 32px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    transition: all var(--transition);
    color: rgba(255,255,255,0.35);
}

.nav-item .nav-label-text {
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity 0.18s ease, transform 0.18s ease;
    letter-spacing: -0.01em;
}

.sidebar:hover .nav-item .nav-label-text { opacity: 1; transform: translateX(0); }

.nav-item:hover .nav-icon {
    color: var(--text);
    background: rgba(255,255,255,0.055);
}

.nav-item.active .nav-icon {
    color: #f87171;
    background: rgba(220,38,58,0.14);
}

.nav-item.active .nav-label-text { color: #fca5a5; }

/* Footer */
.sidebar-footer {
    padding: 6px 8px;
    border-top: var(--border);
    flex-shrink: 0;
}

/* ── Main content ────────────────────────────────────────────────────────── */
.main-content {
    margin-left: var(--sidebar-w);
    flex: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: margin-left 0.22s cubic-bezier(0.4,0,0.2,1);
}

/* ── Topbar ──────────────────────────────────────────────────────────────── */
.topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.topbar-label-desktop { display: inline; }

.topbar {
    height: var(--topbar-h);
    border-bottom: var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: rgba(8,8,16,0.8);
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.topbar-title {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-dim);
    letter-spacing: 0.01em;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-user {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--text-dim);
    background: rgba(255,255,255,0.035);
    border: var(--border);
    border-radius: var(--radius);
    padding: 5px 11px;
    transition: border var(--transition);
}

.topbar-user:hover { border: var(--border-hover); }
.topbar-user i { color: var(--accent); font-size: 10px; }

.page { padding: 28px 32px; flex: 1; }

/* ── Server Selector ─────────────────────────────────────────────────────── */
.selector-wrap {
    position: fixed;
    inset: 0;
    display: flex;
    overflow: hidden;
    animation: selectorDrop 0.72s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes selectorDrop {
    from { transform: translateY(-100vh); opacity: 0; }
    to   { transform: translateY(0);      opacity: 1; }
}

.selector-half {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    transition: background 0.35s ease;
}

.selector-half:hover { flex: 1; }

/* Divider line */
.selector-half:first-child {
    border-right: 1px solid rgba(255,255,255,0.06);
}

/* FiveM side */
.selector-half.fivem {
    background: #06060e;
    transition: background 0.5s ease;
}
.selector-half.fivem::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(220,38,58,0.22) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: none;
}
.selector-half.fivem:hover {
    background: #0d0608;
}
.selector-half.fivem:hover::before {
    opacity: 1;
    animation: pulseRed 2.2s ease-in-out infinite;
}

@keyframes pulseRed {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 1;   }
}

/* CS2 side */
.selector-half.cs2 {
    background: #06060e;
    cursor: default;
    transition: background 0.5s ease;
}
.selector-half.cs2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 50%, rgba(37,99,235,0.25) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: none;
}
.selector-half.cs2:hover {
    background: #06080f;
}
.selector-half.cs2:hover::before {
    opacity: 1;
    animation: pulseBlue 2.2s ease-in-out infinite;
}

@keyframes pulseBlue {
    0%, 100% { opacity: 0.6; }
    50%       { opacity: 1;   }
}

/* Dot grid on each side */
.selector-half::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.018) 1px, transparent 1px);
    background-size: 26px 26px;
    pointer-events: none;
}

.selector-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
    user-select: none;
}

.selector-game-wordmark {
    font-size: 90px;
    font-weight: 800;
    font-style: italic;
    letter-spacing: -0.05em;
    line-height: 1;
    margin-bottom: 20px;
    transition: text-shadow 0.35s ease;
    user-select: none;
}

.fivem-wordmark {
    color: #fff;
    text-shadow: 0 0 40px rgba(220,38,58,0.3);
}
.selector-half.fivem:hover .fivem-wordmark {
    text-shadow:
        0 0 20px rgba(220,38,58,0.9),
        0 0 60px rgba(220,38,58,0.5),
        0 0 120px rgba(220,38,58,0.25);
}

.cs2-wordmark {
    color: #fff;
    text-shadow: 0 0 40px rgba(240,140,30,0.2);
}
.selector-half.cs2:hover .cs2-wordmark {
    text-shadow:
        0 0 20px rgba(240,140,30,0.8),
        0 0 60px rgba(240,140,30,0.4),
        0 0 120px rgba(240,140,30,0.2);
}

.selector-server-name {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.selector-title {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: var(--text);
    margin-bottom: 10px;
}

.selector-sub {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 280px;
    margin-bottom: 28px;
}

.selector-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 24px;
    border-radius: 9px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all 0.18s ease;
    border: none;
    cursor: pointer;
}

.selector-cta.fivem-cta {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 2px 20px rgba(220,38,58,0.35);
}
.selector-cta.fivem-cta:hover { background: #ef4444; box-shadow: 0 4px 28px rgba(220,38,58,0.5); }

.selector-cta.cs2-cta {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.08);
    cursor: not-allowed;
}

.selector-coming-soon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(240,140,30,0.1);
    border: 1px solid rgba(240,140,30,0.2);
    border-radius: 99px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #f59e0b;
    margin-bottom: 16px;
}

/* Hover reveal arrow on FiveM side */
.selector-arrow {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    opacity: 0;
    font-size: 20px;
    color: rgba(220,38,58,0.6);
    transition: all 0.3s ease;
}
.selector-half.fivem:hover .selector-arrow {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Split line center badge */
.selector-center-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Spinning outer ring */
.selector-center-ring {
    position: absolute;
    border-radius: 50%;
}
/* Inel 1 — rotire lenta cu glow rosu */
.selector-center-ring:nth-child(1) {
    width: 480px; height: 480px;
    border: 1.5px solid rgba(220,38,58,0.35);
    box-shadow: 0 0 18px rgba(220,38,58,0.2), inset 0 0 18px rgba(220,38,58,0.05);
    animation: spinCW 18s linear infinite;
}
/* Inel 2 — rotire inversa, mai subtil */
.selector-center-ring:nth-child(2) {
    width: 570px; height: 570px;
    border: 1px dashed rgba(220,38,58,0.18);
    animation: spinCCW 28s linear infinite;
}
/* Inel 3 — pulsare simpla, fara rotire */
.selector-center-ring:nth-child(3) {
    width: 660px; height: 660px;
    border: 1px solid rgba(255,255,255,0.04);
    animation: ringFade 4s ease-in-out infinite;
}

@keyframes spinCW  { from { transform: rotate(0deg); }   to { transform: rotate(360deg); } }
@keyframes spinCCW { from { transform: rotate(0deg); }   to { transform: rotate(-360deg); } }
@keyframes ringFade {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50%       { opacity: 1;   transform: scale(1.02); }
}

/* Solid disc behind the logo */
.selector-center-logo {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(ellipse at 50% 50%, #161624, #0a0a12);
    border: 2px solid rgba(220,38,58,0.5);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04),
        0 0 40px rgba(220,38,58,0.25),
        0 0 80px rgba(220,38,58,0.1),
        inset 0 0 40px rgba(220,38,58,0.05);
    animation: discSpin 12s linear infinite, discPulse 3s ease-in-out infinite;
}

@keyframes discSpin {
    from { box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 0 40px rgba(220,38,58,0.25), 0 0 80px rgba(220,38,58,0.1), inset 0 0 40px rgba(220,38,58,0.05); border-color: rgba(220,38,58,0.5); }
    to   { box-shadow: 0 0 0 1px rgba(255,255,255,0.04), 0 0 40px rgba(220,38,58,0.25), 0 0 80px rgba(220,38,58,0.1), inset 0 0 40px rgba(220,38,58,0.05); border-color: rgba(220,38,58,0.5); }
}

@keyframes discPulse {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(255,255,255,0.04),
            0 0 30px rgba(220,38,58,0.2),
            0 0 70px rgba(220,38,58,0.08),
            inset 0 0 30px rgba(220,38,58,0.04);
        border-color: rgba(220,38,58,0.4);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(255,255,255,0.06),
            0 0 60px rgba(220,38,58,0.45),
            0 0 120px rgba(220,38,58,0.2),
            inset 0 0 60px rgba(220,38,58,0.1);
        border-color: rgba(220,38,58,0.8);
    }
}

.selector-center-logo img {
    width: 500px;
    height: auto;
    display: block;
    object-fit: contain;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 0 40px rgba(255,255,255,0.3));
}

/* Scanline effect on hover */
.selector-scanline {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,0,0,0.04) 2px,
        rgba(0,0,0,0.04) 4px
    );
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.selector-half:hover .selector-scanline { opacity: 1; }

@media (max-width: 768px) {
    .selector-wrap { flex-direction: column; }
    .selector-half:first-child { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .selector-half:hover { flex: 1; }
    .selector-title { font-size: 28px; }
    .selector-center-badge { display: none; }
}

/* ── Landing / Auth ───────────────────────────────────────────────────────── */
.landing-wrap {
    min-height: 100vh;
    background: var(--bg);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Glows decorative */
.landing-wrap::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(220,38,58,0.07) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}
.landing-wrap::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 50%;
    height: 50%;
    background: radial-gradient(ellipse, rgba(37,99,235,0.04) 0%, transparent 65%);
    pointer-events: none;
    z-index: 0;
}

/* ── Landing Nav ──────────────────────────────────────────────────────────── */
.landing-nav {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 48px;
    border-bottom: var(--border);
    background: rgba(8,8,16,0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.landing-nav-brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.landing-nav-brand img {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    object-fit: cover;
}

.landing-nav-brand strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
}
.landing-nav-brand span {
    font-size: 10px;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.landing-nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ── Landing Hero ─────────────────────────────────────────────────────────── */
.landing-hero {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 48px;
    align-items: center;
    padding: 64px 48px;
    flex: 1;
    min-height: calc(100vh - 250px);
}

.landing-hero-left { max-width: 580px; }

.landing-online-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 5px 14px;
    background: rgba(22,163,74,0.1);
    border: 1px solid rgba(22,163,74,0.2);
    border-radius: 99px;
    font-size: 11px;
    font-weight: 600;
    color: #4ade80;
    letter-spacing: 0.04em;
    margin-bottom: 28px;
}
.landing-online-badge::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 8px #22c55e;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

.landing-title {
    font-size: 56px;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.04em;
    line-height: 1.08;
    margin-bottom: 20px;
}
.landing-title .t-accent { color: var(--accent); }
.landing-title .t-dim    { color: var(--text-dim); }

.landing-sub {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 36px;
    max-width: 480px;
}

.landing-stats-row {
    display: flex;
    gap: 32px;
    margin-bottom: 36px;
}
.landing-stat-item { text-align: left; }
.landing-stat-item .n {
    font-size: 26px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.04em;
    line-height: 1;
}
.landing-stat-item .l {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
    letter-spacing: 0.03em;
}

.landing-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
}

.btn-lg {
    height: 44px;
    padding: 0 24px;
    font-size: 13.5px;
    border-radius: 9px;
}

.landing-server-info {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.landing-server-info span {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--text-muted);
    font-family: monospace;
    letter-spacing: 0.02em;
}
.landing-server-info i { color: var(--text-dim); font-size: 11px; }

/* ── Auth Card (landing version) ──────────────────────────────────────────── */
.landing-auth-card {
    background: rgba(12,12,22,0.95);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-xl);
    padding: 34px 30px;
    backdrop-filter: blur(32px);
    -webkit-backdrop-filter: blur(32px);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.025),
                0 32px 80px rgba(0,0,0,0.6),
                0 0 80px rgba(220,38,58,0.04);
    position: relative;
    flex-shrink: 0;
}
.landing-auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220,38,58,0.5), transparent);
}

.landing-auth-logo { text-align: center; margin-bottom: 24px; }
.landing-auth-logo .logo-icon {
    width: 48px;
    height: 48px;
    background: rgba(220,38,58,0.1);
    border: 1px solid rgba(220,38,58,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    font-size: 20px;
    color: #f87171;
}
.landing-auth-logo h2 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
}
.landing-auth-logo p { font-size: 12px; color: var(--text-muted); margin-top: 3px; }

/* ── Features Strip ───────────────────────────────────────────────────────── */
.landing-features {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 48px 64px;
}

.feature-card {
    background: rgba(255,255,255,0.025);
    border: var(--border);
    border-radius: var(--radius-lg);
    padding: 22px 20px;
    transition: all 0.18s ease;
    cursor: default;
}
.feature-card:hover {
    background: rgba(255,255,255,0.04);
    border: var(--border-hover);
    transform: translateY(-2px);
}
.feature-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(220,38,58,0.1);
    border: 1px solid rgba(220,38,58,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #f87171;
    margin-bottom: 14px;
}
.feature-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}
.feature-card-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Announcement Bar ─────────────────────────────────────────────────────── */
.announcement-bar {
    padding: 9px 24px;
    font-size: 12.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: var(--border);
    line-height: 1.4;
}
.announcement-bar.type-info    { background: rgba(37,99,235,0.08);  color: #93c5fd; border-color: rgba(37,99,235,0.2); }
.announcement-bar.type-warning { background: rgba(217,119,6,0.08);  color: #fcd34d; border-color: rgba(217,119,6,0.2); }
.announcement-bar.type-danger  { background: rgba(220,38,58,0.08);  color: #fca5a5; border-color: rgba(220,38,58,0.2); }
.announcement-bar.type-success { background: rgba(22,163,74,0.08);  color: #86efac; border-color: rgba(22,163,74,0.2); }

/* ── Auth Wrap (simple, for /link-account) ─────────────────────────────────── */
.auth-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    position: relative;
    overflow: hidden;
}

.auth-wrap::before {
    content: '';
    position: absolute;
    top: -25%;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 500px;
    background: radial-gradient(ellipse, rgba(220,38,58,0.055) 0%, transparent 65%);
    pointer-events: none;
}

.auth-card {
    width: 390px;
    background: rgba(12,12,22,0.97);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: var(--radius-xl);
    padding: 36px 30px;
    backdrop-filter: blur(32px);
    box-shadow: 0 0 0 1px rgba(255,255,255,0.025),
                0 24px 60px rgba(0,0,0,0.7),
                0 0 60px rgba(220,38,58,0.03);
    position: relative;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0; left: 25%; right: 25%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(220,38,58,0.45), transparent);
}

.auth-logo { text-align: center; margin-bottom: 28px; }

.auth-logo .logo-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(220,38,58,0.12), rgba(220,38,58,0.03));
    border: 1px solid rgba(220,38,58,0.18);
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 22px;
    color: #f87171;
    box-shadow: 0 0 20px rgba(220,38,58,0.12);
}

.auth-logo h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.03em;
}

.auth-logo p { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── Notifications ───────────────────────────────────────────────────────── */
.notif-bell {
    position: relative;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 13px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    border: var(--border);
    background: rgba(255,255,255,0.025);
    transition: all var(--transition);
}

.notif-bell:hover { color: var(--text-dim); border: var(--border-hover); background: rgba(255,255,255,0.045); }

.notif-badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--accent);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    border-radius: 99px;
    min-width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 3px;
}

.notif-dropdown {
    position: absolute;
    top: 44px; right: 0;
    width: 300px;
    background: #0f0f1c;
    border: var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    z-index: 200;
    box-shadow: 0 20px 50px rgba(0,0,0,0.7), 0 0 0 1px rgba(255,255,255,0.035);
}

.notif-header {
    padding: 10px 14px;
    border-bottom: var(--border);
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.notif-item {
    padding: 10px 14px;
    border-bottom: var(--border);
    font-size: 12px;
    color: var(--text);
    line-height: 1.5;
}

.notif-item:last-child { border-bottom: none; }
.notif-empty { padding: 24px; text-align: center; color: var(--text-muted); font-size: 12px; }

/* ── Page header ─────────────────────────────────────────────────────────── */
.page-header { margin-bottom: 24px; }

.page-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.035em;
}

.page-header p { color: var(--text-muted); font-size: 12.5px; margin-top: 3px; }

/* ── Divider ─────────────────────────────────────────────────────────────── */
.divider { height: 1px; background: rgba(255,255,255,0.045); margin: 16px 0; }

/* ── Empty state ─────────────────────────────────────────────────────────── */
.empty-state { text-align: center; padding: 56px 20px; color: var(--text-muted); }
.empty-state i { display: block; font-size: 32px; margin-bottom: 12px; opacity: 0.12; }
.empty-state p { font-size: 12.5px; opacity: 0.65; }

/* ── Messages ────────────────────────────────────────────────────────────── */
.msg {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 13px;
    border-radius: var(--radius);
    font-size: 12.5px;
    margin-bottom: 14px;
}

.msg-error   { background: rgba(220,38,58,0.07);  border: 1px solid rgba(220,38,58,0.15);  color: #fca5a5; }
.msg-success { background: rgba(22,163,74,0.07);  border: 1px solid rgba(22,163,74,0.15);  color: #86efac; }

/* ── Overlay mobil ───────────────────────────────────────────────────────── */
.sidebar-overlay {
    display: none;
}
@media (max-width: 768px) {
    .sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.55);
        z-index: 99;
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
.hamburger-btn { display: none; }

@media (max-width: 768px) {
    .hamburger-btn { display: inline-flex; }

    /* Sidebar mobil — complet expandat, slide din stanga */
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
        width: var(--sidebar-expanded) !important;
        z-index: 200;
    }
    .sidebar.open { transform: translateX(0); }

    /* Forteaza toate elementele vizibile cand e open */
    .sidebar.open .brand-text {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
    .sidebar.open .nav-label {
        max-height: 28px !important;
        opacity: 0.4 !important;
        padding: 10px 8px 3px !important;
    }
    .sidebar.open .nav-item .nav-label-text {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }

    /* Dezactiveaza hover expand pe mobil */
    .sidebar:hover { width: var(--sidebar-expanded) !important; }
    .main-content { margin-left: 0; }
    .page { padding: 16px; }

    .topbar { padding: 0 12px; }
    .topbar-hide-mobile { display: none !important; }
    .topbar-label-desktop { display: none; }

    .landing-nav { padding: 14px 20px; }
    .landing-hero { grid-template-columns: 1fr; padding: 36px 20px; gap: 32px; min-height: auto; }
    .landing-title { font-size: 36px; }
    .landing-features { grid-template-columns: 1fr 1fr; padding: 0 20px 40px; }
    .landing-stats-row { gap: 20px; }
    .landing-stat-item .n { font-size: 20px; }
    .landing-buttons { flex-direction: column; }
}
@media (max-width: 480px) {
    .landing-features { grid-template-columns: 1fr; }
    .landing-title { font-size: 28px; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE — telefon (max 600px)
═══════════════════════════════════════════════════════════ */
@media (max-width: 600px) {

    /* ── Landing page ── */
    .landing-nav { padding: 12px 16px; }
    .landing-nav-brand strong { font-size: 13px; }
    .landing-nav-brand span   { display: none; }

    .landing-hero {
        grid-template-columns: 1fr;
        padding: 28px 16px 20px;
        gap: 28px;
        min-height: auto;
    }
    .landing-title { font-size: 32px; }
    .landing-sub   { font-size: 13px; margin-bottom: 24px; }

    .landing-stats-row { gap: 20px; margin-bottom: 24px; }
    .landing-stat-item .n { font-size: 22px; }

    .landing-buttons { flex-direction: column; }
    .btn-lg { height: 42px; width: 100%; justify-content: center; }

    .landing-server-info { gap: 12px; font-size: 11px; }

    .landing-auth-card { padding: 24px 18px; }

    .landing-features {
        grid-template-columns: 1fr 1fr;
        padding: 0 16px 40px;
        gap: 10px;
    }
    .feature-card { padding: 16px 14px; }
    .feature-card-desc { display: none; }

    /* ── Selector ── */
    .selector-wrap { flex-direction: column; }
    .selector-half:first-child { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.06); }
    .selector-game-wordmark { font-size: 60px; }
    .selector-sub { font-size: 12px; max-width: 240px; }
    .selector-center-badge { display: none; }
    .selector-coming-soon { margin-bottom: 10px; }

    /* ── Page ── */
    .page { padding: 14px 12px; }
    .page-header h2 { font-size: 16px; }
    .page-header p  { font-size: 11.5px; }

    /* ── Tab bar ── */
    .tab-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .tab-bar::-webkit-scrollbar { display: none; }
    .tab { white-space: nowrap; flex-shrink: 0; font-size: 12px; padding: 6px 12px; }

    /* ── Stats grid ── */
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
    .stat-value { font-size: 20px; }

    /* ── Cards ── */
    .card { padding: 14px 14px; }
    .card-header { flex-wrap: wrap; gap: 8px; }

    /* ── Tables ── */
    .table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
    table { min-width: 480px; }

    /* ── Modals ── */
    .modal-backdrop .modal,
    div[style*="position:fixed"] > .card {
        width: 95vw !important;
        max-width: 95vw !important;
        margin: 0 auto;
    }

    /* ── Forum ── */
    .forum-cat-count { display: none; }
    .forum-cat { padding: 12px 14px; gap: 10px; }
    .forum-cat-icon { width: 32px; height: 32px; font-size: 13px; }

    /* ── Factiuni admin grid ── */
    div[style*="grid-template-columns:1fr 1fr"] { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns:1fr 380px"] { grid-template-columns: 1fr !important; }
    div[style*="grid-template-columns:1fr 360px"] { grid-template-columns: 1fr !important; }

    /* ── Vehicule bars grid ── */
    div[style*="grid-template-columns:1fr 1fr 1fr"] { grid-template-columns: 1fr 1fr !important; }

    /* ── Chat ── */
    .chat-wrap { height: calc(100vh - var(--topbar-h) - 140px); }

    /* ── Leaderboard ── */
    .leaderboard-value { font-size: 13px; }
    .leaderboard-sub .badge { display: none; }

    /* ── Auth card (/link-account) ── */
    .auth-card { width: 95vw; padding: 28px 18px; }

    /* ── Notif dropdown ── */
    .notif-dropdown { width: 92vw; right: -8px; }

    /* ── Topbar ── */
    .topbar-title { font-size: 12px; }
}
