* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #1a1a2e;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.menu-container {
    position: fixed;
    top: 30px;
    left: 30px;
    z-index: 1000;
}

.menu-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #03254E;
    border: 2px solid #477998;
    color: #fff;
    font-size: 0.9em;
    font-weight: 300;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.menu-button:hover {
    background: #04305e;
    border-color: #7DC95E;
    transform: scale(1.05);
}

.menu-nav {
    position: absolute;
    top: 90px;
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.menu-nav.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item {
    display: block;
    padding: 12px 24px;
    background: #03254E;
    border: 2px solid #477998;
    border-radius: 25px;
    color: #fff;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 300;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
}

.menu-item:hover {
    background: #04305e;
    border-color: #7DC95E;
    transform: translateX(5px);
}

.container {
    text-align: center;
    width: 100%;
    max-width: 1400px;
    padding: 20px;
}

h1 {
    margin-bottom: 20px;
    font-size: 3.5em;
    font-weight: 300;
    letter-spacing: 2px;
    color: #477998;
    text-shadow: none;
}

#globe-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.controls {
    position: absolute;
    right: 50px;
    top: 0;
    transform: translateY(30px);
    text-align: left;
    z-index: 10;
}

.controls label {
    display: block;
    font-size: 0.9em;
    margin-bottom: 10px;
    color: #8fa3ad;
    font-weight: 300;
    letter-spacing: 0.5px;
}

#country-select {
    padding: 10px 16px;
    font-size: 0.9em;
    border: 2px solid #477998;
    border-radius: 6px;
    background: #03254E;
    color: #fff;
    cursor: pointer;
    min-width: 220px;
    box-shadow: none;
    transition: all 0.3s ease;
}

#country-select:hover {
    border-color: #7DC95E;
    background: #04305e;
}

#country-select:focus {
    outline: none;
    border-color: #7DC95E;
    background: #04305e;
}

#country-select option {
    background: #03254E;
    color: #fff;
    padding: 10px;
}

#globe-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

#globe {
    background: transparent;
}

.country {
    fill: #0A100D;
    stroke: #477998;
    stroke-width: 0.5px;
    cursor: pointer;
    transition: fill 0.3s;
}

.country:hover {
    fill: #1a2f24;
}

.country.same-continent:hover {
    fill: #567a4d;
}

.country.highlighted:hover {
    fill: #7DC95E;
}

.country.highlighted {
    fill: #7DC95E;
    stroke: #477998;
    stroke-width: 1px;
}

.country.same-continent {
    fill: #45653E;
}

.sphere {
    fill: #011a35;
    stroke: #477998;
    stroke-width: 2px;
    opacity: 0.6;
    transition: fill 0.5s, opacity 0.5s;
}

.sphere.active {
    fill: #03254E;
    opacity: 1;
}

.graticule {
    fill: none;
    stroke: #477998;
    stroke-width: 0.5px;
    stroke-opacity: 0.5;
}

.country-label {
    fill: #fff;
    font-size: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}
