:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #111315;
  color: #e6e7e8;
}

* { box-sizing: border-box; }

body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
}

main { text-align: center; }

.home-page main {
  position: relative;
  z-index: 1;
  padding: 1rem 1.25rem;
  border-radius: 0.75rem;
  background: rgba(17, 19, 21, 0.82);
}

.dvd-stage {
  --dvd-size: clamp(96px, 18vmin, 170px);
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.dvd-bounce-x {
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--dvd-size);
  animation: dvd-x 6s linear infinite alternate,
             dvd-color-x 12s step-end infinite;
}

.dvd-bounce-y {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--dvd-size);
  height: var(--dvd-size);
  animation: dvd-y 4.3s linear infinite alternate;
}

.dvd-bounce-y img {
  display: block;
  width: 100%;
  height: 100%;
  animation: dvd-color-y 8.6s step-end infinite;
}

@keyframes dvd-x {
  to { transform: translateX(calc(100vw - var(--dvd-size))); }
}

@keyframes dvd-y {
  to { transform: translateY(calc(100dvh - var(--dvd-size))); }
}

@keyframes dvd-color-x {
  0%, 100% { filter: hue-rotate(0deg); }
  50% { filter: hue-rotate(120deg); }
}

@keyframes dvd-color-y {
  0%, 100% { filter: sepia(1) saturate(10) hue-rotate(0deg); }
  50% { filter: sepia(1) saturate(10) hue-rotate(150deg); }
}

.not-found-image {
  display: block;
  width: min(100%, 260px);
  height: auto;
  margin: 0 auto 1.5rem;
}

h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
}

p {
  margin: 0;
  color: #a4a7aa;
  font-size: 1rem;
  line-height: 1.5;
}
