:root {
  --bg: #090a12;
  --bg-soft: #10121d;
  --panel: rgba(18, 20, 32, 0.78);
  --panel-solid: #151724;
  --text: #f4f3fb;
  --muted: #a7a7b7;
  --line: rgba(255, 255, 255, 0.11);
  --violet: #a98bff;
  --violet-bright: #cfc0ff;
  --cyan: #73e8e2;
  --lime: #d1f47b;
  --pink: #ff9bcf;
  --shell: min(1180px, calc(100vw - 40px));
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -20%, rgba(139, 105, 255, 0.17), transparent 38%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--violet);
  color: #0b0913;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-160%);
  border-radius: 10px;
  background: #fff;
  color: #111;
  padding: 10px 14px;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 420px;
  aspect-ratio: 1;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.11;
  pointer-events: none;
}

.ambient-one {
  top: 510px;
  left: -180px;
  background: var(--cyan);
}

.ambient-two {
  top: 1220px;
  right: -220px;
  background: var(--pink);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(9, 10, 18, 0.72);
  backdrop-filter: blur(18px) saturate(150%);
}

.header-inner {
  min-height: 80px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 0 18px rgba(255, 255, 255, 0.035);
  transform: rotate(-4deg);
}

.brand-mark span {
  border-radius: 3px;
  background: var(--violet);
}

.brand-mark span:nth-child(2) { background: var(--cyan); }
.brand-mark span:nth-child(3) { background: var(--lime); }
.brand-mark span:nth-child(4) { background: var(--pink); }

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-copy strong {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
}

.desktop-nav a {
  border-radius: 999px;
  padding: 7px 15px;
  color: #c7c6d2;
  font-size: 13px;
  transition: background 160ms ease, color 160ms ease;
}

.desktop-nav a:hover,
.desktop-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  outline: none;
}

.header-status {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #c9c8d5;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(209, 244, 123, 0.09), 0 0 16px rgba(209, 244, 123, 0.55);
  animation: pulse 2.6s ease-in-out infinite;
}

.hero {
  min-height: 850px;
  padding-top: 164px;
  padding-bottom: 110px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(48px, 8vw, 112px);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--violet-bright);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.eyebrow span:first-child {
  display: inline-block;
  margin-right: 7px;
  animation: spinSlow 9s linear infinite;
}

.hero h1 {
  max-width: 690px;
  margin: 0;
  font-size: clamp(52px, 6.3vw, 88px);
  line-height: 1.03;
  letter-spacing: -0.065em;
  white-space: pre-line;
  word-break: keep-all;
  text-wrap: balance;
}

.hero h1::after {
  content: "";
  display: inline-block;
  width: 0.16em;
  height: 0.16em;
  margin-left: 0.08em;
  border-radius: 50%;
  background: var(--violet);
  box-shadow: 0 0 30px rgba(169, 139, 255, 0.8);
}

.hero-description {
  max-width: 620px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 19px;
  font-size: 14px;
  font-weight: 750;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.button svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  border-color: rgba(169, 139, 255, 0.45);
  background: linear-gradient(135deg, #c7b9ff 0%, #9f83ff 100%);
  color: #11101b;
  box-shadow: 0 14px 36px rgba(132, 100, 255, 0.23);
}

.button-primary:hover {
  box-shadow: 0 18px 46px rgba(132, 100, 255, 0.35);
}

.button-ghost {
  background: rgba(255, 255, 255, 0.035);
  color: #d9d8e2;
}

.button-ghost:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.065);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 620px;
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  padding-right: 18px;
}

.hero-facts div + div {
  padding-left: 20px;
  border-left: 1px solid var(--line);
}

.hero-facts dt {
  color: #e7e5ef;
  font-size: 12px;
  font-weight: 750;
}

.hero-facts dd {
  margin: 4px 0 0;
  color: #7f7f90;
  font-size: 11px;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 540px;
  perspective: 1200px;
}

