* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

#map {
    background: #0a0e27;
}

.leaflet-container {
    background: #0a0e27 !important;
}

/* Berry Button */
.berry-btn {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1), rgba(0, 217, 255, 0.05));
    border: 2px solid var(--glow-color);
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 217, 255, 0.3);
}

.berry-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(0, 217, 255, 0.1));
    box-shadow: 0 0 30px var(--glow-color);
    transform: translateY(-2px);
}

/* Berry Marker */
.berry-marker {
    background: transparent !important;
    border: none !important;
}

.berry-pin {
    font-size: 32px;
    animation: berry-pulse 1.5s infinite alternate;
    filter: drop-shadow(0 0 10px var(--glow-color));
}

@keyframes berry-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 10px var(--glow-color));
    }
    100% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 20px var(--glow-color));
    }
}

/* Berry Spinner */
.berry-spinner {
    font-size: 64px;
    animation: berry-spin 2s linear infinite;
}

@keyframes berry-spin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.2); }
    100% { transform: rotate(360deg) scale(1); }
}

/* Berry Popup */
.berry-popup {
    background: #161b33;
    color: #e0e6f0;
    padding: 8px 12px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #2a2f4a;
}

.leaflet-popup-content-wrapper {
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
}

.leaflet-popup-tip {
    background: #161b33 !important;
}

/* Berry Sparkles */
.berry-sparkles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.sparkle {
    position: absolute;
    animation: sparkle-float 3s ease-in-out infinite;
    font-size: 24px;
}

@keyframes sparkle-float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #161b33;
}

::-webkit-scrollbar-thumb {
    background: #2a2f4a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #3a3f5a;
}

/* Responsive */
@media (max-width: 768px) {
    .berry-btn {
        font-size: 14px;
        padding: 8px 16px !important;
    }
    
    h1 {
        font-size: 18px !important;
    }
    
    .berry-pin {
        font-size: 24px;
    }
}