* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
}

body {
  position: relative;
  display: block;
  overflow: hidden;
  background: radial-gradient(
    circle at 20% 20%,
    var(--bg-start, #1f2942) 0%,
    var(--bg-mid, #101421) 45%,
    var(--bg-end, #070a11) 100%
  );
  color: #f7f8fc;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.scene {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.22);
}

.visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-nav {
  position: fixed;
  left: 50%;
  bottom: 1.2rem;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-arrow {
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.35rem;
  color: #f7f8ff;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.24);
  transition: transform 140ms ease, background 140ms ease;
}

.nav-arrow:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.24);
}

.nav-label {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

canvas {
  width: 100%;
  height: 100%;
  display: block;
}