.arcade-card {
  position: relative;
  width: min(100%, 430px);
  padding: 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(38, 39, 56, 0.96), rgba(17, 18, 29, 0.98));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: rotateY(-7deg) rotateX(4deg) rotateZ(1deg);
  animation: arcadeFloat 7s ease-in-out infinite;
}

.arcade-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: -1;
  border-radius: inherit;
  background: linear-gradient(130deg, rgba(169, 139, 255, 0.5), transparent 32%, transparent 67%, rgba(115, 232, 226, 0.25));
  filter: blur(14px);
  opacity: 0.45;
}

.arcade-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 8px 10px;
}

.arcade-topbar > span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #5a5a69;
}

.arcade-topbar > span:first-child { background: var(--pink); }
.arcade-topbar > span:nth-child(2) { background: var(--lime); }
.arcade-topbar > span:nth-child(3) { background: var(--cyan); }

.arcade-topbar p {
  margin: 0 0 0 auto;
  color: #7f7e90;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0.16em;
}

.arcade-screen {
  position: relative;
  aspect-ratio: 1.12;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 23px;
  background:
    radial-gradient(circle at 70% 25%, rgba(115, 232, 226, 0.18), transparent 26%),
    radial-gradient(circle at 23% 74%, rgba(169, 139, 255, 0.28), transparent 34%),
    #0b0c14;
  box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.45);
}

.screen-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

.screen-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(to bottom, transparent 0 4px, rgba(255, 255, 255, 0.018) 4px 5px);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
}

.orbit::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 14px rgba(115, 232, 226, 0.9);
}

.orbit-a {
  width: 250px;
  height: 250px;
  top: 34px;
  left: 63px;
  transform: rotate(25deg);
  animation: orbitRotate 11s linear infinite;
}

.orbit-a::after { top: 22px; right: 35px; }

.orbit-b {
  width: 160px;
  height: 160px;
  top: 80px;
  left: 107px;
  transform: rotate(-18deg);
  border-color: rgba(169, 139, 255, 0.22);
  animation: orbitRotate 8s linear infinite reverse;
}

.orbit-b::after {
  left: 8px;
  bottom: 35px;
  background: var(--violet);
  box-shadow: 0 0 14px rgba(169, 139, 255, 0.9);
}

.pixel-creature {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 112px;
  height: 100px;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.36));
  animation: creatureBob 3.2s ease-in-out infinite;
}

