/* --- 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;
    min-height: 100vh;
    text-align: center;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
}
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%; }
}

/* --- ELEMENTOS DECORATIVOS FIJOS --- */
.fixed-advisory {
    position: fixed;
    top: 25px;
    left: 25px;
    width: 80px;
    z-index: 1000;
}

.lang-switcher {
    position: fixed;
    top: 25px;
    right: 25px;
    z-index: 1000;
    font-family: 'HomeVideo', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
}
.lang-switcher button {
    background: none;
    border: none;
    color: #ffffff;
    font-family: inherit;
    font-size: inherit;
    letter-spacing: inherit;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    padding: 0;
}
.lang-switcher button.active {
    opacity: 1;
    text-decoration: underline;
}
.lang-switcher span {
    opacity: 0.5;
    margin: 0 5px;
}

/* --- IMAGEN DE HEADER --- */
.about-header-image {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
}

/* --- CONTENIDO PRINCIPAL --- */
.content-container {
    max-width: 700px;
    padding: 40px 20px 80px 20px;
    margin: 0 auto;
    text-align: left;
    box-sizing: border-box;
}

.page-title {
    font-family: 'OldEnglishFive', serif; 
    font-size: 4rem;
    letter-spacing: 2px;
    margin-bottom: 40px;
    text-align: center;
}

.about-text p {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #cccccc;
}

/* --- ELEMENTOS NARRATIVOS --- */
.redacted {
    background-color: #cccccc;
    color: #cccccc;
    user-select: none;
    padding: 0 2px;
}

.closing-quote {
    font-style: italic;
    color: #ffffff !important;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    margin-top: 50px;
}

/* --- FOOTER Y ENLACE DE VUELTA --- */
footer {
    position: relative;
    width: 100%;
    padding: 20px 0;
    box-sizing: border-box;
    text-align: center;
    margin-top: 40px;
}

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

footer a:hover {
    color: #aaaaaa;
}

/* --- LÓGICA DE IDIOMAS --- */
.lang-en {
    display: none;
}

/* --- NUEVO: DISEÑO RESPONSIVO PARA MÓVILES --- */
@media screen and (max-width: 768px) {
    .content-container {
        padding: 20px 15px 60px 15px; /* Reducimos el padding */
        margin-top: 60px; /* Reducimos el margen superior */
    }

    .page-title {
        font-size: 2rem; /* Hacemos el título más pequeño */
        margin-bottom: 20px;
    }

    .about-text p {
        font-size: 1.1rem; /* Reducimos un poco el texto para mejor lectura */
    }

    .closing-quote {
        margin-top: 30px;
    }

    .fixed-advisory {
        width: 60px;
        top: 15px;
        left: 15px;
    }

    .lang-switcher {
        top: 15px;
        right: 15px;
        font-size: 0.9rem;
    }

    footer a {
        font-size: 2rem; /* Reducimos el icono del footer */
    }
}
