/**
 * Estilos para Instalação Quântica Interativa
 * Estética elegante e minimalista
 */

body {
    margin: 0;
    overflow: hidden;
    background: #000000;
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    cursor: none;
    /* Esconde cursor para experiência imersiva */
}

canvas {
    display: block;
}

#ui {
    position: absolute;
    top: 20px;
    left: 20px;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(15, 15, 25, 0.85);
    padding: 20px;
    border-radius: 15px;
    pointer-events: none;
    border: 1px solid rgba(100, 150, 255, 0.3);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(100, 150, 255, 0.1);
    font-size: 13px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: opacity 0.3s ease;
}

#ui strong {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.5px;
}

#ui small {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
}

.legend {
    display: flex;
    align-items: center;
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.75);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 10px;
    display: inline-block;
    box-shadow: 0 0 8px currentColor;
}

/* Animação sutil de fade-in */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#ui {
    animation: fadeIn 0.5s ease-out;
}

/* Para exposição - UI discreta */
body.exhibition-mode #ui {
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

body.exhibition-mode #ui:hover {
    opacity: 1;
}

/* Loading indicator (opcional) */
.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    text-align: center;
}

.loading::after {
    content: '...';
    animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {

    0%,
    20% {
        content: '.';
    }

    40% {
        content: '..';
    }

    60%,
    100% {
        content: '...';
    }
}