/* ============================================================
CONFIGURATION — tweak these to control the effect
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
	/* Background & city plan colors */
	--bg-color: #1A2744;
	/* page background */
	--city-color: #1A2744;
	/* SVG fill — same as bg so it's invisible */
	--city-stroke: #1A2744;
	/* subtle stroke to hint the grid */

	/* Typography */
	--logo-font: "Manrope", sans-serif;
	--logo-size: clamp(2.5rem, 8vw, 7rem);
}

*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html,
body {
	width: 100%;
	height: 100%;
	background: var(--bg-color);
	overflow: hidden;
}

/* ── CITY STAGE ──────────────────────────────────────────── */
#city-stage {
	position: fixed;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.city-layer {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	display: none;
}

.city-layer.active {
	opacity: 1;
}

.city-layer svg {
	width: 100vmax;
	height: 100vmax;
	fill: var(--city-color);
	stroke: var(--city-stroke);
	stroke-width: 0.5;
	opacity: 0.85;
}

/* ── HALO OVERLAY (sits above the SVG, below the logo) ───── */
#halo-canvas {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 10;
}

/* ── LOGO ────────────────────────────────────────────────── */
#logo {
	position: fixed;
	inset: 0;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: center;
	pointer-events: none;
}

#logo span {
	font-family: var(--logo-font);
	font-size: var(--logo-size);
	user-select: none;
}

/* ── DEBUG PANEL ─────────────────────────────────────────── */
#controls {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	z-index: 30;
	background: rgba(13, 15, 18, 0.82);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 10px;
	padding: 1rem 1.25rem;
	color: rgba(200, 200, 200, 0.75);
	font-family: 'Courier New', monospace;
	font-size: 0.7rem;
	line-height: 1.9;
	min-width: 220px;
	backdrop-filter: blur(8px);
}

#controls summary {
	cursor: pointer;
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: rgba(200, 200, 200, 0.5);
	list-style: none;
	margin-bottom: 0.5rem;
}

#controls label {
	display: flex;
	justify-content: space-between;
	gap: 0.75rem;
}

#controls input[type='range'] {
	width: 100px;
	accent-color: #6488b4;
}

#controls input[type='color'] {
	border: none;
	background: none;
	width: 32px;
	height: 18px;
	cursor: pointer;
	padding: 0;
}

#controls .val {
	min-width: 2.5rem;
	text-align: right;
	color: #8aadcc;
}