.pixel-creature .face {
  position: absolute;
  inset: 17px 8px 0;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 35% 35% 44% 44%;
  background: linear-gradient(145deg, #d7ccff, #9b80ff);
  box-shadow: inset 0 -12px 24px rgba(64, 34, 143, 0.3), 0 0 30px rgba(169, 139, 255, 0.25);
}

.pixel-creature .ear {
  position: absolute;
  top: 5px;
  width: 30px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: #b6a2ff;
  transform: rotate(45deg);
  border-radius: 8px 14px 5px 14px;
}

.pixel-creature .ear-left { left: 11px; }
.pixel-creature .ear-right { right: 11px; transform: rotate(-45deg); }

.pixel-creature i {
  position: absolute;
  top: 34px;
  width: 11px;
  height: 15px;
  border-radius: 50%;
  background: #151322;
  box-shadow: inset 2px 2px 0 rgba(255, 255, 255, 0.35);
}

.pixel-creature i:first-child { left: 25px; }
.pixel-creature i:nth-child(2) { right: 25px; }

.pixel-creature b {
  position: absolute;
  left: 50%;
  top: 56px;
  width: 15px;
  height: 7px;
  transform: translateX(-50%);
  border-bottom: 3px solid #4b356e;
  border-radius: 50%;
}

.screen-message {
  position: absolute;
  left: 20px;
  bottom: 18px;
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.screen-chip {
  position: absolute;
  padding: 5px 8px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  background: rgba(11, 12, 20, 0.58);
  color: #c8c7d4;
  backdrop-filter: blur(10px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.chip-one { top: 19px; left: 18px; }
.chip-two { top: 19px; right: 18px; }

.arcade-controls {
  min-height: 114px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  padding: 18px 25px 5px;
}

.dpad {
  position: relative;
  width: 68px;
  height: 68px;
}

.dpad span {
  position: absolute;
  inset: 22px 0;
  border-radius: 8px;
  background: #0b0c13;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 16px rgba(0, 0, 0, 0.22);
}

.dpad span:last-child { transform: rotate(90deg); }

.control-copy {
  display: flex;
  gap: 5px;
}

.control-copy i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #5d5d6b;
}

.buttons {
  justify-self: end;
  display: flex;
  gap: 12px;
  transform: rotate(-12deg);
}

.buttons b {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #c79cff, #8c6ee9);
  color: rgba(20, 15, 34, 0.75);
  font-size: 12px;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.35), 0 8px 15px rgba(0, 0, 0, 0.3);
}

.buttons b:last-child {
  background: linear-gradient(145deg, #8ff2ed, #58c9c4);
}

.floating-label {
  position: absolute;
  z-index: 2;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(16, 18, 29, 0.8);
  color: #c6c5d2;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 8px;
  letter-spacing: 0.14em;
}

.label-one { top: 78px; right: -8px; transform: rotate(5deg); }
.label-two { bottom: 64px; left: -5px; transform: rotate(-6deg); }

.games-section {
  padding: 104px 0 122px;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.016);
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  align-items: end;
  gap: 40px;
  margin-bottom: 42px;
}

.section-heading h2,
.about-intro h2,
.updates-layout h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.game-card {
  --accent: var(--violet);
  min-height: 390px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  background:
    radial-gradient(circle at 18% 5%, color-mix(in srgb, var(--accent) 20%, transparent), transparent 30%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 200ms ease, border-color 200ms ease, background 200ms ease;
}

.game-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  bottom: -90px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 50%;
  box-shadow: 0 0 0 28px color-mix(in srgb, var(--accent) 3%, transparent), 0 0 0 56px color-mix(in srgb, var(--accent) 2%, transparent);
}

.game-card:hover {
  transform: translateY(-7px);
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background:
    radial-gradient(circle at 18% 5%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 34%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
}

.game-card.is-available { cursor: pointer; }
.game-card.accent-cyan { --accent: var(--cyan); }
.game-card.accent-lime { --accent: var(--lime); }
.game-card.accent-pink { --accent: var(--pink); }

.game-card-top,
.game-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1;
}

.game-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--accent) 34%, transparent);
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 9%, rgba(255, 255, 255, 0.02));
}

.game-icon svg {
  width: 29px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.game-icon svg .secondary {
  stroke: rgba(255, 255, 255, 0.82);
}

.game-number {
  color: #5f5e6d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.game-card-copy {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 70px 0 35px;
}

.game-card-copy > p {
  margin: 0 0 9px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.game-card-copy h3 {
  margin: 0;
  font-size: 26px;
  letter-spacing: -0.035em;
}

.game-card-copy > span {
  display: block;
  margin-top: 12px;
  color: #8f8e9e;
  font-size: 13px;
  line-height: 1.75;
}

.game-card-bottom {
  padding-top: 17px;
  border-top: 1px solid var(--line);
  color: #8b8a99;
  font-size: 11px;
}

.game-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.game-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 10px color-mix(in srgb, var(--accent) 70%, transparent);
}

.game-action {
  color: #b7b6c3;
}

.about-section {
  padding: 122px 0;
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(50px, 8vw, 112px);
  padding: clamp(32px, 5vw, 68px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(125deg, rgba(169, 139, 255, 0.08), transparent 32%),
    rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.about-intro > p:last-child {
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.feature-list {
  display: flex;
  flex-direction: column;
}

.feature-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 23px 0;
  border-top: 1px solid var(--line);
}

.feature-list article:last-child {
  border-bottom: 1px solid var(--line);
}

.feature-list article > span {
  color: var(--violet);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
}

.feature-list h3 {
  margin: -3px 0 6px;
  font-size: 17px;
}

.feature-list p {
  margin: 0;
  color: #8e8d9c;
  font-size: 13px;
  line-height: 1.75;
}

.updates-section {
  padding: 116px 0 128px;
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.016), transparent);
}

.updates-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(55px, 9vw, 130px);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.timeline li:last-child {
  border-bottom: 1px solid var(--line);
}

.timeline li > span {
  color: #676675;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
}

.timeline strong {
  display: block;
  margin-top: -4px;
  font-size: 16px;
}

.timeline p {
  margin: 6px 0 0;
  color: #858493;
  font-size: 12px;
}

.timeline em {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  color: #777685;
  font-size: 9px;
  font-style: normal;
}

.timeline .is-current > span,
.timeline .is-current em {
  color: var(--lime);
}

.timeline .is-current em {
  border-color: rgba(209, 244, 123, 0.24);
  background: rgba(209, 244, 123, 0.06);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #080910;
}

.footer-inner {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner strong {
  font-size: 15px;
}

.footer-inner p {
  margin: 5px 0 0;
  color: #737280;
  font-size: 10px;
  letter-spacing: 0.08em;
}

.noscript {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 100;
  border: 1px solid #d7b966;
  border-radius: 12px;
  background: #2d2718;
  padding: 12px 16px;
  color: #fff1c8;
  font-size: 13px;
  text-align: center;
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.78); opacity: 0.7; }
}

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

