body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    font-family: 'Roboto Mono', monospace;
    background-color: #050505;
    color: #0f0;
    overflow: hidden;
}

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, #1a1a1a 0%, #000000 100%);
    z-index: -1;
}

.scanlines {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0),
        rgba(255,255,255,0) 50%,
        rgba(0,0,0,0.2) 50%,
        rgba(0,0,0,0.2)
    );
    background-size: 100% 4px;
    animation: scanlines 1s linear infinite;
    opacity: 0.3;
}

@keyframes scanlines {
    0% { background-position: 0 0; }
    100% { background-position: 0 4px; }
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 20px;
    z-index: 1;
}

h1.glitch {
    font-size: 3rem;
    position: relative;
    color: #fff;
    margin-bottom: 20px;
}

h1.glitch::before, h1.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050505;
}

h1.glitch::before {
    left: 2px;
    text-shadow: -1px 0 #00ffea;
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim 3s infinite linear alternate-reverse;
}

h1.glitch::after {
    left: -2px;
    text-shadow: -1px 0 #ff00c1;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 30px, 0); }
    20% { clip: rect(80px, 9999px, 90px, 0); }
    40% { clip: rect(20px, 9999px, 60px, 0); }
    60% { clip: rect(60px, 9999px, 10px, 0); }
    80% { clip: rect(40px, 9999px, 80px, 0); }
    100% { clip: rect(5px, 9999px, 50px, 0); }
}

.status-box {
    border: 1px solid #0f0;
    padding: 10px;
    margin-bottom: 30px;
    width: 300px;
    background: rgba(0, 255, 0, 0.05);
}

.status-text {
    margin: 0 0 10px 0;
    font-size: 0.9rem;
}

.blink {
    animation: blinker 1.5s linear infinite;
}

@keyframes blinker {
    50% { opacity: 0; }
}

.progress-bar {
    width: 100%;
    height: 10px;
    background-color: #333;
    border: 1px solid #0f0;
}

.progress-fill {
    height: 100%;
    background-color: #0f0;
    width: 60%;
    animation: loading 2s infinite ease-in-out;
}

@keyframes loading {
    0% { width: 30%; }
    50% { width: 70%; }
    100% { width: 30%; }
}

.description {
    max-width: 500px;
    margin-bottom: 30px;
    line-height: 1.6;
    color: #ccc;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 350px;
}

input[type="email"] {
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #0f0;
    color: #fff;
    font-family: 'Roboto Mono', monospace;
    outline: none;
}

input[type="email"]::placeholder {
    color: #666;
}

button {
    padding: 12px;
    background: #0f0;
    color: #000;
    border: none;
    font-weight: bold;
    cursor: pointer;
    font-family: 'Roboto Mono', monospace;
    text-transform: uppercase;
    transition: background 0.3s ease;
}

button:hover {
    background: #00cc00;
}

button:disabled {
    background: #555;
    cursor: not-allowed;
}

#message {
    margin-top: 15px;
    min-height: 20px;
}

footer {
    margin-top: 50px;
    font-size: 0.8rem;
    color: #666;
}
