/* ===== VARIABLES DE PALETA DE COLORES ===== */
:root {
    /* Paleta Original (Frutiger Aero) */
    --frutiger-blue: #4A90E2;
    --frutiger-light-blue: #87CEEB;
    --frutiger-green: #7ED321;
    --frutiger-white: #FFFFFF;
    --frutiger-gray: #F5F5F5;
    --frutiger-dark-gray: #333333;
    
    /* Paleta Corrupta (La Emperatriz Prístina) - Basada en #4e0041 */
    --empress-primary: #4e0041;           /* Color base principal */
    --empress-dark: #2a0023;              /* Versión más oscura */
    --empress-darker: #1a0017;            /* Versión muy oscura */
    --empress-light: #7a1065;             /* Versión más clara */
    --empress-bright: #a6208a;            /* Versión brillante */
    --empress-glow: #d030af;              /* Versión luminosa para efectos */
    --void-black: #0a0a0a;                /* Negro profundo */
    --neural-dark: #1a1a2e;               /* Fondo oscuro con tinte */
    --electric-white: #F8F9FA;            /* Blanco eléctrico */
    --empress-shadow: rgba(78, 0, 65, 0.3); /* Sombra con transparencia */
    
    /* Tipografía */
    --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-mono: 'Consolas', 'Monaco', 'Courier New', monospace;
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

body {
    font-family: var(--font-primary);
    background: url('assets/images/fruti_aero_bg.png') center/cover no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    overflow: hidden;
    transition: all 0.5s ease;
    position: relative;
    /* Bloquear zoom y scroll */
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Estado corrupto del body */
body.corrupted {
    background: linear-gradient(135deg, var(--void-black), var(--empress-darker), var(--empress-dark));
    color: var(--electric-white);
}

body.corrupted::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    pointer-events: none;
    z-index: 1000;
    animation: static-noise 0.1s infinite;
}

/* ===== CRT EFFECTS ===== */

/* CRT Scanlines - Always visible */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.15) 2px,
        rgba(0, 0, 0, 0.15) 4px
    );
    pointer-events: none;
    z-index: 8000; /* Debajo del overlay pero encima del contenido */
    animation: scanlines 0.1s linear infinite;
}

/* Monitor Overlay Frame */
.monitor-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url('assets/images/overlay.png') center/cover no-repeat;
    background-size: cover;
    pointer-events: none;
    z-index: 9999; /* Por encima de todo */
    opacity: 1.0; /* Completamente opaco */
    /* Forzar cobertura completa */
    min-width: 100vw;
    min-height: 100vh;
}

/* Ajustes específicos para diferentes relaciones de aspecto */
@media (min-aspect-ratio: 16/9) {
    .monitor-overlay {
        /* Para pantallas anchas, forzar cobertura completa */
        background-size: cover;
        background-position: center center;
        opacity: 1.0; /* Completamente opaco */
        /* Estirar si es necesario */
        transform: scaleX(1.1);
    }
}

@media (min-aspect-ratio: 21/9) {
    .monitor-overlay {
        /* En pantallas ultra-anchas, estirar más */
        opacity: 1.0; /* Completamente opaco */
        background-size: cover;
        transform: scaleX(1.3);
    }
}

@media (max-aspect-ratio: 4/3) {
    .monitor-overlay {
        /* Para pantallas 4:3, funciona perfecto */
        background-size: cover;
        background-position: center center;
        opacity: 1.0; /* Completamente opaco */
        transform: none;
    }
}

/* CRT Curvature Effect */
.crt-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; /* Debajo del overlay */
}

.crt-content {
    width: 100%;
    height: 100%;
    transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
    filter: contrast(1.1) brightness(1.05) saturate(1.1);
    animation: crt-flicker 0.15s ease-in-out infinite alternate;
}

/* ===== PANTALLAS GENERALES ===== */
.screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s ease;
    z-index: 10;
}

.screen.active {
    opacity: 1;
    visibility: visible;
}

/* ===== FASE 1: PANTALLA DE ARRANQUE ===== */
#boot-screen {
    /* Sin fondo propio, usar el wallpaper */
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.boot-container {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    width: min(60vw, 500px);
    height: auto;
    margin-bottom: 4rem;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.4));
    display: block;
    max-width: 90%;
}

.loading-container {
    position: fixed;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    width: min(80vw, 600px);
    max-width: 90%;
}

