body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

#map-container {
    width: 100vw;
    height: 100vh;
    position: relative;
}

svg {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
}

.country {
    fill: #4CAF50;
    stroke: #e8f5e8;
    stroke-width: 0.5px;
    vector-effect: non-scaling-stroke;
    cursor: move;
    transition: all 0.3s ease;
}

.country:hover {
    fill: #2E7D32;
    filter: brightness(1.1);
}

.custom-country {
    fill: #FF9800;
    stroke: #fff3e0;
    stroke-width: 0.5px;
    vector-effect: non-scaling-stroke;
    cursor: move;
    transition: all 0.3s ease;
}

.custom-country:hover {
    fill: #F57C00;
    filter: brightness(1.1);
}

.supercontinent {
    fill: #9C27B0;
    stroke: #e1bee7;
    stroke-width: 0.5px;
    vector-effect: non-scaling-stroke;
    filter: drop-shadow(0 0 10px rgba(156, 39, 176, 0.5));
}

.tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 10px;
    border-radius: 5px;
    pointer-events: none;
    opacity: 0;
    z-index: 1000;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.controls {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 10px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

button {
    padding: 10px 15px;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 12px;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 15px;
    z-index: 200;
    backdrop-filter: blur(10px);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 0.7; }
    50% { opacity: 1; }
    100% { opacity: 0.7; }
}

