:root {
  color-scheme: dark;
  --bg: #04030a;
  --bg-deep: #020107;
  --surface: rgba(12, 11, 27, 0.86);
  --surface-strong: #0c0b19;
  --surface-soft: rgba(20, 18, 43, 0.76);
  --line: rgba(203, 194, 255, 0.13);
  --line-bright: rgba(255, 77, 190, 0.34);
  --text: #f9f7ff;
  --muted: #aaa6b9;
  --pink: #ff2d93;
  --pink-light: #ff5ac8;
  --violet: #9b2de1;
  --cyan: #22c7ee;
  --green: #20e58a;
  --amber: #ffb129;
  --container: 1480px;
  --header-height: 96px;
  --font: "Segoe UI Variable Text", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  overflow-x: clip;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 68% 19%, rgba(152, 20, 141, 0.12), transparent 25rem),
    linear-gradient(180deg, #030208 0%, #070410 52%, #030208 100%);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

button,
input {
  font: inherit;
}

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

button {
  color: inherit;
}

.site-noise {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.03;
  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='.65'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 64px), var(--container));
  height: var(--header-height);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 3px;
  width: max-content;
  font-size: 29px;
  font-weight: 700;
  letter-spacing: -1.4px;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(255, 45, 147, 0.32));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  position: relative;
  padding: 9px 1px 12px;
  color: #d4d0dc;
  font-weight: 600;
  transition: color 180ms ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #d72ee8, #ff4eaf);
  box-shadow: 0 0 10px rgba(244, 53, 213, 0.8);
  opacity: 0;
  transform: scaleX(0.45);
  transition: 180ms ease;
}

.main-nav a:hover,
.main-nav a.is-active {
  color: #fff;
}

.main-nav a.is-active::after,
.main-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 24px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 6px;
  border: 0;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
}

.language-switch svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.menu-toggle {
  display: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  min-height: 52px;
  padding: 0 25px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 650;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button svg {
  width: 24px;
  height: 24px;
}

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

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
.language-switch:focus-visible,
.main-nav a:focus-visible,
.dialog-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 4px;
}

.button--download,
.button--primary {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 129, 218, 0.72);
  background: linear-gradient(135deg, #c21ee0 0%, #f11994 50%, #ff267c 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.25),
    0 0 0 1px rgba(255, 50, 157, 0.11),
    0 10px 30px rgba(245, 25, 154, 0.3),
    0 0 18px rgba(243, 46, 197, 0.33);
}

.button--download::before,
.button--primary::before {
  content: "";
  position: absolute;
  top: -60%;
  left: -55%;
  width: 42%;
  height: 220%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: rotate(18deg);
  transition: left 520ms ease;
  animation: button-sheen 4.8s 1.2s ease-in-out infinite;
}

.button--download:hover::before,
.button--primary:hover::before {
  left: 120%;
}

.button--download {
  min-width: 142px;
  min-height: 48px;
}

.button--secondary {
  border-color: rgba(220, 211, 255, 0.25);
  background: rgba(6, 5, 16, 0.58);
  color: #f4f1fb;
  backdrop-filter: blur(14px);
}

.button--secondary:hover {
  border-color: rgba(255, 77, 190, 0.58);
  background: rgba(24, 12, 38, 0.8);
  box-shadow: 0 0 24px rgba(255, 45, 147, 0.12);
}

.button--secondary svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}

.button--secondary svg path {
  fill: currentColor;
  stroke: none;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(410px, 0.84fr) minmax(620px, 1.16fr);
  grid-template-areas: "copy visual";
  align-items: center;
  min-height: 100svh;
  padding: calc(var(--header-height) + 34px) max(32px, calc((100vw - var(--container)) / 2)) 56px;
  overflow: clip;
  isolation: isolate;
}

