:root {
    --neon-green: #0aff0a;
    --neon-red: #ff0a0a;
    --neon-yellow: #f0f00a;
    --dark-bg: #050505;
    --panel-bg: #111;
}

body {
    background-color: var(--dark-bg);
    color: var(--neon-green);
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    margin-bottom: 100px;
}

.container {
    background: var(--panel-bg);
    border: 1px solid var(--neon-green);
    box-shadow: 0 0 20px rgba(10, 255, 10, 0.2);
    padding: 2rem;
    width: 400px;
    text-align: center;
    position: relative;
    /* Ensure scanline stays inside */
    overflow: hidden; 
}

h1 {
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    text-shadow: 0 0 5px var(--neon-green);
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

input {
    width: 90%;
    background: #000;
    border: 1px solid #333;
    border-left: 3px solid var(--neon-green);
    color: #fff;
    padding: 15px;
    font-size: 1.2rem;
    font-family: inherit;
    outline: none;
    transition: all 0.3s;
}

input:focus {
    box-shadow: 0 0 15px rgba(10, 255, 10, 0.3);
}

.metrics {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    font-size: 0.9rem;
    color: #888;
}

.metric-box span {
    display: block;
    font-weight: bold;
    color: #fff;
    font-size: 1.2rem;
    margin-top: 5px;
}

.progress-container {
    height: 10px;
    background: #222;
    width: 100%;
    margin-top: 20px;
    position: relative;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--neon-red);
    box-shadow: 0 0 10px var(--neon-red);
    transition: width 0.3s, background 0.3s, box-shadow 0.3s;
}

.status-text {
    margin-top: 15px;
    font-weight: bold;
    text-transform: uppercase;
}

footer{
    color: cadetblue;
    text-align: center;
    padding: 15px 0;
    background-color: var(--dark-bg);
    position: fixed;
    width: 400px;
    bottom: 0;
}

/* Glitch/Scanline Animation */
.scanline {
    width: 100%;
    height: 2px;
    background: rgba(10, 255, 10, 0.1);
    position: absolute;
    animation: scan 3s linear infinite;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10;
}

@keyframes scan {
    0% { top: 0%; }
    100% { top: 100%; }
}
