/* ==========================================================================
   iamxz.com — SIGNAL
   A neon transmission from the void.
   ========================================================================== */

:root {
  --bg: #04020a;
  --cyan: #67e8ff;
  --blue: #2f9dff;
  --magenta: #ff4ecd;
  --violet: #8b5cf6;
  --ink: #f2f8ff;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Futura", "Futura PT", "Century Gothic", "Avenir Next", "Helvetica Neue", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  z-index: -1;
  background:
    radial-gradient(circle at 28% 38%, rgba(0, 190, 255, 0.16), transparent 38%),
    radial-gradient(circle at 72% 62%, rgba(255, 0, 190, 0.12), transparent 42%),
    radial-gradient(circle at 50% 50%, rgba(90, 40, 255, 0.08), transparent 55%),
    #04020a;
  animation: fallbackDrift 18s ease-in-out infinite alternate;
}

::selection {
  background: rgba(103, 232, 255, 0.25);
  color: #fff;
}

/* ---------- Background layers ------------------------------------------- */

#bgScene {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: #04020a;
}

.no-webgl #bgScene {
  display: none;
}

.grid {
  position: fixed;
  left: -25%;
  right: -25%;
  bottom: -12vh;
  z-index: 1;
  height: 62vh;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(103, 232, 255, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(103, 232, 255, 0.14) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: perspective(620px) rotateX(68deg);
  transform-origin: center bottom;
  -webkit-mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.35) 46%, transparent 86%);
  mask-image: linear-gradient(to top, #000 0%, rgba(0, 0, 0, 0.35) 46%, transparent 86%);
  opacity: 0.34;
  animation: gridScroll 9s linear infinite;
}

.vignette {
  position: fixed;
  inset: 0;
  z-index: 8;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(4, 2, 10, 0.55), transparent 18%, transparent 78%, rgba(4, 2, 10, 0.7)),
    radial-gradient(ellipse at center, transparent 38%, rgba(2, 0, 8, 0.62) 100%);
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 9;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  animation: grainShift 0.45s steps(2) infinite;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  opacity: 0.22;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.035) 0 1px,
    transparent 1px 3px
  );
  mix-blend-mode: overlay;
}

/* ---------- HUD --------------------------------------------------------- */

.hud {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 34px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(210, 235, 255, 0.55);
  pointer-events: none;
  animation: fadeIn 1.4s 0.35s both;
}

.hud-top {
  top: 0;
}

.hud-bottom {
  bottom: 0;
}

.hud-left,
.hud-right {
  display: flex;
  align-items: center;
  gap: 11px;
}

.hud-strong {
  color: rgba(235, 250, 255, 0.92);
  text-shadow: 0 0 18px rgba(103, 232, 255, 0.35);
}

.dim {
  color: rgba(160, 190, 220, 0.34);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5fffc4;
  box-shadow: 0 0 10px #5fffc4, 0 0 24px rgba(95, 255, 196, 0.45);
  animation: blink 2.6s ease-in-out infinite;
}

#serverTime {
  color: rgba(225, 246, 255, 0.82);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 14px rgba(103, 232, 255, 0.25);
}

.hint {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(200, 228, 250, 0.55);
}

.hint .key {
  padding: 3px 6px;
  color: rgba(150, 240, 255, 0.9);
  border: 1px solid rgba(103, 232, 255, 0.22);
  border-radius: 3px;
  background: rgba(103, 232, 255, 0.05);
  box-shadow: 0 0 16px rgba(103, 232, 255, 0.08);
}

.sep {
  color: rgba(255, 255, 255, 0.14);
}

/* ---------- Stage ------------------------------------------------------- */

.stage {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(26px, 5.5vh, 58px);
  min-height: 100svh;
  padding: 96px 24px 92px;
  perspective: 1400px;
}