#loading-bar {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.loading-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        var(--frutiger-green), 
        var(--frutiger-blue),
        var(--frutiger-green)
    );
    border-radius: 4px;
    animation: loading-animation 4s ease-in-out forwards;
    box-shadow: 
        0 0 15px rgba(126, 211, 33, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
}

.loading-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.3), 
        transparent
    );
    border-radius: 4px 4px 0 0;
}

.loading-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-weight: 500;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    letter-spacing: 0.5px;
}

/* ===== FASE 2: PANTALLA DE LOGIN ===== */
#login-screen {
    /* Sin fondo propio, usar el wallpaper */
    background: transparent;
}

.login-container {
    text-align: center;
    /* Fallback para navegadores sin backdrop-filter */
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.25) 0%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.08) 100%
    );
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(50px) saturate(1.5) brightness(1.1);
    -webkit-backdrop-filter: blur(50px) saturate(1.5) brightness(1.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 90%;
    width: 450px;
    position: relative;
    overflow: hidden;
}

/* Reducir opacidad del fondo cuando backdrop-filter está soportado */
@supports (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px)) {
    .login-container {
        background: linear-gradient(135deg, 
            rgba(255, 255, 255, 0.15) 0%,
            rgba(255, 255, 255, 0.08) 50%,
            rgba(255, 255, 255, 0.04) 100%
        );
    }
}

/* Fallback mejorado para navegadores sin soporte de backdrop-filter */

.login-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 70%
    );
    animation: aero-shimmer 3s ease-in-out infinite;
    pointer-events: none;
}

.login-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0.1) 50%,
        transparent 100%
    );
    border-radius: 20px 20px 0 0;
    pointer-events: none;
}

.system-title {
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.98);
    margin-bottom: 0.5rem;
    font-weight: 400;
    text-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(255, 255, 255, 0.3);
    letter-spacing: 1px;
    position: relative;
    z-index: 10;
}

.system-subtitle {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    font-size: 1rem;
    text-shadow: 
        0 1px 4px rgba(0, 0, 0, 0.6),
        0 0 15px rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 10;
}

.frutiger-button {
    background: linear-gradient(135deg, 
        rgba(126, 211, 33, 0.95) 0%,
        rgba(74, 144, 226, 0.95) 100%
    );
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 5px 15px rgba(74, 144, 226, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    z-index: 10;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.5),
        0 0 10px rgba(255, 255, 255, 0.2);
}

.frutiger-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, 
        rgba(126, 211, 33, 1) 0%,
        rgba(74, 144, 226, 1) 100%
    );
    box-shadow: 
        0 8px 25px rgba(74, 144, 226, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.frutiger-button:active {
    transform: translateY(-1px);
    box-shadow: 
        0 4px 15px rgba(74, 144, 226, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* ===== FASE 3: EFECTOS DE CORRUPCIÓN ===== */
.glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.1) 2px,
        rgba(255, 255, 255, 0.1) 4px
    );
    opacity: 0;
    z-index: 50;
    pointer-events: none;
}

.glitch-symbol {
    position: fixed;
    width: 80px;
    height: 80px;
    z-index: 100;
    opacity: 0;
    filter: drop-shadow(0 0 15px var(--empress-primary));
    animation: symbol-flash 0.2s ease-in-out;
    /* Better rendering for PNG images */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    transition: transform 0.1s ease;
}

.glitch-symbol-fallback {
    position: fixed;
    width: 60px;
    height: 60px;
    z-index: 100;
    opacity: 0;
    filter: drop-shadow(0 0 10px var(--empress-primary));
    animation: symbol-flash 0.2s ease-in-out;
    transition: transform 0.1s ease;
}

.glitch-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: bold;
    color: var(--empress-glow);
    text-shadow: 
        0 0 5px var(--empress-primary),
        0 0 10px var(--empress-bright),
        0 0 15px var(--empress-glow);
    z-index: 100;
    opacity: 0;
    white-space: nowrap;
    text-align: center;
}

/* ===== FASE 4: PANTALLA FINAL ===== */
#final-screen {
    background: linear-gradient(135deg, var(--void-black), var(--empress-darker), var(--neural-dark));
    z-index: 20;
}

.final-container {
    text-align: center;
    max-width: 90%;
    width: 500px;
}

.symbol-container {
    margin-bottom: 3rem;
}

