body {
    margin: 0;
    overflow: hidden;
    background: #000;
    font-family: Arial, sans-serif;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}

/* ESTILOS PARA EL VIDEO DE FONDO YOUTUBE */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1; 
    pointer-events: none;
    overflow: hidden;
}

.video-background iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Forzar que A-frame sea transparente por detr¨¢s */
a-scene {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

#menu {
    position: fixed;
    inset: 0;
    background: #0a0a0a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 99999;
}

#popupImage {
    max-width: 85%;
    max-height: 60%;
    object-fit: contain;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

#startBtn {
    padding: 16px 55px;
    background: #00ffee;
    color: #000;
    border: none;
    border-radius: 30px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 255, 238, 0.3);
}

#zoneMove, #zoneLook {
    position: fixed;
    bottom: 40px;  
    width: 120px;
    height: 120px;
    z-index: 99999;
    pointer-events: auto;
}

#zoneMove {
    left: 30px;
}

#zoneLook {
    right: 30px;
}

@media (min-width: 769px) {
    #zoneMove, #zoneLook { display: none !important; }
}

.a-enter-vr, .a-xr-mode-ui {
    display: none !important;
}