.halo {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 0;
  width: min(118vw, 1320px);
  height: min(72vh, 620px);
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(0, 220, 255, 0.2),
    rgba(75, 55, 255, 0.15) 36%,
    rgba(255, 40, 200, 0.08) 54%,
    transparent 70%
  );
  filter: blur(34px);
  transform: translate(-50%, -50%);
  animation: haloBreathe 7.5s ease-in-out infinite;
}

.halo::before {
  content: "";
  position: absolute;
  inset: -18%;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    rgba(103, 232, 255, 0.12) 55deg,
    transparent 110deg,
    rgba(255, 78, 205, 0.12) 190deg,
    transparent 250deg,
    rgba(139, 92, 246, 0.1) 320deg,
    transparent 360deg
  );
  filter: blur(38px);
  animation: spin 16s linear infinite;
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: min(96vw, 1120px);
  aspect-ratio: 2.55 / 1;
  pointer-events: none;
  border: 1px solid rgba(120, 225, 255, 0.22);
  border-radius: 50%;
  box-shadow:
    0 0 36px rgba(80, 200, 255, 0.08),
    inset 0 0 48px rgba(80, 200, 255, 0.05);
  transform: translate(-50%, -50%) rotateX(72deg) rotateZ(0deg);
  animation: orbitSpin 26s linear infinite;
}

.orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 12px var(--cyan), 0 0 34px rgba(103, 232, 255, 0.6);
  transform: translate(-50%, -50%);
}

.orbit-b {
  width: min(82vw, 940px);
  border-style: dashed;
  border-color: rgba(255, 120, 220, 0.18);
  animation-duration: 38s;
  animation-direction: reverse;
  opacity: 0.65;
}

.orbit-b::after {
  left: auto;
  right: 0;
  width: 5px;
  height: 5px;
  background: var(--magenta);
  box-shadow: 0 0 12px var(--magenta), 0 0 30px rgba(255, 78, 205, 0.55);
}

/* ---------- Hero -------------------------------------------------------- */

.hero-wrap {
  position: relative;
  z-index: 2;
}

.hero {
  position: relative;
  display: inline-grid;
  place-items: center;
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(4rem, 15vw, 16rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.06em;
  white-space: nowrap;
  text-transform: lowercase;
  user-select: none;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg))
    translate3d(var(--tx, 0px), var(--ty, 0px), 0);
  transform-style: preserve-3d;
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.hero > * {
  grid-area: 1 / 1;
}

.layer {
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
}

.word {
  position: relative;
  z-index: 4;
  display: block;
  white-space: nowrap;
}

.letter {
  display: inline-block;
  animation: letterIn 1.15s cubic-bezier(0.16, 1, 0.3, 1) both;
  animation-delay: calc(0.18s + var(--i) * 0.055s);
}

.glyph {
  display: inline-block;
  color: transparent;
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,
    #d6faff 20%,
    #8dd2ff 42%,
    #a98bff 62%,
    #ff9ae8 82%,
    #ffffff 100%
  );
  background-size: 100% 240%;
  background-position: 50% 38%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 calc(8px + var(--glow, 0) * 26px) rgba(103, 232, 255, 0.4));
  transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0) rotate(var(--rot, 0deg))
    scale(var(--scale, 1));
  transition:
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    filter 0.4s ease;
  will-change: transform;
}

.dot .glyph {
  background-image: radial-gradient(
    circle at 34% 32%,
    #ffffff 0 8%,
    #c8fbff 26%,
    #46ccff 50%,
    #a06bff 78%,
    #ff6fd8 100%
  );
  filter: drop-shadow(0 0 14px rgba(103, 232, 255, 0.95))
    drop-shadow(0 0 42px rgba(139, 92, 246, 0.6));
  animation: dotPulse 3.8s ease-in-out infinite;
}

.glow {
  z-index: 1;
  color: rgba(103, 232, 255, 0.75);
  opacity: 0.5;
  filter: blur(24px);
  text-shadow:
    0 0 28px rgba(0, 217, 255, 0.95),
    0 0 72px rgba(139, 92, 246, 0.8),
    0 0 130px rgba(255, 78, 205, 0.65);
  transform: scale(1.025);
  animation: glowPulse 5.5s ease-in-out infinite;
  transition: opacity 0.45s ease, filter 0.45s ease;
}