.final-symbol {
    width: 120px;
    height: 120px;
    filter: 
        drop-shadow(0 0 20px var(--empress-primary))
        hue-rotate(280deg)
        saturate(1.5)
        brightness(1.2)
        contrast(1.3);
    animation: pulse-glow 2s ease-in-out infinite alternate;
    /* Better rendering for SVG */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.final-message {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    color: var(--electric-white);
    text-shadow: 0 0 10px var(--empress-glow);
    letter-spacing: 2px;
    line-height: 1.6;
}

.cursor-blink {
    animation: cursor-blink 1s infinite;
    color: var(--empress-bright);
}

.biblical-quote {
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(78, 0, 65, 0.2);
    border: 1px solid var(--empress-primary);
    border-radius: 8px;
    max-width: 600px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 1s ease;
    z-index: 3000;
    position: relative;
    backdrop-filter: blur(10px);
}

.biblical-quote.revealed {
    opacity: 1;
    transform: translateY(0);
}

.quote-text {
    font-family: var(--font-primary);
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--electric-white);
    margin-bottom: 1rem;
    font-style: italic;
    position: relative;
}

.strikethrough {
    text-decoration: line-through;
    color: var(--electric-white);
    opacity: 0.5;
    position: relative;
    margin-right: 0.5rem;
}

.replaced {
    color: var(--empress-glow);
    font-weight: bold;
    text-shadow: 0 0 8px var(--empress-primary);
    animation: text-glow 2s ease-in-out infinite alternate;
}

.quote-reference {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--empress-light);
    text-align: right;
    margin: 0;
}

.corrupted-ref {
    color: var(--empress-glow);
    font-weight: bold;
    animation: corruption-pulse 1.5s ease-in-out infinite;
}

/* ===== ANIMACIONES ===== */
@keyframes loading-animation {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes static-noise {
    0%, 100% { opacity: 0.02; }
    50% { opacity: 0.05; }
}

@keyframes symbol-flash {
    0% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
    100% { opacity: 0; transform: scale(0.9); }
}

@keyframes pulse-glow {
    0% { 
        filter: drop-shadow(0 0 20px var(--empress-primary));
        transform: scale(1);
    }
    100% { 
        filter: drop-shadow(0 0 30px var(--empress-glow));
        transform: scale(1.05);
    }
}

@keyframes cursor-blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes glitch-flash {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.8; }
}

@keyframes glitch-flicker {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

@keyframes text-glow {
    0% { 
        text-shadow: 0 0 8px var(--empress-primary);
        transform: scale(1);
    }
    100% { 
        text-shadow: 0 0 15px var(--empress-glow);
        transform: scale(1.02);
    }
}

@keyframes corruption-pulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.7;
        transform: scale(0.98);
        color: var(--empress-primary);
    }
}

@keyframes scanlines {
    0% { transform: translateY(0px); }
    100% { transform: translateY(4px); }
}

@keyframes crt-flicker {
    0% { 
        filter: contrast(1.1) brightness(1.05) saturate(1.1);
    }
    100% { 
        filter: contrast(1.15) brightness(1.08) saturate(1.15);
    }
}