.hero-backdrop {
  --backdrop-x: 0px;
  --backdrop-y: 0px;
  position: absolute;
  inset: -3%;
  z-index: -6;
  pointer-events: none;
  background-image: url("assets/backgrounds/hero-energy.webp");
  background-position: center;
  background-size: cover;
  filter: saturate(1.08) contrast(1.04);
  transform: translate3d(var(--backdrop-x), var(--backdrop-y), 0) scale(1.035);
  animation: backdrop-breathe 8s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-sparks {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -4;
  background:
    linear-gradient(90deg, rgba(3, 2, 9, 0.96) 0%, rgba(3, 2, 9, 0.77) 28%, rgba(3, 2, 9, 0.14) 58%, rgba(3, 2, 9, 0.24) 100%),
    linear-gradient(180deg, rgba(3, 2, 9, 0.2) 0%, transparent 58%, rgba(3, 2, 9, 0.6) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  right: -7%;
  bottom: -10%;
  z-index: -5;
  width: 70%;
  height: 45%;
  background: radial-gradient(ellipse, rgba(224, 23, 186, 0.3), transparent 66%);
  filter: blur(34px);
  animation: ambient-glow 5.5s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 5;
  grid-area: copy;
  padding: 24px 0 30px;
}

.eyebrow {
  margin: 0 0 20px;
  color: #ff65c6;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-copy .eyebrow {
  opacity: 0;
  transform: translateY(12px);
  animation: copy-in 650ms 120ms ease forwards;
}

.hero h1 {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-size: clamp(50px, 4.2vw, 78px);
  font-weight: 720;
  line-height: 0.99;
  letter-spacing: -0.048em;
}

.hero h1 span,
.hero h1 strong {
  display: block;
  opacity: 0;
  transform: translateY(24px);
  animation: copy-in 720ms ease forwards;
}

.hero h1 span {
  animation-delay: 220ms;
}

.hero h1 strong {
  margin-top: 15px;
  background: linear-gradient(90deg, #d748e4 0%, #ff3ea7 45%, #f72b82 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 720;
  animation-delay: 300ms;
}

.hero-lead {
  margin: 27px 0 0;
  color: #b8b3c1;
  font-size: clamp(20px, 1.45vw, 27px);
  font-weight: 400;
  opacity: 0;
  transform: translateY(18px);
  animation: copy-in 650ms 390ms ease forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 42px;
  opacity: 0;
  transform: translateY(18px);
  animation: copy-in 650ms 480ms ease forwards;
}

.hero-actions .button {
  min-height: 61px;
  padding-inline: 29px;
  border-radius: 13px;
  font-size: 17px;
}

.ecosystem-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 22px;
  margin-top: 36px;
  color: #aaa5b5;
  font-size: 14px;
  opacity: 0;
  animation: copy-in 650ms 580ms ease forwards;
}

.ecosystem-stats > span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.ecosystem-stats b {
  color: #f3f0f8;
  font-weight: 600;
}

.dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 9px currentColor;
}

.dot--green { color: var(--green); background: currentColor; }
.dot--cyan { color: var(--cyan); background: currentColor; }
.dot--violet { color: #ad3bf0; background: currentColor; }

.hero-visual {
  position: relative;
  z-index: 2;
  grid-area: visual;
  width: 100%;
  min-height: min(680px, calc(100svh - 120px));
  perspective: 1400px;
  transform: translate3d(var(--visual-x, 0px), var(--visual-y, 0px), 0);
  transition: transform 180ms ease-out;
}

.energy-field {
  position: absolute;
  top: 50%;
  left: 42%;
  z-index: -1;
  width: min(1120px, 88vw);
  height: min(780px, 82vh);
  overflow: visible;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-3deg);
  filter: saturate(1.18) contrast(1.05);
  animation: energy-breathe 6s ease-in-out infinite;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 48%;
  z-index: -2;
  width: min(900px, 72vw);
  height: min(590px, 64vh);
  border-radius: 50%;
  background:
    radial-gradient(ellipse, rgba(255, 30, 177, 0.2) 0%, rgba(188, 26, 230, 0.16) 32%, rgba(71, 16, 111, 0.08) 54%, transparent 72%);
  filter: blur(24px);
  transform: translate(-50%, -50%);
  animation: haze-pulse 4.6s ease-in-out infinite;
}

.energy-orbits ellipse {
  stroke-dasharray: 205 42 112 37 24 78 160 52;
  stroke-dashoffset: 0;
}

.energy-orbits--sharp ellipse {
  animation: orbit-flow 13s linear infinite;
}

.energy-orbits--sharp ellipse:nth-child(2n) {
  animation-direction: reverse;
  animation-duration: 17s;
}

.energy-orbits--sharp ellipse:nth-child(3n) {
  animation-duration: 9s;
  animation-delay: -4s;
}

.energy-orbits--soft {
  animation: orbit-pulse 5.2s ease-in-out infinite;
}

.energy-silk {
  animation: silk-drift 8s ease-in-out infinite;
}

.energy-silk path:nth-child(2n) {
  animation: silk-flicker 4.5s -1.5s ease-in-out infinite;
}

.energy-silk path:nth-child(3n) {
  animation-duration: 6s;
  animation-delay: -3s;
}

.energy-flow path {
  stroke-dasharray: 176 34 14 48 85 62;
  stroke-dashoffset: 0;
}

.energy-flow--front path {
  animation: energy-stream 8s linear infinite;
}

.energy-flow--front path:nth-child(2) { animation-duration: 10.5s; animation-direction: reverse; }
.energy-flow--front path:nth-child(3) { animation-duration: 7s; animation-delay: -2.5s; }
.energy-flow--front path:nth-child(4) { animation-duration: 12s; animation-direction: reverse; }

.energy-flow--back path {
  stroke-dasharray: 255 42 25 74;
  animation: energy-stream-back 15s linear infinite;
}

.energy-flow--back path:nth-child(even) {
  animation-direction: reverse;
  animation-duration: 18s;
}

.energy-haze {
  animation: haze-pulse 4.6s ease-in-out infinite;
}

.energy-fragments circle {
  transform-box: fill-box;
  transform-origin: center;
  animation: energy-particle 2.8s ease-in-out infinite;
}

.energy-fragments circle:nth-child(2n) { animation-delay: -1.1s; }
.energy-fragments circle:nth-child(3n) { animation-delay: -2s; }

.portal {
  position: absolute;
  top: 50%;
  left: 46%;
  z-index: -1;
  width: min(830px, 68vw);
  aspect-ratio: 1.42;
  transform: translate(-50%, -48%) rotate(-4deg);
  filter: drop-shadow(0 0 36px rgba(239, 20, 187, 0.4));
}

.portal::before,
.portal::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.portal::before {
  inset: 10% 1%;
  border: 2px solid rgba(255, 50, 207, 0.45);
  background:
    repeating-radial-gradient(ellipse at center, transparent 0 13px, rgba(255, 44, 195, 0.14) 14px 16px, transparent 18px 30px),
    radial-gradient(ellipse, transparent 38%, rgba(255, 33, 168, 0.24) 54%, transparent 72%);
  box-shadow:
    inset 0 0 38px rgba(255, 45, 190, 0.3),
    0 0 45px rgba(255, 23, 184, 0.34);
  transform: rotate(-7deg);
  animation: portal-breathe 4s ease-in-out infinite;
}

.portal::after {
  inset: 17% 9%;
  border: 1px solid rgba(255, 118, 232, 0.6);
  box-shadow:
    0 0 10px #ff42cf,
    0 0 34px rgba(220, 29, 249, 0.75),
    inset 0 0 28px rgba(255, 44, 171, 0.38);
  transform: rotate(5deg);
}

.portal-ring {
  position: absolute;
  inset: 8% 0;
  border-radius: 50%;
  background: conic-gradient(from 50deg, transparent 0 5%, rgba(255, 53, 192, 0.9) 8%, transparent 12% 22%, rgba(190, 28, 237, 0.7) 26%, transparent 31% 54%, rgba(255, 25, 142, 0.9) 61%, transparent 67% 82%, rgba(255, 118, 232, 0.76) 88%, transparent 94%);
  -webkit-mask: radial-gradient(ellipse, transparent 58%, #000 59% 64%, transparent 65%);
  mask: radial-gradient(ellipse, transparent 58%, #000 59% 64%, transparent 65%);
  animation: portal-spin 14s linear infinite;
}

.portal-ring--two {
  inset: 15% 8%;
  opacity: 0.75;
  animation-duration: 19s;
  animation-direction: reverse;
}

.portal-core {
  position: absolute;
  inset: 22% 15%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(207, 14, 199, 0.19), rgba(34, 7, 55, 0.06) 45%, transparent 70%);
  filter: blur(14px);
}

.launcher-window {
  position: absolute;
  top: 50%;
  left: 47%;
  z-index: 2;
  width: min(780px, 57vw);
  min-width: 650px;
  aspect-ratio: 1.58;
  overflow: hidden;
  border: 1px solid rgba(244, 107, 225, 0.54);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(14, 12, 29, 0.98), rgba(6, 6, 17, 0.98));
  box-shadow:
    0 38px 90px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.05) inset,
    0 0 46px rgba(251, 29, 178, 0.24),
    0 0 105px rgba(214, 32, 234, 0.16);
  transform: translate(-50%, -46%) rotateX(1.5deg) rotateY(-2deg);
  transform-style: preserve-3d;
  opacity: 1;
  animation: launcher-float 6s 1.2s ease-in-out infinite;
}

