/* Fondo oscuro */
body {
    background-color: black;
    color: #ff4d4d; /* Rojo brillante */
    font-family: 'Courier New', Courier, monospace;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

/* Contenedor centrado */
.container {
    text-align: center;
    max-width: 600px;
    padding: 20px;
    border: 2px solid #ff4d4d;
    border-radius: 10px;
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 20px #ff4d4d;
}

/* Título */
h1 {
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Texto legible */
pre {
    font-size: 1rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Animación de caída de caracteres (efecto Matrix) */
@keyframes matrix-rain {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.matrix-rain span {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    color: #ff4d4d;
    animation: matrix-rain 5s linear infinite;
}

.matrix-rain span:nth-child(1) { animation-delay: 0s; }
.matrix-rain span:nth-child(2) { animation-delay: 1s; }
.matrix-rain span:nth-child(3) { animation-delay: 2s; }
.matrix-rain span:nth-child(4) { animation-delay: 3s; }
.matrix-rain span:nth-child(5) { animation-delay: 4s; }
