:root {
    --f-display: 'Archivo', system-ui, sans-serif;
    --f-mono: 'IBM Plex Mono', ui-monospace, monospace;
    --f-body: 'Inter', system-ui, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
    font-family: var(--f-body);
    overflow-x: hidden;
}

body {
    scroll-snap-type: y mandatory;
}

.screen {
    width: 100%;
    height: 100vh;
    scroll-snap-align: start;
}

/* Первый экран */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    text-align: center;
    padding: 20px;
}

.hero h1 {
    max-width: 1200px;
    color: #fff;
    font-family: var(--f-display);
    font-size: clamp(58px, 9vw, 140px);
    font-weight: 900;
    line-height: 0.92;
    letter-spacing: -0.03em;
    text-transform: uppercase;
}

/* Второй экран */
.globe-screen {
    position: relative;
    background: #000;
    overflow: hidden;
}

#globeViz {
    width: 100%;
    height: 100vh;
    background: #000;
}

#globeViz canvas {
    display: block;
}

/* Подписи на карте */
.globe-label {
    color: #ffffff;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    text-shadow:
        0 0 8px rgba(255,255,255,0.35),
        0 0 12px rgba(255,255,255,0.25);
    pointer-events: none;
}

@media (max-width: 768px) {
    .globe-label {
        font-size: 10px;
    }
}

.map-country-label {
    position: relative;
    transform: translate(-50%, -50%);
    padding: 4px 8px;
    color: #000000;
    background: rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    text-shadow: none;
}

.map-country-label:hover {
    color: #000000;
    background: #ffffff;
    border-radius: 999px;
    text-shadow: none;
}

.country-tooltip {
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    color: #ffffff;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.25);
}