.depth {
  z-index: 2;
  color: #0a0516;
  text-shadow:
    1px 1px 0 #0a0516,
    2px 2px 0 #0a0516,
    3px 3px 0 #0a0516,
    4px 4px 0 #0a0516,
    5px 5px 0 #0a0516,
    6px 6px 0 #0a0516,
    7px 7px 0 #0a0516,
    8px 8px 0 #0a0516,
    9px 9px 0 #0a0516,
    10px 10px 0 #0a0516,
    12px 14px 26px rgba(0, 0, 0, 0.9),
    0 0 90px rgba(110, 0, 210, 0.4);
  transform: translate3d(0, 10px, -1px);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.under-glow {
  position: absolute;
  bottom: -0.16em;
  left: 50%;
  z-index: -1;
  width: 82%;
  height: 0.48em;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(80, 225, 255, 0.38),
    rgba(155, 70, 255, 0.18) 42%,
    transparent 72%
  );
  filter: blur(32px);
  transform: translateX(-50%);
  opacity: 0.8;
}

/* ---------- Hover layers ------------------------------------------------ */

.sheen {
  z-index: 5;
  color: transparent;
  background-image: linear-gradient(
    112deg,
    transparent 28%,
    rgba(255, 255, 255, 0.95) 46%,
    rgba(255, 255, 255, 0.16) 53%,
    transparent 70%
  );
  background-size: 260% 100%;
  background-position: 160% 0;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0;
  mix-blend-mode: screen;
}

.glitch {
  z-index: 6;
  opacity: 0;
  mix-blend-mode: screen;
}

.glitch-a {
  color: #00eaff;
  text-shadow: 0 0 18px rgba(0, 234, 255, 0.9);
}

.glitch-b {
  color: #ff2bd6;
  text-shadow: 0 0 18px rgba(255, 43, 214, 0.9);
}

.hero.is-hover .glyph,
.hero:hover .glyph {
  background-image: linear-gradient(
    100deg,
    #ffffff 0%,
    #8ff8ff 14%,
    #5db4ff 30%,
    #b88cff 48%,
    #ff8ae2 64%,
    #ffffff 82%,
    #8ff8ff 100%
  );
  background-size: 320% 100%;
  animation: holoFlow 3.4s ease-in-out infinite alternate;
  animation-delay: calc(var(--i, 0) * -0.16s);
}

.hero.is-hover .dot .glyph,
.hero:hover .dot .glyph {
  background-image: radial-gradient(
    circle at 34% 32%,
    #ffffff 0 8%,
    #c8fbff 24%,
    #46ccff 48%,
    #a06bff 76%,
    #ff6fd8 100%
  );
  background-size: 100% 100%;
  animation: dotPulse 1.3s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(103, 232, 255, 1))
    drop-shadow(0 0 58px rgba(255, 78, 205, 0.78));
}

.hero.is-hover .glow,
.hero:hover .glow {
  animation: none;
  opacity: 0.88;
  filter: blur(18px);
}

.hero.is-hover .depth,
.hero:hover .depth {
  transform: translate3d(0, 19px, -1px);
}

.hero.is-hover .sheen,
.hero:hover .sheen {
  opacity: 1;
  animation: sheenSweep 1.55s linear infinite;
}

.hero.is-hover .glitch-a,
.hero:hover .glitch-a {
  animation: glitchA 0.62s steps(1, end) infinite;
}

.hero.is-hover .glitch-b,
.hero:hover .glitch-b {
  animation: glitchB 0.78s steps(1, end) infinite;
}

/* ---------- Tagline ----------------------------------------------------- */

