/* Main Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;700;900&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #020617;
    /* Dark Slate 950 */
    color: #f8fafc;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.ambient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
    z-index: -1;
}

.orb-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: #3b82f6;
}

/* Blue */
.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: #6366f1;
}

/* Indigo */

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(30px, 50px) rotate(10deg);
    }

    66% {
        transform: translate(-20px, 20px) rotate(-5deg);
    }
}

.glass-panel {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.animate-enter {
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 10px;
}

/* MAP SPECIFIC STYLES */

/* TRANSITIONS */
.continent-label,
.country-label {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* CONTINENT LABELS (Default: Visible) */
.continent-label {
    opacity: 0.6;
    color: rgba(255, 255, 255, 0.5);
    font-size: 2rem;
    font-weight: 900;
    text-align: center;
    pointer-events: none;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* COUNTRY LABELS (Default: Hidden) */
.country-label {
    opacity: 0 !important;
    /* Force hidden initially */
    background: transparent !important;
    border: none !important;
    color: white !important;
    font-weight: bold;
    font-size: 8px !important;
    /* Smaller text */
    text-transform: uppercase;
    text-align: center;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: none !important;
    white-space: nowrap;
    /* Prevent wrapping */
    pointer-events: none !important;
    /* No clicking labels */
}

/* ZOOMED IN STATE (> 4.5) */
/* When the map container has this class, swap visibilities */
.map-zoomed-in .continent-label {
    opacity: 0 !important;
    transform: scale(2);
}

.map-zoomed-in .country-label {
    opacity: 1 !important;
}