:root {
    --primary: #ff6600;
    --bg: #050505;
    --glitch-red: #ff00c1;
    --glitch-blue: #00fff9;
}

body {
    background: var(--bg);
    color: white;
    font-family: 'Courier New', Courier, monospace;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.container {
    text-align: center;
    position: relative;
}

/* Efecto Glitch */
.glitch {
    font-size: 150px;
    font-weight: bold;
    position: relative;
    color: white;
    letter-spacing: 10px;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg);
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 var(--glitch-red);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 var(--glitch-blue);
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 2s infinite linear alternate-reverse;
}

/* Línea de escaneo moviéndose verticalmente */
.scanner-line {
    width: 100%;
    height: 2px;
    background: rgba(255, 102, 0, 0.3);
    position: absolute;
    top: 0;
    box-shadow: 0 0 15px var(--primary);
    animation: scan 4s linear infinite;
}

.subtitle {
    color: var(--primary);
    font-weight: bold;
    margin-top: -20px;
}

.btn-back {
    display: inline-block;
    margin-top: 30px;
    padding: 10px 20px;
    border: 1px solid var(--primary);
    color: var(--primary);
    text-decoration: none;
    transition: 0.3s;
}

.btn-back:hover {
    background: var(--primary);
    color: black;
    box-shadow: 0 0 20px var(--primary);
}

/* Animaciones */
@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 20px, 0); }
    20% { clip: rect(80px, 9999px, 90px, 0); }
    40% { clip: rect(30px, 9999px, 40px, 0); }
    60% { clip: rect(60px, 9999px, 70px, 0); }
    80% { clip: rect(10px, 9999px, 20px, 0); }
    100% { clip: rect(90px, 9999px, 100px, 0); }
}

@keyframes scan {
    0% { top: -100px; }
    100% { top: 300px; }
}