/* .floating-instructions {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    gap: 20px;
    z-index: 100;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-instructions .instruction {
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-instructions .instruction i {
    color: #FFA500;
}

@media (max-width: 768px) {
    .floating-instructions {
        flex-direction: column;
        gap: 5px;
        padding: 8px 15px;
        bottom: 10px;
    }

    .floating-instructions .instruction {
        font-size: 12px;
    }
} */

/* Estilos CSS Responsive para WheelViewer3D */

#threejs-canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100%;
    display: block;
    touch-action: none;
    -webkit-tap-highlight-color: transparent;
}

/* Instrucciones responsive */
.floating-instructions {
   position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: 10px 20px;
    border-radius: 25px;
    display: flex;
    gap: 20px;
    z-index: 100;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.floating-instructions .instruction {
    color: white;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.floating-instructions .instruction i {
    color: #FFA500;
}

/* Media Queries */
@media (max-width: 768px) {
    .floating-instructions {
        bottom: 10px;
        padding: 12px;
        font-size: 12px;
    }

    .instruction-item {
        font-size: 12px;
        margin: 4px 0;
    }

    .instruction-item .icon {
        font-size: 14px;
        margin-right: 6px;
    }
}

@media (max-width: 480px) {
    .floating-instructions {
        padding: 10px;
        font-size: 11px;
    }

    .instruction-item {
        font-size: 11px;
    }

    .hero-content h1 {
        font-size: 1.8rem !important;
    }

    .hero-content p {
        font-size: 0.9rem !important;
    }
}

/* Soporte para orientación landscape en móviles */
@media (max-height: 500px) and (orientation: landscape) {
    .floating-instructions {
        bottom: 5px;
        padding: 8px;
        font-size: 11px;
    }

    .instruction-item {
        display: inline-block;
        margin: 0 8px;
    }
}

/* Mejoras para tablets */
@media (min-width: 769px) and (max-width: 1024px) {
    .floating-instructions {
        padding: 15px 20px;
    }
}

/* Prevenir zoom no deseado en iOS */
@supports (-webkit-touch-callout: none) {
    #threejs-canvas {
        -webkit-user-select: none;
        -webkit-touch-callout: none;
    }
}

/* Loading state */
.loading-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 18px;
    z-index: 1001;
}

/* Performance optimizations */
@media (prefers-reduced-motion: reduce) {
    .floating-instructions {
        transition: none;
    }

    .hero-content {
        transition: none !important;
    }
}


