@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600&display=swap');

:root {
    --accent: #3b82f6;
}

#map-container {
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Inter', sans-serif;
    background: #020617;
    margin: 0;
    padding: 0;
    overflow: hidden;
    touch-action: none;
}

#map {
    height: 100vh;
    width: 100vw;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Perspectiva 3D */
.view-3d #map {
    transform: perspective(1000px) rotateX(45deg) scale(1.2);
    transform-origin: bottom center;
}

.glass {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.no-select {
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

/* Estilo de la barra de progreso para móvil */
input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    background: transparent;
}

input[type="range"]::-webkit-slider-runnable-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    height: 20px;
    width: 20px;
    border-radius: 50%;
    background: var(--accent);
    margin-top: -8px;
    border: 2px solid white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Animación del marcador */
.marker-emoji {
    transition: transform 0.2s ease;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.view-3d .marker-emoji {
    transform: rotateX(-30deg);
}

/* Overlay Styles */
#video-overlay {
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8);
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.5) 0%, transparent 20%, transparent 80%, rgba(2, 6, 23, 0.6) 100%);
    z-index: 1500;
}
