@import url('https://fonts.googleapis.com/css2?family=Inter+Tight:wght@300;400;600;800&family=Outfit:wght@300;500;700&display=swap');

:root {
	color-scheme: dark;
	--bg-deep: #0a0a0f;
	--bg-surface: #12121a;
	--accent-warm: #ff6b3d;
	--accent-gold: #fbbf24;
	--text-primary: #e8e6e1;
	--text-muted: #6b6a72;
}

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

body {
	background: var(--bg-deep);
	color: var(--text-primary);
	font-family: 'Outfit', sans-serif;
	overflow: hidden;
	height: 100vh;
	width: 100vw;
}

#globe-container {
	position: relative;
	width: 100vw;
	height: 100vh;
	background: radial-gradient(ellipse at 40% 50%, #141428 0%, #0a0a0f 70%);
}

#globe-canvas {
	width: 100%;
	height: 100%;
}

canvas {
	display: block;
}

.globe-title {
	position: absolute;
	top: 3rem;
	left: 3rem;
	pointer-events: none;
	z-index: 10;
}

.globe-title h1 {
	font-family: 'Inter Tight', sans-serif;
	font-weight: 300;
	font-size: clamp(2rem, 5vw, 3.5rem);
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
	background: linear-gradient(90deg, #ffffff 0%, #a0a0b0 50%, var(--accent-gold) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.globe-title p {
	font-weight: 300;
	font-size: 1rem;
	color: var(--text-muted);
	margin-top: 0.5rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
}

.globe-legend {
	position: absolute;
	bottom: 3rem;
	left: 3rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	z-index: 10;
	pointer-events: none;
}

.legend-item {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--text-muted);
}

.legend-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--accent-warm);
	box-shadow: 0 0 12px var(--accent-warm), 0 0 24px rgba(255, 107, 61, 0.3);
}

.location-label {
	position: absolute;
	pointer-events: none;
	z-index: 20;
	font-family: 'Outfit', sans-serif;
	font-weight: 500;
	font-size: 0.8rem;
	color: var(--accent-gold);
	background: rgba(10, 10, 15, 0.85);
	border: 1px solid rgba(251, 191, 36, 0.3);
	padding: 0.3rem 0.7rem;
	border-radius: 4px;
	white-space: nowrap;
	opacity: 0;
	transform: translate(-50%, -100%) translateY(-12px);
	transition: opacity 0.3s ease;
	backdrop-filter: blur(8px);
}

.location-label.visible {
	opacity: 1;
}

.location-label::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 50%;
	transform: translateX(-50%) rotate(45deg);
	width: 8px;
	height: 8px;
	background: rgba(10, 10, 15, 0.85);
	border-right: 1px solid rgba(251, 191, 36, 0.3);
	border-bottom: 1px solid rgba(251, 191, 36, 0.3);
}