.launcher-window::after {
  content: "";
  position: absolute;
  top: -45%;
  bottom: -45%;
  left: -38%;
  z-index: 8;
  width: 20%;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 117, 221, 0.12), rgba(255, 255, 255, 0.09), transparent);
  filter: blur(9px);
  transform: rotate(13deg);
  animation: launcher-sheen 7s 1.5s ease-in-out infinite;
}

.launcher-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 11%;
  padding: 0 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.launcher-brand {
  display: flex;
  align-items: center;
  gap: 1px;
  font-size: clamp(11px, 0.85vw, 14px);
  font-weight: 650;
}

.launcher-brand img {
  width: 28px;
  height: 28px;
}

.window-controls {
  display: flex;
  align-items: center;
  gap: 13px;
}

.window-controls i {
  display: block;
  width: 9px;
  height: 1px;
  background: rgba(255, 255, 255, 0.7);
}

.window-controls i:nth-child(2) {
  width: 8px;
  height: 8px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: transparent;
}

.window-controls i:nth-child(3) {
  width: 9px;
  transform: rotate(45deg);
}

.launcher-body {
  display: grid;
  grid-template-columns: 22% 78%;
  height: 89%;
}

.launcher-sidebar {
  position: relative;
  padding: 18px 14px;
  border-right: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(7, 7, 18, 0.56);
}

.launcher-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 11px;
  border-radius: 9px;
  color: #9a96a8;
  font-size: clamp(9px, 0.72vw, 12px);
}

.launcher-nav-item svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.launcher-nav-item:first-child svg path:first-child {
  fill: none;
}

.launcher-nav-item.is-active {
  background: linear-gradient(90deg, rgba(167, 24, 181, 0.72), rgba(97, 22, 112, 0.43));
  box-shadow: inset 0 0 0 1px rgba(244, 53, 206, 0.2);
  color: white;
}

.server-status {
  position: absolute;
  right: 14px;
  bottom: 17px;
  left: 14px;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.025);
  color: #a6a2ae;
}

.server-status small {
  display: block;
  margin-bottom: 7px;
  font-size: clamp(7px, 0.65vw, 10px);
}

.server-status span {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #40dc8b;
  font-size: clamp(7px, 0.62vw, 10px);
}

.server-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22e88c;
  box-shadow: 0 0 7px #22e88c;
}

.launcher-content {
  padding: 18px 20px 20px;
  overflow: hidden;
}

.launcher-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
  margin-bottom: 12px;
}

.launcher-heading h2 {
  margin: 0;
  font-size: clamp(13px, 1.15vw, 20px);
  font-weight: 650;
}

.launcher-profile {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #beb9c8;
  font-size: 8px;
}