@keyframes arcadeFloat {
  0%, 100% { transform: rotateY(-7deg) rotateX(4deg) rotateZ(1deg) translateY(0); }
  50% { transform: rotateY(-5deg) rotateX(3deg) rotateZ(0deg) translateY(-12px); }
}

@keyframes orbitRotate {
  to { transform: rotate(385deg); }
}

@keyframes creatureBob {
  0%, 100% { transform: translate(-50%, -50%) translateY(0) rotate(-1deg); }
  50% { transform: translate(-50%, -50%) translateY(-7px) rotate(1deg); }
}

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 150px;
  }
  .hero-copy { max-width: 760px; }
  .hero-art { min-height: 570px; }
  .arcade-card { width: min(78vw, 430px); }
  .label-one { right: 8vw; }
  .label-two { left: 8vw; }
  .game-grid { grid-template-columns: repeat(2, 1fr); }
  .game-card:last-child { grid-column: 1 / -1; min-height: 330px; }
  .about-panel { grid-template-columns: 1fr; }
  .updates-layout { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  :root { --shell: min(100% - 28px, 1180px); }
  html { scroll-padding-top: 80px; }
  .header-inner { min-height: 70px; }
  .brand-copy small { display: none; }
  .header-status span:last-child { display: none; }
  .hero { padding-top: 124px; padding-bottom: 78px; gap: 28px; }
  .hero h1 { font-size: clamp(45px, 14vw, 66px); }
  .hero-description { margin-top: 22px; font-size: 15px; }
  .hero-actions { margin-top: 28px; }
  .button { width: 100%; }
  .hero-facts { grid-template-columns: 1fr; gap: 14px; margin-top: 34px; }
  .hero-facts div { padding: 0; }
  .hero-facts div + div { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-art { min-height: 450px; }
  .arcade-card { width: min(94vw, 390px); border-radius: 28px; padding: 12px; }
  .arcade-controls { min-height: 96px; padding-inline: 18px; }
  .dpad { width: 56px; height: 56px; }
  .dpad span { inset: 18px 0; }
  .buttons b { width: 38px; height: 38px; }
  .floating-label { display: none; }
  .games-section, .about-section, .updates-section { padding-block: 82px; }
  .section-heading { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card, .game-card:last-child { grid-column: auto; min-height: 330px; }
  .about-panel { padding: 28px 22px; border-radius: 22px; }
  .timeline li { grid-template-columns: 30px 1fr; }
  .timeline em { grid-column: 2; width: max-content; margin-top: -8px; }
  .footer-inner { min-height: 130px; align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}
