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

body {
    background: #0a0a0a;
    background-image: radial-gradient(circle, #1a1a1a 1px, transparent 1px);
    background-size: 30px 30px; /* Effet de grille industrielle */
    color: #ff4d00; /* Orange d'avertissement */
    font-family: 'Courier New', Courier, monospace;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* --- Effet de balayage (Scanlines) --- */
.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), 
                linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
    z-index: 10;
}

.login-container {
    text-align: center;
    z-index: 5;
    padding: 20px;
}

/* --- Titre Glitch --- */
.glitch {
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    text-shadow: 0.05em 0 0 #ff4d00, -0.025em -0.05em 0 #00ff00, 0.025em 0.05em 0 #0000ff;
    animation: glitch 725ms infinite;
}

@keyframes glitch {
    0% { text-shadow: 0.05em 0 0 #ff4d00, -0.025em -0.05em 0 #00ff00, 0.025em 0.05em 0 #0000ff; }
    14% { text-shadow: 0.05em 0 0 #ff4d00, -0.025em -0.05em 0 #00ff00, 0.025em 0.05em 0 #0000ff; }
    15% { text-shadow: -0.05em -0.025em 0 #ff4d00, 0.025em 0.025em 0 #00ff00, -0.05em -0.05em 0 #0000ff; }
    49% { text-shadow: -0.05em -0.025em 0 #ff4d00, 0.025em 0.025em 0 #00ff00, -0.05em -0.05em 0 #0000ff; }
    50% { text-shadow: 0.025em 0.05em 0 #ff4d00, 0.05em 0 0 #00ff00, 0 -0.05em 0 #0000ff; }
    99% { text-shadow: 0.025em 0.05em 0 #ff4d00, 0.05em 0 0 #00ff00, 0 -0.05em 0 #0000ff; }
    100% { text-shadow: -0.025em 0 0 #ff4d00, -0.025em -0.025em 0 #00ff00, -0.025em -0.05em 0 #0000ff; }
}

.status {
    font-size: 0.8rem;
    margin-bottom: 40px;
    letter-spacing: 2px;
    opacity: 0.7;
}

/* --- Champ de texte --- */
.input-wrapper {
    position: relative;
    margin-bottom: 20px;
}

input[type="password"] {
    background: #111;
    border: 1px solid #333;
    padding: 15px 20px;
    width: 300px;
    color: #fff;
    font-size: 1.2rem;
    letter-spacing: 8px;
    text-align: center;
    outline: none;
    transition: all 0.3s;
}

input:focus {
    border-color: #ff4d00;
    box-shadow: 0 0 15px rgba(255, 77, 0, 0.3);
}

/* --- Bouton style néon défaillant --- */
.btn-infiltrate {
    background: transparent;
    border: 2px solid #ff4d00;
    color: #ff4d00;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: 0.2s;
}

.btn-infiltrate:hover {
    background: #ff4d00;
    color: #000;
    box-shadow: 0 0 20px #ff4d00;
}

/* Animation de clignotement aléatoire */
@keyframes flicker {
    0% { opacity: 0.1; }
    2% { opacity: 1; }
    8% { opacity: 0.1; }
    9% { opacity: 1; }
    12% { opacity: 0.1; }
    20% { opacity: 1; }
    25% { opacity: 0.3; }
    30% { opacity: 1; }
    70% { opacity: 0.7; }
    72% { opacity: 0.2; }
    77% { opacity: 0.9; }
    100% { opacity: 1; }
}

.warning-footer {
    margin-top: 50px;
    font-size: 0.7rem;
    color: #444;
}