.launcher-profile > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.launcher-profile b { color: #fff; }
.launcher-profile small { color: #45df84; font-size: 6px; }

.profile-k {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 1px solid var(--pink);
  border-radius: 50%;
  color: var(--pink);
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
}

.launcher-games {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr;
  gap: 10px;
  height: calc(100% - 46px);
}

.launcher-card {
  grid-column: span 2;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: linear-gradient(160deg, rgba(24, 22, 44, 0.96), rgba(11, 10, 23, 0.96));
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.18);
}

.launcher-card--art {
  display: grid;
  grid-template-rows: 49% 51%;
}

.launcher-card-art,
.game-card-media {
  position: relative;
  background-image: linear-gradient(180deg, transparent 48%, rgba(6, 5, 15, 0.85)), var(--game-art);
  background-position: center;
  background-size: cover;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.launcher-card-art .status-badge {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 4px 6px;
  font-size: clamp(5px, 0.45vw, 7px);
}

.status-badge--available {
  background: #17e58b;
  color: #05160f;
  box-shadow: 0 0 14px rgba(25, 235, 142, 0.25);
}

.status-badge--development {
  background: linear-gradient(100deg, #9129c7, #d72bc4);
  color: #fff;
  box-shadow: 0 0 14px rgba(208, 42, 207, 0.25);
}

.launcher-card-body {
  position: relative;
  padding: 9px 10px;
}

.launcher-card-body h3 {
  margin: 0;
  overflow: hidden;
  color: #f8f5fd;
  font-size: clamp(8px, 0.68vw, 12px);
  font-weight: 650;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.launcher-card-body p {
  margin: 4px 0 0;
  overflow: hidden;
  color: #8f8a9e;
  font-size: clamp(6px, 0.48vw, 8px);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.launcher-card-body button {
  position: absolute;
  right: 10px;
  bottom: 8px;
  left: 10px;
  height: 24px;
  border: 0;
  border-radius: 6px;
  background: linear-gradient(100deg, #d221e0, #f91b88);
  color: white;
  font-size: clamp(6px, 0.5vw, 8px);
  font-weight: 650;
}

.launcher-card--dev {
  display: grid;
  grid-template-rows: 53% 47%;
  color: #8f899d;
}

.launcher-card--wide {
  grid-column: span 3;
  grid-template-columns: 34% 66%;
  grid-template-rows: none;
}

.launcher-card--wide-art .launcher-card-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(180deg, transparent 34%, rgba(7, 6, 18, 0.35) 58%, rgba(7, 6, 18, 0.98) 100%), var(--game-art);
}

.launcher-card--wide-art {
  position: relative;
  display: block;
}

.launcher-card--wide-art .launcher-card-body {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  min-height: 48%;
  padding: 13px 14px 10px;
  background: linear-gradient(180deg, transparent, rgba(7, 6, 18, 0.92) 48%);
}

.launcher-card--wide-art .launcher-card-body h3 {
  font-size: clamp(8px, 0.74vw, 12px);
}

.launcher-card-placeholder,
.development-art {
  position: relative;
  display: grid;
  overflow: hidden;
  place-items: center;
  background:
    radial-gradient(circle at 70% 30%, rgba(195, 43, 239, 0.2), transparent 42%),
    linear-gradient(140deg, #161329, #0c0a17);
}

.launcher-card-placeholder::before,
.development-art::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(120deg, transparent 0 18px, rgba(255, 255, 255, 0.025) 19px 20px);
}

.launcher-card-placeholder span,
.development-art > span {
  position: relative;
  color: rgba(255, 255, 255, 0.2);
  font-size: clamp(18px, 2vw, 34px);
  font-weight: 750;
  letter-spacing: -0.08em;
  text-shadow: 0 0 24px rgba(220, 45, 237, 0.22);
}

.placeholder--mountain {
  background:
    linear-gradient(150deg, transparent 0 46%, rgba(100, 78, 144, 0.22) 47% 52%, transparent 53%),
    radial-gradient(circle at 74% 21%, rgba(62, 162, 255, 0.18), transparent 28%),
    linear-gradient(145deg, #13172b, #0a0917);
}

.placeholder--mutation {
  background:
    radial-gradient(circle at 55% 48%, rgba(188, 37, 238, 0.34), transparent 18%),
    repeating-radial-gradient(circle at 55% 48%, transparent 0 18px, rgba(129, 50, 178, 0.08) 20px 21px),
    linear-gradient(140deg, #191022, #090812);
}

.placeholder--snake {
  background:
    radial-gradient(ellipse at 60% 50%, transparent 0 18%, rgba(27, 225, 152, 0.12) 19% 24%, transparent 25% 36%, rgba(27, 225, 152, 0.06) 37% 41%, transparent 42%),
    linear-gradient(140deg, #0d211d, #080a13);
}

.mini-dev {
  display: inline-block;
  margin-bottom: 4px;
  color: #c956f0;
  font-size: clamp(5px, 0.42vw, 7px);
  font-weight: 700;
  text-transform: uppercase;
}

.floating-card {
  --card-rotate: 8deg;
  position: absolute;
  right: -2.8%;
  z-index: 5;
  width: clamp(105px, 9.5vw, 154px);
  aspect-ratio: 1.22;
  overflow: hidden;
  border: 1px solid rgba(255, 98, 220, 0.74);
  border-radius: 13px;
  background: #120a1a;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.5), 0 0 20px rgba(244, 39, 190, 0.2);
  transform: rotate(var(--card-rotate));
  animation: card-float 5.6s ease-in-out infinite;
}

.floating-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card--one { top: 27%; }
.floating-card--two { --card-rotate: 10deg; top: 47%; right: -5%; animation-delay: -1.6s; }
.floating-card--three {
  --card-rotate: -8deg;
  top: 67%;
  right: 0;
  animation-delay: -3.2s;
}

.support-cat-button {
  position: absolute;
  right: clamp(-28px, -1vw, -8px);
  bottom: -14px;
  z-index: 12;
  width: clamp(210px, 18vw, 330px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transform-origin: 55% 100%;
}

.support-cat {
  display: block;
  width: 100%;
  filter:
    drop-shadow(0 24px 30px rgba(0, 0, 0, 0.68))
    drop-shadow(0 0 15px rgba(39, 135, 255, 0.25))
    drop-shadow(0 0 30px rgba(235, 44, 211, 0.16));
  transform-origin: 55% 100%;
  animation: cat-bob 4.2s ease-in-out infinite;
}

.support-cat-button:hover .support-cat {
  filter:
    drop-shadow(0 24px 30px rgba(0, 0, 0, 0.68))
    drop-shadow(0 0 20px rgba(52, 161, 255, 0.42))
    drop-shadow(0 0 38px rgba(235, 44, 211, 0.28));
}

.support-cat-button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: -12px;
  border-radius: 46%;
}

.support-cat-bubble {
  position: absolute;
  top: 11%;
  left: -22%;
  z-index: 2;
  padding: 10px 14px;
  border: 1px solid rgba(255, 104, 213, 0.46);
  border-radius: 13px 13px 3px 13px;
  background: rgba(12, 8, 27, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.38), 0 0 20px rgba(239, 43, 190, 0.12);
  color: #f8f3ff;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  animation: bubble-pulse 3.5s ease-in-out infinite;
}

.support-panel {
  position: absolute;
  right: clamp(185px, 17vw, 300px);
  bottom: 34px;
  z-index: 18;
  width: min(340px, calc(100vw - 36px));
  padding: 26px;
  border: 1px solid rgba(255, 83, 200, 0.38);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(18, 12, 34, 0.97), rgba(7, 6, 18, 0.98));
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.66), 0 0 34px rgba(230, 35, 188, 0.13);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.97);
  transition: opacity 180ms ease, transform 180ms ease;
}

.support-panel.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.support-panel-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255, 76, 198, 0.55);
  border-radius: 13px;
  background: linear-gradient(135deg, #d02bd6, #ff278f);
  box-shadow: 0 0 22px rgba(242, 39, 170, 0.28);
  font-size: 22px;
  font-style: italic;
  font-weight: 800;
}

.support-panel h2 {
  margin: 17px 0 0;
  font-size: 21px;
}

.support-panel p {
  margin: 11px 0 18px;
  color: #aaa5b5;
  font-size: 14px;
  line-height: 1.55;
}

.support-close {
  position: absolute;
  top: 12px;
  right: 13px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #9e98aa;
  font-size: 25px;
  cursor: pointer;
}

.support-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c5bfce;
  font-size: 12px;
}

.support-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ffb12b;
  box-shadow: 0 0 10px rgba(255, 177, 43, 0.7);
}

.hero-sparks i {
  position: absolute;
  z-index: -1;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ff268d;
  box-shadow: 0 0 9px #ff268d;
  animation: spark 3.5s ease-in-out infinite;
}

.hero-sparks i:nth-child(3n) { width: 6px; height: 6px; }
.hero-sparks i:nth-child(4n) { background: #a96cff; box-shadow: 0 0 12px #a96cff; }

.hero-sparks i:nth-child(1) { top: 18%; left: 18%; }
.hero-sparks i:nth-child(2) { top: 12%; left: 57%; animation-delay: -1s; }
.hero-sparks i:nth-child(3) { top: 28%; right: 12%; animation-delay: -2.2s; }
.hero-sparks i:nth-child(4) { top: 65%; left: 28%; animation-delay: -0.7s; }
.hero-sparks i:nth-child(5) { top: 77%; right: 8%; animation-delay: -1.6s; }
.hero-sparks i:nth-child(6) { top: 83%; left: 51%; animation-delay: -2.8s; }
.hero-sparks i:nth-child(7) { top: 45%; left: 3%; animation-delay: -1.9s; }
.hero-sparks i:nth-child(8) { top: 9%; right: 29%; animation-delay: -0.3s; }

.scroll-cue {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 10;
  display: grid;
  width: 28px;
  height: 42px;
  place-items: start center;
  padding-top: 8px;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 18px;
  opacity: 0.58;
}

.scroll-cue span {
  width: 4px;
  height: 7px;
  border-radius: 3px;
  background: #fff;
  animation: scroll-dot 1.8s ease-in-out infinite;
}

.games-section {
  position: relative;
  padding: 130px max(32px, calc((100vw - var(--container)) / 2)) 150px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 0, rgba(191, 29, 198, 0.1), transparent 36rem),
    linear-gradient(180deg, #05030c, #030208 80%);
}

.games-section::before {
  content: none;
}

.section-heading {
  position: relative;
  z-index: 2;
  max-width: 790px;
  margin-bottom: 56px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.03;
  letter-spacing: -0.045em;
}

.section-heading > p:last-child {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}

.game-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.game-card {
  grid-column: span 2;
  overflow: hidden;
  min-height: 380px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(150deg, rgba(17, 15, 34, 0.94), rgba(8, 7, 18, 0.98));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.22);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.game-card:hover {
  border-color: rgba(255, 77, 190, 0.28);
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.34), 0 0 28px rgba(224, 36, 202, 0.07);
  transform: translateY(-7px);
}

.motion-ready .game-card > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 620ms ease, transform 720ms cubic-bezier(0.22, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.motion-ready .game-card.is-visible > * {
  opacity: 1;
  transform: none;
}

.motion-ready .game-card.is-visible > :nth-child(2) {
  transition-delay: calc(var(--reveal-delay, 0ms) + 90ms);
}

.game-card--available {
  grid-column: span 3;
  display: grid;
  grid-template-rows: 1.15fr 0.85fr;
  min-height: 480px;
}

.game-card-media {
  min-height: 245px;
}

.game-card-media .status-badge {
  position: absolute;
  top: 18px;
  left: 18px;
}

.game-card-copy {
  padding: 24px 26px 28px;
}

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

.game-card-copy p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.game-card-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #4be39a;
  font-size: 14px;
  font-weight: 600;
}

.game-card-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 9px currentColor;
}

.game-card--development {
  display: grid;
  grid-template-rows: 170px 1fr;
}

.development-art > span {
  font-size: 64px;
}

.development-art--image {
  display: block;
  background-image: linear-gradient(180deg, transparent 50%, rgba(6, 5, 15, 0.78)), var(--game-art);
  background-position: center;
  background-size: cover;
}

.development-art--image::before {
  content: none;
}

.development-art--image .status-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 8px;
}

