/* MENTE INVICTA - PREMIUM AUTH SYSTEM (CINEMATIC) */
@import url('https://fonts.googleapis.com/css2?family=Russo+One&family=Outfit:wght@200;400;600&family=Share+Tech+Mono&display=swap');

:root {
    --bg-deep: #050b14;
    --gold: #fbbf24;
    --gold-glow: #d97706;
    --crimson: #ef4444;
    --emerald: #10b981;
    --glass: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(251, 191, 36, 0.3);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
}

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

body {
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(circle at 15% 50%, rgba(251, 191, 36, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 85% 30%, rgba(16, 185, 129, 0.05) 0%, transparent 25%);
    font-family: 'Outfit', sans-serif;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    color: var(--text-main);
}

/* --- CINEMATIC ANIMATIONS --- */
@keyframes deploy {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
        filter: blur(10px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
        filter: blur(0);
    }
}

@keyframes scanline {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(251, 191, 36, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

/* --- MAIN CONTAINER --- */
.command-center {
    width: 100%;
    max-width: 420px;
    padding: 2px;
    /* For border gradient */
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.5), transparent 40%, transparent 60%, rgba(251, 191, 36, 0.2));
    border-radius: 16px;
    animation: deploy 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.interface-panel {
    background: rgba(10, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 14px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
}

/* Scanline Effect */
.interface-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.1) 51%);
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 10;
    opacity: 0.3;
}

/* --- ELEMENTS --- */
.logo-area {
    text-align: center;
    margin-bottom: 2rem;
}

.logo-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.4));
}

.brand-title {
    font-family: 'Russo One', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(to right, #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: 'Share Tech Mono', monospace;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* --- FORM GROUP --- */
.input-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.input-field {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 1rem 1rem 3rem;
    /* Space for icon */
    border-radius: 8px;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-field:focus {
    outline: none;
    background: rgba(251, 191, 36, 0.05);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.1);
}

.input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    transition: 0.3s;
}

.input-field:focus+.input-icon {
    color: var(--gold);
}

/* --- BUTTONS --- */
.btn-reactor {
    width: 100%;
    background: linear-gradient(135deg, var(--gold), #d97706);
    color: #000;
    border: none;
    padding: 1rem;
    font-family: 'Russo One', sans-serif;
    font-size: 1.1rem;
    text-transform: uppercase;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.btn-reactor:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.5);
}

.btn-reactor:active {
    transform: scale(0.98);
}

.btn-secondary {
    display: block;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    text-decoration: none;
    margin-top: 1.5rem;
    transition: 0.3s;
}

.btn-secondary:hover {
    color: var(--gold);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

/* --- SYSTEM MONITOR (HUD) --- */
.hud-monitor {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
    padding: 0.8rem;
    border-radius: 6px;
    font-family: 'Share Tech Mono', monospace;
    font-size: 0.75rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hud-lamp {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #333;
    box-shadow: 0 0 5px #333;
    transition: 0.3s;
}

.hud-lamp.active {
    background: var(--emerald);
    box-shadow: 0 0 10px var(--emerald);
}

.hud-lamp.warning {
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
    animation: pulse-gold 1s infinite;
}

.hud-lamp.critical {
    background: var(--crimson);
    box-shadow: 0 0 10px var(--crimson);
}

.hud-text {
    color: var(--text-muted);
    text-transform: uppercase;
}