:root {
	--bg: #17101f;
	--bg-raised: #241733;
	--text: #e2d9ec;
	--muted: #9c8cb0;
	--grimace: #b57ee0;
	--grimace-dim: #7b4fa3;
	--pan-pink: #ff218c;
	--pan-yellow: #ffd800;
	--pan-blue: #21b1ff;
	--danger: #ff5544;
	--border: #3a2a4d;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scrollbar-color: var(--muted) transparent;
}

body {
	margin: 0;
	font-family: 'Helvetica', 'Liberation Sans', 'Arial', sans-serif;
	background: var(--bg);
	color: var(--text);
	min-height: 100vh;
	overflow-x: hidden;
	display: flex;
	flex-direction: column;
}

.top-nav {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(23, 16, 31, 0.9);
	backdrop-filter: blur(6px);
	border-bottom: 1px solid var(--border);
}

.nav-content {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	justify-content: center;
	gap: 2rem;
	padding: 1rem;
}

.nav-link {
	color: var(--grimace);
	text-decoration: none;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-size: 0.9rem;
	padding-bottom: 3px;
}

.nav-link:hover {
	color: var(--text);
	border-bottom: 2px solid;
}

.main-wrapper {
	position: relative;
	z-index: 2;
	flex: 1;
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
	padding: 2rem 1.5rem 4rem;
	text-align: center;
}

.page-title {
	font-size: 32pt;
	margin: 2rem 0;
	color: var(--text);
	/*text-shadow: 0 0 20px rgba(181, 126, 224, 0.5);*/
}

.countdown-container {
	display: flex;
	justify-content: center;
	gap: clamp(0.4rem, 2vw, 1rem);
	flex-wrap: nowrap;
	margin: 2.5rem 0;
}

.time-box {
	background: var(--bg-raised);
	border: 1px solid var(--border);
	border-top: 3px solid var(--grimace);
	border-radius: 8px;
	padding: clamp(0.6rem, 3vw, 1.2rem) clamp(0.3rem, 2vw, 1rem);
	flex: 1;
	min-width: 0;
	max-width: 6.5rem;
	box-shadow: 0 0 25px rgba(181, 126, 224, 0.1);
}

.time-box:nth-child(1) { border-top-color: var(--pan-pink); }
.time-box:nth-child(2) { border-top-color: var(--pan-yellow); }
.time-box:nth-child(3) { border-top-color: var(--pan-blue); }
.time-box:nth-child(4) { border-top-color: var(--grimace); }

.time-box span {
	display: block;
	font-size: clamp(1.3rem, 7vw, 2.5rem);
	font-weight: bold;
	color: var(--grimace);
	font-variant-numeric: tabular-nums;
}

.time-box p {
	margin: 0.4rem 0 0;
	text-transform: uppercase;
	letter-spacing: clamp(0.5px, 0.5vw, 2px);
	font-size: clamp(0.55rem, 2vw, 0.7rem);
	color: var(--muted);
}

#info {
	text-align: left;
	line-height: 1.7;
}

#info > p:first-child {
	text-align: center;
	font-size: 1rem;
}

.the-quote {
	margin: 2rem 0;
	padding: 1.5rem;
	background: var(--bg-raised);
	/*border-left: 4px solid;*/
	/*border-image: linear-gradient(180deg, var(--pan-pink), var(--pan-yellow), var(--pan-blue)) 1;*/
	font-style: italic;
	color: var(--text);
}

.the-quote cite {
	display: block;
	margin-top: 1rem;
	font-style: normal;
	color: var(--muted);
	text-align: right;
}

.clock-link {
	display: block;
	text-align: center;
	margin: 2rem auto;
	color: var(--pan-pink);
	font-weight: bold;
	letter-spacing: 4px;
	text-decoration: none;
	animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
	50% { opacity: 0.4; }
}

h2 {
	margin-top: 3rem;
	text-align: center;
	color: var(--grimace);
	letter-spacing: 1px;
}

ol {
	max-width: 400px;
	margin: 1.5rem auto;
	padding-left: 2rem;
	font-size: 1.1rem;
	line-height: 2;
}

#bum {
	color: var(--danger);
}

a {
	color: var(--grimace);
}

.site-footer {
	position: relative;
	z-index: 2;
	border-top: 1px solid var(--border);
	background: var(--bg-raised);
}

.footer-content {
	max-width: 800px;
	margin: 0 auto;
	padding: 1.5rem;
	font-size: 0.75rem;
	color: var(--muted);
	line-height: 1.6;
}