.development-label {
  display: inline-flex;
  margin-top: 22px;
  padding: 7px 10px;
  border: 1px solid rgba(197, 63, 232, 0.28);
  border-radius: 7px;
  background: rgba(159, 36, 202, 0.1);
  color: #d47cf0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 36px max(32px, calc((100vw - var(--container)) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #020107;
  color: #837f8e;
  font-size: 13px;
}

.brand--small {
  font-size: 19px;
  letter-spacing: -0.8px;
}

.brand--small img {
  width: 38px;
  height: 38px;
}

.site-footer p {
  margin: 0;
}

.site-footer > a:last-child {
  justify-self: end;
  transition: color 160ms ease;
}

.site-footer > a:last-child:hover {
  color: white;
}

.download-dialog {
  width: min(480px, calc(100vw - 32px));
  padding: 38px;
  border: 1px solid rgba(255, 91, 206, 0.36);
  border-radius: 22px;
  background: linear-gradient(155deg, rgba(20, 14, 36, 0.98), rgba(7, 6, 16, 0.98));
  color: var(--text);
  box-shadow: 0 35px 100px rgba(0, 0, 0, 0.75), 0 0 35px rgba(225, 38, 198, 0.14);
  text-align: center;
}

.download-dialog[open] {
  animation: dialog-in 220ms ease-out;
}

