/* ===== LAYOUT PRINCIPAL ===== */

/* Contenedor principal */
.evaluacion-container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    padding: 0;
    margin: 0;
    overflow-x: hidden;
}

/* Partículas cyber dinámicas de fondo */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--primary-red);
    border-radius: 50%;
    opacity: 0.6;
    animation: cyberFloat 15s infinite linear;
    box-shadow: var(--neon-red);
}

.particle:nth-child(odd) {
    background: var(--secondary-gold);
    box-shadow: var(--neon-gold);
    animation-duration: 20s;
}

.particle:nth-child(3n) {
    background: var(--info-color);
    box-shadow: var(--neon-blue);
    animation-duration: 25s;
}

@keyframes cyberFloat {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: scale(1);
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg) scale(0);
        opacity: 0;
    }
}

/* Logo container */
.logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 0 0.5rem;
    z-index: 10;
}

/* Ocultar logo en pantalla de pregunta (está dentro del tablero) */
#screenPregunta.active ~ .logo-container,
#screenPregunta.active .logo-container {
    display: none;
}

/* Ocultar logo cuando la pantalla de pregunta está activa */
.evaluacion-container:has(#screenPregunta.active) > .logo-container {
    display: none;
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-wrapper img {
    height: 100px;
    width: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(199, 0, 57, 0.3));
}

.logo-wrapper:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(199, 0, 57, 0.5));
}

.evaluation-home-link {
    position: fixed;
    top: clamp(0.75rem, 2vw, 1.25rem);
    left: clamp(0.75rem, 2vw, 1.25rem);
    z-index: 1200;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.65rem 0.9rem;
    border: 1px solid rgba(212, 175, 55, 0.36);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(18, 18, 28, 0.88), rgba(8, 8, 12, 0.78)),
        radial-gradient(circle at 20% 20%, rgba(212, 175, 55, 0.18), transparent 48%);
    color: #f5d76e;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34), 0 0 24px rgba(212, 175, 55, 0.12);
    backdrop-filter: blur(12px);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease;
}

.evaluation-home-link:hover,
.evaluation-home-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(245, 215, 110, 0.74);
    color: #fff3a8;
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.42), 0 0 30px rgba(212, 175, 55, 0.2);
    outline: none;
}

/* Pantallas principales */
.screen {
    display: none;
    width: 100%;
    min-height: 90vh;
    position: relative;
    z-index: 2;
}

.screen.active {
    display: block;
}

/* Contenedores de pantalla */
.screen-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .logo-wrapper img {
        height: 70px;
    }

    .evaluation-home-link {
        min-height: 38px;
        padding: 0.55rem 0.68rem;
        font-size: 0.64rem;
    }
    
    .screen-content {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-wrapper img {
        height: 60px;
    }

    .evaluation-home-link {
        top: 0.6rem;
        left: 0.6rem;
    }
    
    .screen-content {
        padding: 0.75rem;
    }

    .screen {
        min-height: auto;
    }

    .screen-content {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .screen-content {
        padding-bottom: 3rem;
    }
}

