/* ============================================================
   outgame.css — login / register / home pages
   ============================================================ */

html, body { height: 100%; }

.outgame-body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    font-size: 13px;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* ── Scanline ── */
.scanlines {
    position: fixed;
    inset: 0;
    background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,0,0,0.10) 2px, rgba(0,0,0,0.10) 4px);
    pointer-events: none;
    z-index: 9999;
}

/* ── Header ── */
.outgame-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: 56px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    flex-shrink: 0;
}

/* ── Layout ── */
.outgame-layout {
    display: flex;
    flex: 1;
}

/* ── Feature sidebar ── */
.outgame-sidebar {
    width: 280px;
    flex-shrink: 0;
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
    background: var(--surface);
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: var(--surface-3) transparent;
}
.outgame-sidebar::-webkit-scrollbar { width: 3px; }
.outgame-sidebar::-webkit-scrollbar-thumb { background: var(--surface-3); }

@media (max-width: 767px) {
    .outgame-sidebar { display: none; }
}

/* ── Brand block ── */
.outgame-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 24px 20px 16px;
}
.outgame-brand-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: var(--red-dim);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--red);
    flex-shrink: 0;
}
.outgame-brand-name {
    display: block;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text);
}
.outgame-brand-sub {
    display: block;
    font-size: 10px;
    color: var(--text-muted);
    margin-top: 2px;
    font-family: var(--mono);
}

/* ── Tagline ── */
.outgame-tagline {
    font-size: 12px;
    color: var(--text-dim);
    line-height: 1.6;
    padding: 0 20px 20px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 8px;
}

/* ── Features list ── */
.outgame-features { padding: 8px 12px; flex: 1; }

.outgame-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 6px;
    transition: background 0.12s;
}
.outgame-feature:hover { background: var(--surface-2); }

.outgame-feature-icon {
    width: 32px;
    height: 32px;
    border-radius: 5px;
    background: var(--surface-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--text-dim);
    flex-shrink: 0;
    transition: all 0.12s;
}
.outgame-feature:hover .outgame-feature-icon { border-color: var(--border-accent); color: var(--red); }

.outgame-feature-label { font-size: 12px; font-weight: 600; color: var(--text); }
.outgame-feature-desc  { font-size: 10px; color: var(--text-muted); margin-top: 1px; }

/* ── Sidebar footer ── */
.outgame-sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}
.outgame-online {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.outgame-online-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 6px var(--green);
    flex-shrink: 0;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.5; }
}
.outgame-copyright { font-size: 10px; color: var(--text-muted); font-family: var(--mono); }

/* ── Main content area ── */
.outgame-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 24px;
    min-height: calc(100vh - 56px);
}
.outgame-main > * { width: 100%; max-width: 420px; }

/* ── Auth card overrides ── */
.outgame-main .card { max-width: 420px; }
.outgame-main .input:focus { box-shadow: 0 0 0 3px rgba(220,38,38,0.12); }
.outgame-main .btn-primary:hover { box-shadow: 0 4px 14px rgba(220,38,38,0.3); }