.download-dialog::backdrop {
  background: rgba(1, 1, 5, 0.78);
  backdrop-filter: blur(10px);
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 34px;
  height: 34px;
  border: 0;
  background: transparent;
  color: #9d98a9;
  font-size: 28px;
  cursor: pointer;
}

.dialog-icon {
  display: grid;
  width: 76px;
  height: 76px;
  margin: 0 auto 19px;
  place-items: center;
  border: 1px solid rgba(255, 67, 181, 0.26);
  border-radius: 20px;
  background: rgba(255, 45, 147, 0.08);
  box-shadow: 0 0 28px rgba(255, 45, 147, 0.1);
}

.dialog-icon img {
  width: 60px;
  height: 60px;
}

.download-dialog h2 {
  margin: 0;
  font-size: 27px;
  letter-spacing: -0.025em;
}

.download-dialog p {
  margin: 15px 0 27px;
  color: #aaa5b5;
  line-height: 1.6;
}

.dialog-ok {
  width: 100%;
}

@keyframes copy-in {
  to { opacity: 1; transform: translateY(0); }
}

@keyframes launcher-in {
  from { opacity: 0; transform: translate(-46%, -42%) rotateX(5deg) rotateY(-8deg) scale(0.94); }
  to { opacity: 1; transform: translate(-50%, -46%) rotateX(1.5deg) rotateY(-2deg) scale(1); }
}

@keyframes launcher-float {
  0%, 100% { transform: translate(-50%, -46%) rotateX(1.5deg) rotateY(-2deg) translateY(0); }
  50% { transform: translate(-50%, -46%) rotateX(0.6deg) rotateY(-1deg) translateY(-13px); }
}

