* { font-family: 'Nunito', sans-serif; }
body {
    background: linear-gradient(135deg, #FFF7ED 0%, #FFEDD5 100%);
    min-height: 100vh;
}
.leaflet-container { z-index: 1; }

.bus-marker {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 100%);
    border: 3px solid white;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4);
    animation: bus-bounce 2s ease-in-out infinite;
}

.stop-marker {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    border: 3px solid white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.4);
}

@keyframes bus-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 100%; }
}

.shine-effect {
    position: relative;
    overflow: hidden;
}
.shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.ocre-gradient {
    background: linear-gradient(135deg, #F97316 0%, #EA580C 50%, #C2410C 100%);
}

.gold-gradient {
    background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 50%, #D97706 100%);
}

.badge-glow {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

.btn-game {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}
.btn-game:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 30px rgba(249, 115, 22, 0.4);
}
.btn-game:active {
    transform: translateY(0) scale(0.98);
}

.card-float {
    transition: all 0.3s ease;
}
.card-float:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.icon-bounce {
    transition: transform 0.3s ease;
}
.icon-bounce:hover {
    animation: float 1s ease-in-out infinite;
}

.progress-bar {
    background: linear-gradient(90deg, #F97316, #FBBF24, #F97316);
    background-size: 200% 100%;
    animation: progress-shine 2s linear infinite;
}

@keyframes progress-shine {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.level-badge {
    background: linear-gradient(135deg, #F97316 0%, #D97706 100%);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.4), inset 0 2px 4px rgba(255,255,255,0.3);
}

.xp-bar {
    height: 8px;
    background: rgba(249, 115, 22, 0.2);
    border-radius: 999px;
    overflow: hidden;
}
.xp-fill {
    height: 100%;
    background: linear-gradient(90deg, #F97316, #FBBF24);
    border-radius: 999px;
    transition: width 0.5s ease;
}

.bottom-sheet {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.bottom-sheet.collapsed {
    transform: translateY(calc(100% - 100px));
}

.leaflet-popup-content-wrapper {
    border-radius: 16px !important;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15) !important;
}

.trophy-icon {
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.5));
}

input:focus, select:focus {
    outline: none;
    ring: 2px;
    ring-color: #F97316;
    border-color: #F97316;
}
