:root {
  --bg: #0a0a0a;
  --fg: #ededed;
  --muted: #8a8a8a;
}

* { box-sizing: border-box; }

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

body {
  background: var(--bg);
  color: var(--fg);
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
  position: relative;
}

.grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(237, 237, 237, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(237, 237, 237, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 50%, #000 30%, transparent 80%);
  z-index: 1;
}

.lanes {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
  opacity: 0.75;
  mask-image: radial-gradient(ellipse 95% 95% at 50% 50%, #000 25%, transparent 90%);
  -webkit-mask-image: radial-gradient(ellipse 95% 95% at 50% 50%, #000 25%, transparent 90%);
}

.lane {
  position: absolute;
  top: var(--y);
  left: 0;
  width: var(--w, 18%);
  height: 1px;
  opacity: var(--o, 0.5);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(237, 237, 237, 0.18) 60%,
    rgba(237, 237, 237, 0.6) 95%,
    rgba(237, 237, 237, 0.7) 100%
  );
  box-shadow: 0 0 3px rgba(237, 237, 237, 0.18);
  animation: lane-travel var(--d, 8s) linear var(--t, 0s) infinite;
  will-change: transform;
}

@keyframes lane-travel {
  0%   { transform: translate3d(-30vw, 0, 0); }
  100% { transform: translate3d(110vw, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .lane { animation: none; opacity: 0; }
}

main {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 18px;
  padding: 32px;
}

.logo {
  width: clamp(220px, 42vw, 460px);
  height: auto;
  display: block;
}

.sub {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
}

.footer {
  position: fixed;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 12px;
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.6;
}
