:root {
  --bg-1: #0e0a1b;
  --bg-2: #1b0f3a;
  --neon-green: #4CFF60;
  --base: 0deg; /* corrected orientation */
  --turn: 0deg;
}

* { box-sizing: border-box; }
html {
  height: 100%;
  background: #0e0a1b;
  background-image:
radial-gradient(1000px 600px at 20% 20%, rgba(255, 46, 189, .12), transparent 60%),
radial-gradient(800px 600px at 80% 10%, rgba(75, 255, 96, .12), transparent 60%),
linear-gradient(180deg, var(--bg-2), var(--bg-1));	
  background-attachment: fixed;
  background-size: cover;
}

body {
  color: #f3f6ff;
  font-family: 'Nunito', system-ui;
  padding: 4rem 2rem;
  margin: 0;
}

#scene {
  position: relative;
  z-index: 10;
  pointer-events: none;
}

#underlay {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: 0;
}

.title {
  text-align: center;
  z-index: 10;
  user-select: none;
}

.title h1 {
  font-family: 'Creepster', cursive;
  margin: 0 0 0.75rem 0;
  font-size: clamp(56px, 6vw, 96px);
  color: #fff;
  text-shadow: 0 0 18px rgba(75,255,96,.35);
}

.title p {
  margin: 0;
  font-weight: 900;
  font-size: clamp(24px, 2vw, 28px);
  color: var(--neon-green);
  text-shadow: 0 0 18px rgba(27, 15, 58, 0.8);
}

.nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  margin: 2rem;
  max-width: none;
  width: auto;
}

.nav a {
  display: block;
  pointer-events: auto;
  max-width: 20rem;
  width: 100%;
  align-self: center;
  text-align: center;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  color: #111;
  background: #fefefe;
  backdrop-filter: blur(4px);
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 10px 22px rgba(0,0,0,.45), 0 0 24px rgba(75,255,96,.3);
  transition: transform .2s ease, box-shadow .2s ease;
}

.nav a:hover {
  transform: translateY(-3px) scale(1.02) rotate(-1deg);
  box-shadow: 0 16px 32px rgba(0,0,0,.55), 0 0 40px rgba(75,255,96,.45);
}

.content {
  pointer-events: auto;
  background: rgba(14, 10, 27, 0.55);
  backdrop-filter: blur(4px);
  padding: 1.5rem 2rem;
  border-radius: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  text-wrap: pretty;
}

.content p {
	font-size: 18px;
	line-height: 2;
	text-shadow: 0 0 6px rgba(27, 15, 58, 1);
	margin: 0 0 1.5rem;
}

.content p:last-of-type {
	margin-bottom: 0;
}

footer {
	font-size: 14px;
	padding-top: 2rem;
	text-align: center;
	text-shadow: 0 0 6px rgba(27, 15, 58, 1);
}

#zombie {
  position: absolute;
  left: 0;
  width: 128px;
  transition: transform 0.25s ease;
}
