/* --- DEFINICIÓN DE FUENTES PERSONALIZADAS --- */
@font-face {
    font-family: 'HomeVideo';
    src: url('HomeVideo-Regular.woff2') format('woff2'),
         url('HomeVideo-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'OldEnglishFive';
    src: url('OldEnglishFive.woff2') format('woff2'),
         url('OldEnglishFive.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* --- ESTILOS GLOBALES --- */
body {
    background-color: #000000;
    color: #ffffff;
    font-family: 'HomeVideo', sans-serif; 
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    position: relative;
    overflow: hidden;
}
a {
    color: #ffffff;
    text-decoration: none;
}

/* --- EFECTO SCANLINES --- */
.scanlines-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
}
.scanlines-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(to bottom, rgba(0,0,0,0) 0px, rgba(0,0,0,0) 1px, rgba(0,0,0,0.15) 2px, rgba(0,0,0,0.15) 3px);
    background-size: 100% 3px;
    animation: scanlines-flicker 25s linear infinite;
}
@keyframes scanlines-flicker {
    from { background-position: 0 0; }
    to { background-position: 0 100%; }
}

/* --- IMAGEN DECORATIVA SUPERIOR --- */
.fixed-advisory {
    position: fixed;
    top: 25px;
    left: 25px;
    width: 80px;
    z-index: 1000;
}

/* --- CONTENIDO PRINCIPAL --- */
.content-container {
    padding: 20px;
}

.error-image {
    max-width: 400px;
    width: 80%;
    height: auto;
    margin-bottom: 20px;
}

.error-text {
    font-size: 1.5rem;
    letter-spacing: 2px;
    margin-bottom: 60px;
    padding: 0 20px;
}

/* --- FOOTER Y ENLACE DE VUELTA --- */
footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
}

footer a {
    font-family: 'OldEnglishFive', serif;
    font-size: 3rem;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #aaaaaa;
}