.tagline {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(210, 235, 255, 0.58);
  text-shadow: 0 0 20px rgba(103, 232, 255, 0.25);
  animation: fadeUp 1.1s 1s both;
}

.tagline-line {
  display: block;
  width: clamp(24px, 6vw, 64px);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(120, 220, 255, 0.58));
}

.tagline-line:last-child {
  transform: scaleX(-1);
}

/* ---------- Particles + cursor ----------------------------------------- */

#fxScene {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 42px;
  height: 42px;
  pointer-events: none;
  border: 1px solid rgba(150, 230, 255, 0.45);
  border-radius: 50%;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  transition:
    opacity 0.25s ease,
    width 0.25s ease,
    height 0.25s ease,
    border-color 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
  will-change: transform;
}

.cursor::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px dashed rgba(103, 232, 255, 0.16);
  border-radius: 50%;
  animation: spin 9s linear infinite;
}

.cursor.visible {
  opacity: 1;
}

.cursor.is-hover {
  width: 68px;
  height: 68px;
  border-color: rgba(255, 90, 220, 0.7);
  background: rgba(255, 78, 205, 0.05);
  box-shadow:
    0 0 34px rgba(255, 78, 205, 0.18),
    inset 0 0 22px rgba(255, 78, 205, 0.08);
}

.cursor.is-down {
  width: 30px;
  height: 30px;
  background: rgba(103, 232, 255, 0.12);
}

.cursor-dot {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #fff, 0 0 22px rgba(103, 232, 255, 0.9);
  transform: translate(-50%, -50%);
}

.shockwave {
  position: fixed;
  z-index: 60;
  width: 42vmax;
  height: 42vmax;
  pointer-events: none;
  border: 1px solid rgba(103, 232, 255, 0.65);
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0);
  animation: shock 0.95s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.shockwave::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(255, 78, 205, 0.45);
  border-radius: 50%;
}

.shockwave.big {
  border-color: rgba(255, 78, 205, 0.8);
}

/* ---------- Keyframes --------------------------------------------------- */

@keyframes fallbackDrift {
  from {
    transform: translate3d(-2%, -1%, 0) scale(1.02);
  }
  to {
    transform: translate3d(2%, 1%, 0) scale(1.08);
  }
}

@keyframes gridScroll {
  to {
    background-position: 0 72px, 0 0;
  }
}

@keyframes grainShift {
  0% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-2%, 1.5%, 0);
  }
  100% {
    transform: translate3d(1.5%, -2%, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.28;
  }
}