@keyframes portal-spin { to { transform: rotate(360deg); } }
@keyframes portal-breathe { 0%, 100% { opacity: 0.72; transform: rotate(-7deg) scale(0.98); } 50% { opacity: 1; transform: rotate(-4deg) scale(1.025); } }
@keyframes spark {
  0% { opacity: 0.08; transform: translate3d(-9px, 28px, 0) scale(0.45); }
  48% { opacity: 1; transform: translate3d(7px, -8px, 0) scale(1.55); }
  100% { opacity: 0.08; transform: translate3d(18px, -38px, 0) scale(0.55); }
}
@keyframes card-float {
  0%, 100% { transform: rotate(var(--card-rotate)) translateY(0); }
  50% { transform: rotate(calc(var(--card-rotate) + 2deg)) translateY(-17px) scale(1.025); }
}
@keyframes cat-bob {
  0%, 100% { transform: translateY(0) rotate(-0.6deg); }
  38% { transform: translateY(-15px) rotate(1.5deg); }
  48% { transform: translateY(-11px) rotate(-0.8deg); }
  58% { transform: translateY(-15px) rotate(1.1deg); }
}
@keyframes scroll-dot { 0% { opacity: 0; transform: translateY(0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes dialog-in { from { opacity: 0; transform: translateY(8px) scale(0.97); } to { opacity: 1; transform: none; } }

@keyframes ambient-glow {
  0%, 100% { opacity: 0.65; transform: scale(0.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes energy-breathe {
  0%, 100% { opacity: 0.82; transform: translate(-50%, -50%) rotate(-3deg) scale(0.985); }
  50% { opacity: 1; transform: translate(-50%, -50%) rotate(-1.7deg) scale(1.025); }
}

@keyframes energy-stream {
  to { stroke-dashoffset: -1000; }
}

@keyframes energy-stream-back {
  to { stroke-dashoffset: 1000; }
}

@keyframes orbit-flow {
  to { stroke-dashoffset: -1000; }
}

@keyframes orbit-pulse {
  0%, 100% { opacity: 0.52; }
  50% { opacity: 1; }
}

@keyframes silk-drift {
  0%, 100% { opacity: 0.58; transform: translate3d(-4px, 3px, 0); }
  50% { opacity: 1; transform: translate3d(7px, -5px, 0); }
}

@keyframes silk-flicker {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.9; }
}

@keyframes haze-pulse {
  0%, 100% { opacity: 0.48; }
  50% { opacity: 0.92; }
}

@keyframes energy-particle {
  0%, 100% { opacity: 0.2; transform: scale(0.5); }
  45% { opacity: 1; transform: scale(1.65); }
}

@keyframes button-sheen {
  0%, 58% { left: -55%; opacity: 0; }
  64% { opacity: 1; }
  82%, 100% { left: 125%; opacity: 0; }
}

@keyframes backdrop-breathe {
  0% { transform: translate3d(var(--backdrop-x), var(--backdrop-y), 0) scale(1.035); filter: saturate(1.04) contrast(1.03) brightness(0.95); }
  100% { transform: translate3d(calc(var(--backdrop-x) - 9px), calc(var(--backdrop-y) - 13px), 0) scale(1.078); filter: saturate(1.17) contrast(1.08) brightness(1.06); }
}

@keyframes launcher-sheen {
  0%, 58% { left: -38%; opacity: 0; }
  64% { opacity: 0.8; }
  82%, 100% { left: 125%; opacity: 0; }
}

@keyframes bubble-pulse {
  0%, 100% { opacity: 0.78; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-4px); }
}

@media (min-width: 1920px) {
  :root {
    --container: min(90vw, 1920px);
    --header-height: 112px;
  }

  body { font-size: 18px; }
  .brand { font-size: 34px; }
  .brand img { width: 66px; height: 66px; }
  .main-nav { gap: 48px; }
  .main-nav a { font-size: 17px; }
  .hero {
    grid-template-columns: minmax(520px, 0.82fr) minmax(760px, 1.18fr);
    padding-bottom: 70px;
  }
  .hero h1 { font-size: clamp(72px, 4.15vw, 96px); }
  .hero-lead { font-size: clamp(26px, 1.35vw, 32px); }
  .hero-actions .button {
    min-height: 68px;
    padding-inline: 34px;
    font-size: 19px;
  }
  .ecosystem-stats { font-size: 16px; }
  .hero-visual { min-height: min(820px, calc(100svh - 150px)); }
  .launcher-window {
    width: min(980px, 51vw);
    min-width: 820px;
  }
  .energy-field {
    width: min(1360px, 76vw);
    height: min(940px, 80vh);
  }
  .portal { width: min(1180px, 67vw); }
  .games-section { padding-block: 160px 180px; }
  .section-heading { max-width: 960px; }
  .section-heading h2 { font-size: clamp(56px, 3.4vw, 78px); }
  .section-heading > p:last-child {
    max-width: 780px;
    font-size: 22px;
  }
  .game-grid { gap: 26px; }
  .game-card { min-height: 440px; }
  .game-card--available { min-height: 560px; }
  .game-card-copy h3 { font-size: 30px; }
  .game-card-copy p { font-size: 18px; }
}

@media (min-width: 2560px) {
  :root {
    --container: 90vw;
    --header-height: 3.7vw;
  }

  body { font-size: 0.58vw; }
  .site-header { max-width: none; }
  .brand { font-size: 1.15vw; }
  .brand img { width: 2.1vw; height: 2.1vw; }
  .main-nav { gap: 1.7vw; }
  .main-nav a,
  .language-switch { font-size: 0.58vw; }
  .header-actions .button { min-height: 1.52vw; padding-inline: 0.78vw; font-size: 0.55vw; }
  .hero {
    grid-template-columns: 0.86fr 1.14fr;
  }
  .hero h1 { font-size: 4vw; }
  .hero-lead { font-size: 1.1vw; }
  .hero-copy .eyebrow { font-size: 0.45vw; }
  .hero-actions .button { min-height: 2.15vw; padding-inline: 1.1vw; font-size: 0.63vw; }
  .ecosystem-stats { font-size: 0.52vw; }
  .hero-visual { min-height: min(33vw, calc(100svh - 4.8vw)); }
  .launcher-window {
    width: 46vw;
    min-width: 0;
  }
  .energy-field {
    width: 64vw;
    height: min(37vw, 82vh);
  }
  .portal { width: 58vw; }
  .section-heading { max-width: 29vw; }
  .section-heading h2 { font-size: 2.45vw; }
  .section-heading > p:last-child { max-width: 24.5vw; font-size: 0.73vw; }
  .game-card { min-height: 15.1vw; }
  .game-card--available { min-height: 19vw; }
  .game-card-copy h3 { font-size: 0.99vw; }
  .game-card-copy p { font-size: 0.58vw; }
}

@media (max-width: 1280px) {
  :root { --header-height: 84px; }
  .site-header { width: min(calc(100% - 40px), var(--container)); }
  .brand { font-size: 25px; }
  .brand img { width: 50px; height: 50px; }
  .hero {
    grid-template-columns: minmax(390px, 0.82fr) minmax(540px, 1.18fr);
    padding-inline: 28px;
  }
  .hero h1 { font-size: clamp(48px, 4.5vw, 66px); }
  .launcher-window { width: min(700px, 57vw); min-width: 590px; }
  .support-cat-button { right: -22px; }
  .floating-card { right: -1%; }
  .floating-card--two { right: -3%; }
  .site-footer,
  .games-section { padding-inline: 28px; }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    column-gap: 18px;
  }
  .main-nav { gap: 26px; }
  .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "visual";
    min-height: auto;
    padding-top: 150px;
  }
  .hero::before {
    background:
      linear-gradient(180deg, rgba(3, 2, 8, 0.98) 0%, rgba(3, 2, 8, 0.78) 38%, rgba(3, 2, 8, 0.14) 78%, rgba(3, 2, 8, 0.46) 100%),
      radial-gradient(ellipse at 50% 74%, rgba(251, 21, 164, 0.2), transparent 35rem),
      radial-gradient(ellipse at 74% 83%, rgba(119, 28, 224, 0.16), transparent 29rem);
  }
  .hero-backdrop {
    background-position: 62% center;
  }
  .hero-copy {
    max-width: 700px;
    margin-inline: auto;
    text-align: center;
  }
  .hero h1 { font-size: clamp(54px, 8vw, 78px); }
  .hero-actions,
  .ecosystem-stats { justify-content: center; }
  .hero-visual {
    width: min(900px, 100%);
    min-height: 650px;
    margin: -10px auto 0;
  }
  .launcher-window { width: 78vw; min-width: 630px; }
  .energy-field { left: 50%; width: min(1040px, 100vw); }
  .portal { left: 50%; width: 90vw; }
  .support-cat-button { right: -1%; }
  .floating-card { right: 1%; }
  .floating-card--two { right: -1%; }
  .scroll-cue { display: none; }
  .games-section { padding-top: 100px; }
  .game-card { grid-column: span 3; }
  .game-card--available { grid-column: span 3; }
  .game-card--development:last-child { grid-column: 2 / span 4; }
}

@media (max-width: 760px) {
  :root { --header-height: 76px; }
  .site-header {
    grid-template-columns: 1fr auto auto;
    width: calc(100% - 28px);
  }
  .brand { font-size: 22px; }
  .brand img { width: 44px; height: 44px; }
  .header-actions { gap: 8px; }
  .header-actions .button--download { display: none; }
  .language-switch { padding-inline: 8px; }
  .menu-toggle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    order: 3;
    width: 42px;
    height: 42px;
    gap: 6px;
    margin-left: 3px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
  }
  .menu-toggle span {
    width: 18px;
    height: 1px;
    background: #fff;
    transition: 180ms ease;
  }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .main-nav {
    position: absolute;
    top: 70px;
    right: 0;
    display: grid;
    min-width: 180px;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(10, 8, 21, 0.96);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.44);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: 180ms ease;
  }
  .main-nav.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .main-nav a { padding: 12px 15px; border-radius: 9px; }
  .main-nav a::after { display: none; }
  .main-nav a.is-active { background: rgba(255, 45, 147, 0.12); }
  .hero {
    padding: 120px 18px 50px;
  }
  .hero h1 { font-size: clamp(43px, 13.5vw, 66px); }
  .hero h1 strong { margin-top: 10px; }
  .hero-copy .eyebrow { margin-bottom: 14px; font-size: 10px; }
  .hero-lead { margin-top: 21px; font-size: 19px; }
  .hero-actions { display: grid; grid-template-columns: 1fr; max-width: 360px; margin: 32px auto 0; }
  .hero-actions .button { width: 100%; min-height: 57px; }
  .ecosystem-stats { max-width: 360px; margin: 28px auto 0; gap: 9px 14px; font-size: 12px; }
  .hero-visual { min-height: 440px; margin-top: 12px; }
  .launcher-window {
    left: 50%;
    width: 710px;
    min-width: 710px;
    transform: translate(-50%, -47%) scale(0.62);
    animation: launcher-float-mobile 6s 1s ease-in-out infinite;
  }
  .energy-field { width: 760px; height: 540px; left: 50%; }
  .portal { width: 760px; }
  .floating-card { display: none; }
  .hero-backdrop { inset: -2%; background-position: 64% center; }
  .support-cat-button { right: -18px; bottom: -5px; width: 158px; }
  .support-cat-bubble { top: 5%; left: -44%; padding: 8px 10px; font-size: 10px; }
  .support-panel { right: 18px; bottom: 125px; }
  .games-section { padding: 85px 18px 95px; }
  .section-heading { margin-bottom: 38px; }
  .section-heading h2 { font-size: clamp(36px, 11vw, 52px); }
  .section-heading > p:last-child { font-size: 16px; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card,
  .game-card--available,
  .game-card--development:last-child { grid-column: 1; }
  .game-card--available { min-height: 420px; }
  .site-footer {
    grid-template-columns: 1fr auto;
    padding: 28px 18px;
  }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
  .download-dialog { padding: 34px 24px 28px; }
}

@keyframes launcher-in-mobile {
  from { opacity: 0; transform: translate(-47%, -43%) scale(0.56) rotateY(-4deg); }
  to { opacity: 1; transform: translate(-50%, -47%) scale(0.62); }
}

@keyframes launcher-float-mobile {
  0%, 100% { transform: translate(-50%, -47%) scale(0.62) translateY(0); }
  50% { transform: translate(-50%, -47%) scale(0.62) translateY(-13px); }
}

@media (max-width: 430px) {
  .hero { padding-inline: 14px; }
  .hero h1 { font-size: 42px; }
  .hero-visual { min-height: 390px; }
  .launcher-window { width: 700px; min-width: 700px; transform: translate(-50%, -49%) scale(0.53); }
  .energy-field { width: 680px; height: 490px; }
  .portal { width: 670px; }
  .support-cat-button { width: 138px; }
  .support-panel { right: 14px; bottom: 112px; }
  .game-card-copy { padding-inline: 21px; }
}

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