@keyframes aero-shimmer {
    0% { transform: translateX(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablets y pantallas medianas */
@media (max-width: 1024px) {
    .boot-container,
    .login-container {
        width: 85%;
        padding: 2.5rem;
    }
    
    .system-title {
        font-size: 2.2rem;
    }
}

/* Móviles en orientación vertical (portrait) */
@media (max-width: 768px) and (orientation: portrait) {
    body {
        overflow-y: auto; /* Permitir scroll vertical si es necesario */
    }
    
    .screen {
        padding: 1rem;
        min-height: 100vh;
        align-items: center;
        justify-content: center;
    }
    
    .boot-container,
    .login-container {
        padding: 2rem 1.5rem;
        width: 95%;
        max-width: 350px;
        margin: auto;
        backdrop-filter: blur(15px) saturate(1.1);
    }
    
    .login-container::before {
        animation-duration: 4s; /* Más lento en móvil */
    }
    
    .system-title {
        font-size: 2rem;
        margin-bottom: 0.8rem;
    }
    
    .system-subtitle {
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }
    
    .logo {
        width: 100px;
        margin-bottom: 1.5rem;
    }
    
    .loading-container {
        margin-top: 1.5rem;
    }
    
    .loading-text {
        font-size: 0.85rem;
    }
    
    .frutiger-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .final-container {
        padding: 1rem;
        max-width: 350px;
    }
    
    .biblical-quote {
        margin-top: 2rem;
        padding: 1.5rem;
        max-width: 100%;
    }
    
    .quote-text {
        font-size: 1rem;
        line-height: 1.5;
    }
    
    .final-message {
        font-size: 1.1rem;
        letter-spacing: 1px;
        line-height: 1.4;
        word-break: break-word;
    }
    
    .final-symbol {
        width: 90px;
        height: 90px;
    }
    
    .symbol-container {
        margin-bottom: 2rem;
    }
    
    .glitch-symbol {
        width: 60px;
        height: 60px;
    }
    
    .glitch-text {
        font-size: 1.3rem;
        padding: 0 1rem;
        max-width: 90vw;
        word-break: break-word;
        white-space: normal;
        text-align: center;
    }
}

/* Móviles pequeños en orientación vertical */
@media (max-width: 480px) and (orientation: portrait) {
    .boot-container,
    .login-container {
        padding: 1.5rem 1rem;
        width: 98%;
    }
    
    .system-title {
        font-size: 1.7rem;
    }
    
    .system-subtitle {
        font-size: 0.85rem;
    }
    
    .logo {
        width: 80px;
    }
    
    .frutiger-button {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .final-message {
        font-size: 0.95rem;
        letter-spacing: 0.5px;
    }
    
    .final-symbol {
        width: 75px;
        height: 75px;
    }
    
    .biblical-quote {
        margin-top: 1.5rem;
        padding: 1rem;
    }
    
    .quote-text {
        font-size: 0.9rem;
    }
    
    .quote-reference {
        font-size: 0.8rem;
    }
    
    .glitch-text {
        font-size: 1.1rem;
        padding: 0 0.5rem;
    }
    
    .glitch-symbol {
        width: 45px;
        height: 45px;
    }
}

/* Móviles muy pequeños */
@media (max-width: 320px) and (orientation: portrait) {
    .boot-container,
    .login-container {
        padding: 1rem 0.5rem;
    }
    
    .system-title {
        font-size: 1.5rem;
    }
    
    .logo {
        width: 70px;
    }
    
    .frutiger-button {
        font-size: 0.85rem;
        padding: 0.8rem 1rem;
    }
    
    .final-message {
        font-size: 0.85rem;
    }
    
    .final-symbol {
        width: 65px;
        height: 65px;
    }
    
    .glitch-text {
        font-size: 1rem;
    }
}

/* ===== ORIENTACIÓN LANDSCAPE EN MÓVILES ===== */
@media (max-height: 600px) and (orientation: landscape) {
    .screen {
        overflow-y: auto;
    }
    
    .boot-container,
    .login-container {
        padding: 1.5rem;
        transform: scale(0.85);
        margin: 1rem auto;
    }
    
    .final-container {
        transform: scale(0.85);
        margin: 1rem auto;
    }
    
    .logo {
        width: 80px;
        margin-bottom: 1rem;
    }
    
    .system-title {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .final-symbol {
        width: 80px;
        height: 80px;
    }
    
    .symbol-container {
        margin-bottom: 1.5rem;
    }
}

/* Landscape muy pequeño (teléfonos horizontales) */
@media (max-height: 450px) and (orientation: landscape) {
    .boot-container,
    .login-container {
        transform: scale(0.7);
        padding: 1rem;
    }
    
    .final-container {
        transform: scale(0.7);
    }
    
    .glitch-text {
        font-size: 1rem;
    }
}

/* ===== AJUSTES PARA PANTALLAS TÁCTILES ===== */
@media (hover: none) and (pointer: coarse) {
    .frutiger-button {
        min-height: 48px; /* Tamaño mínimo recomendado para táctil */
        touch-action: manipulation;
    }
    
    .frutiger-button:hover {
        transform: none; /* Desactivar hover en táctil */
    }
    
    .frutiger-button:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
}

/* ===== CRT EFFECTS RESPONSIVE ===== */

/* Reducir intensidad de efectos CRT en móviles */
@media (max-width: 768px) {
    body::before {
        opacity: 0.5; /* Scanlines más sutiles en móvil */
    }
    
    .monitor-overlay {
        opacity: 0.3; /* Overlay mucho menos intenso en móvil */
    }
    
    .crt-content {
        filter: contrast(1.05) brightness(1.02) saturate(1.05);
        animation: none; /* Desactivar flicker en móvil para mejor rendimiento */
    }
}

/* Desactivar algunos efectos en pantallas muy pequeñas */
@media (max-width: 480px) {
    body::before {
        opacity: 0.3;
    }
    
    .monitor-overlay {
        opacity: 0.2; /* Casi invisible en pantallas pequeñas */
    }
}