@keyframes haloBreathe {
  0%,
  100% {
    opacity: 0.72;
    transform: translate(-50%, -50%) scale(0.94);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.06);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes orbitSpin {
  from {
    transform: translate(-50%, -50%) rotateX(72deg) rotateZ(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotateX(72deg) rotateZ(360deg);
  }
}

@keyframes letterIn {
  0% {
    opacity: 0;
    filter: blur(18px);
    transform: translate3d(0, 0.55em, 0) rotateX(-85deg) scale(0.8);
  }
  60% {
    opacity: 1;
    filter: blur(0);
  }
  100% {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}

@keyframes glowPulse {
  0%,
  100% {
    opacity: 0.44;
    filter: blur(22px);
  }
  50% {
    opacity: 0.66;
    filter: blur(31px);
  }
}

@keyframes dotPulse {
  0%,
  100% {
    opacity: 0.82;
  }
  50% {
    opacity: 1;
  }
}

@keyframes holoFlow {
  from {
    background-position: 0% 50%;
  }
  to {
    background-position: 100% 50%;
  }
}

@keyframes sheenSweep {
  from {
    background-position: 160% 0;
  }
  to {
    background-position: -80% 0;
  }
}

@keyframes glitchA {
  0% {
    opacity: 0.65;
    clip-path: inset(10% 0 60% 0);
    transform: translate3d(-7px, -1px, 0);
  }
  12% {
    opacity: 0.2;
    clip-path: inset(50% 0 20% 0);
    transform: translate3d(5px, 1px, 0);
  }
  24% {
    opacity: 0.8;
    clip-path: inset(70% 0 4% 0);
    transform: translate3d(-3px, 0, 0);
  }
  36% {
    opacity: 0.12;
    clip-path: inset(30% 0 45% 0);
    transform: translate3d(2px, -1px, 0);
  }
  48% {
    opacity: 0.7;
    clip-path: inset(4% 0 80% 0);
    transform: translate3d(-9px, 1px, 0);
  }
  60% {
    opacity: 0.16;
    clip-path: inset(60% 0 15% 0);
    transform: translate3d(6px, 0, 0);
  }
  72% {
    opacity: 0.55;
    clip-path: inset(85% 0 0 0);
    transform: translate3d(-2px, -1px, 0);
  }
  84% {
    opacity: 0.1;
    clip-path: inset(20% 0 55% 0);
    transform: translate3d(4px, 1px, 0);
  }
  100% {
    opacity: 0.65;
    clip-path: inset(10% 0 60% 0);
    transform: translate3d(-7px, -1px, 0);
  }
}

@keyframes glitchB {
  0% {
    opacity: 0.2;
    clip-path: inset(72% 0 8% 0);
    transform: translate3d(8px, 1px, 0);
  }
  14% {
    opacity: 0.75;
    clip-path: inset(18% 0 62% 0);
    transform: translate3d(-6px, -1px, 0);
  }
  28% {
    opacity: 0.25;
    clip-path: inset(44% 0 34% 0);
    transform: translate3d(4px, 1px, 0);
  }
  42% {
    opacity: 0.7;
    clip-path: inset(6% 0 76% 0);
    transform: translate3d(-3px, 0, 0);
  }
  56% {
    opacity: 0.15;
    clip-path: inset(64% 0 20% 0);
    transform: translate3d(6px, -1px, 0);
  }
  70% {
    opacity: 0.6;
    clip-path: inset(32% 0 48% 0);
    transform: translate3d(-8px, 1px, 0);
  }
  84% {
    opacity: 0.22;
    clip-path: inset(88% 0 0 0);
    transform: translate3d(3px, 0, 0);
  }
  100% {
    opacity: 0.2;
    clip-path: inset(72% 0 8% 0);
    transform: translate3d(8px, 1px, 0);
  }
}

@keyframes shock {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes shake {
  10%,
  90% {
    transform: translate3d(-1px, 0, 0);
  }
  20%,
  80% {
    transform: translate3d(2px, 0, 0);
  }
  30%,
  50%,
  70% {
    transform: translate3d(-3px, 0, 0);
  }
  40%,
  60% {
    transform: translate3d(3px, 0, 0);
  }
}

.stage.is-shaking {
  animation: shake 0.38s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

/* ---------- Responsive -------------------------------------------------- */

@media (max-width: 720px) {
  .hud {
    padding: 20px 18px;
    font-size: 8px;
    letter-spacing: 0.14em;
  }

  .hud-left .dim,
  .hud-bottom .hud-right {
    display: none;
  }

  .stage {
    gap: 28px;
    padding: 84px 14px 76px;
  }

  .hero {
    font-size: clamp(3.3rem, 17vw, 7rem);
  }

  .tagline {
    gap: 10px;
    font-size: 8px;
    letter-spacing: 0.24em;
  }

  .orbit {
    width: 125vw;
  }

  .hint {
    gap: 7px;
  }

  .hint .key {
    padding: 2px 4px;
  }
}

@media (max-width: 420px) {
  .hint {
    font-size: 7px;
  }

  .hud-right #serverTime {
    font-size: 8px;
  }
}

@media (hover: hover) and (pointer: fine) {
  body,
  a,
  button {
    cursor: none;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .grid,
  .grain,
  body::after {
    display: none;
  }

  .glitch {
    display: none;
  }

  .cursor {
    display: none;
  }

  body {
    cursor: auto;
  }
}
