:root {
  --bg: #050812;
  --bg-deep: #02040a;
  --panel: rgba(14, 20, 37, 0.74);
  --panel-strong: rgba(14, 20, 37, 0.94);
  --line: rgba(174, 199, 255, 0.16);
  --line-strong: rgba(174, 199, 255, 0.30);
  --text: #f4f6ff;
  --muted: #9ba7c2;
  --muted-2: #6f7b98;
  --violet: #a879ff;
  --blue: #598cff;
  --cyan: #60e5d0;
  --orange: #ff9f6e;
  --pink: #f071c4;
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1440px;
  --header-h: 76px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg-deep); }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 76% 14%, rgba(80, 67, 171, .14), transparent 31%),
    radial-gradient(circle at 20% 44%, rgba(30, 109, 136, .10), transparent 34%),
    linear-gradient(180deg, #060a14 0%, #040711 52%, #03050c 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; }

::selection { background: rgba(168, 121, 255, .45); color: white; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: white;
  color: #070913;
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform .2s;
}
.skip-link:focus { transform: translateY(0); }

.space-noise {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: .52;
  background-image:
    radial-gradient(circle at 15% 18%, rgba(255,255,255,.7) 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 37%, rgba(255,255,255,.55) 0 1px, transparent 1.6px),
    radial-gradient(circle at 38% 79%, rgba(120,164,255,.6) 0 1px, transparent 1.8px),
    radial-gradient(circle at 91% 72%, rgba(255,255,255,.5) 0 1px, transparent 1.5px);
  background-size: 180px 180px, 260px 260px, 340px 340px, 420px 420px;
}

.cursor-glow {
  position: fixed;
  left: 0;
  top: 0;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  opacity: .22;
  background: radial-gradient(circle, rgba(111, 94, 255, .4), rgba(79, 139, 255, .10) 40%, transparent 68%);
  transform: translate3d(-50%, -50%, 0);
  will-change: transform;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  padding: 0 max(28px, calc((100vw - var(--max)) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid transparent;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
}
.site-header.is-scrolled {
  background: rgba(4, 7, 15, .78);
  border-color: var(--line);
  backdrop-filter: blur(20px) saturate(140%);
}

.brand { display: inline-flex; align-items: center; gap: 3px; letter-spacing: .25em; white-space: nowrap; }
.brand-mark { font-size: 1.48rem; font-weight: 800; letter-spacing: -.06em; }
.brand-name { font-size: .92rem; color: #cfd6eb; }
.brand-name b { font-weight: 500; margin-left: .45em; }

.main-nav { display: flex; align-items: center; gap: 34px; }
.main-nav a {
  position: relative;
  color: #c9d0e3;
  font-size: .92rem;
  transition: color .2s;
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -10px;
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--cyan));
  transition: right .25s var(--ease);
}
.main-nav a:hover { color: white; }
.main-nav a:hover::after { right: 0; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: rgba(10, 14, 26, .65);
  border-radius: 12px;
  padding: 0;
}
.menu-toggle span { display: block; width: 18px; height: 1px; background: white; margin: 5px auto; transition: transform .25s; }

.hero {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 58px) max(32px, calc((100vw - var(--max)) / 2)) 80px;
  display: grid;
  grid-template-columns: minmax(370px, .82fr) minmax(590px, 1.45fr);
  gap: clamp(28px, 4vw, 68px);
  align-items: center;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(4,7,16,.96) 0%, rgba(4,7,16,.83) 31%, rgba(4,7,16,.12) 74%, rgba(4,7,16,.62) 100%),
    linear-gradient(180deg, transparent 62%, #060914 100%),
    url("assets/hero-cosmos.webp") center / cover no-repeat;
  opacity: .33;
  filter: saturate(.85) contrast(1.08);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 8% 4% 9% 33%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 80, 255, .11), transparent 65%);
  filter: blur(30px);
}

.hero-copy { max-width: 620px; position: relative; z-index: 3; }
.eyebrow {
  margin: 0 0 20px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .20em;
  color: #abb7d4;
  text-transform: uppercase;
}
.eyebrow span {
  display: inline-block;
  margin-right: 12px;
  padding: 5px 8px;
  color: #d9dfff;
  border: 1px solid var(--line-strong);
  border-radius: 99px;
  letter-spacing: .1em;
}
.hero h1,
.section-heading h2,
.profile-cta h2,
.manifesto h2 {
  margin: 0;
  font-weight: 440;
  letter-spacing: -.055em;
  line-height: .98;
}
.hero h1 { font-size: clamp(3.3rem, 5.8vw, 6.7rem); }
.hero h1 em, .manifesto h2 em { font-style: normal; color: transparent; -webkit-text-stroke: 1px rgba(223, 229, 255, .68); }
.hero-lead {
  max-width: 540px;
  margin: 30px 0 0;
  color: #bbc5dd;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.7;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  font-size: .94rem;
  transition: transform .22s var(--ease), border-color .22s, background .22s, box-shadow .22s;
}
.button:hover { transform: translateY(-2px); border-color: rgba(205, 214, 255, .55); }
.button-primary {
  color: white;
  border-color: rgba(205, 176, 255, .4);
  background: linear-gradient(110deg, rgba(255, 120, 118, .92), rgba(128, 94, 255, .92) 58%, rgba(62, 133, 255, .95));
  box-shadow: 0 10px 34px rgba(92, 88, 255, .26), inset 0 1px rgba(255,255,255,.25);
}
.button-primary:hover { box-shadow: 0 16px 44px rgba(92, 88, 255, .38), inset 0 1px rgba(255,255,255,.28); }
.button-ghost { background: rgba(6, 11, 22, .54); color: #d4dcef; }

.hero-stats {
  display: flex;
  gap: 34px;
  margin: 44px 0 0;
}
.hero-stats div { padding-right: 30px; border-right: 1px solid var(--line); }
.hero-stats div:last-child { border-right: 0; }
.hero-stats dt { font-size: 1.65rem; font-weight: 650; line-height: 1; }
.hero-stats dd { margin: 8px 0 0; color: var(--muted-2); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; }

.hero-map { position: relative; min-width: 0; }
.map-shell {
  position: relative;
  transform-style: preserve-3d;
  border: 1px solid rgba(174, 199, 255, .20);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 44px 100px rgba(0, 0, 0, .52), 0 0 80px rgba(76, 71, 193, .15);
  background: #07101d;
  transition: transform .25s ease-out;
}
.map-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,.08), transparent 26%, transparent 74%, rgba(111,90,255,.08));
}
.map-shell img { width: 100%; aspect-ratio: 1230 / 580; object-fit: cover; }
.map-hint { margin: 14px 0 0; text-align: center; color: var(--muted-2); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.pulse-dot { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 0 rgba(96,229,208,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(96,229,208,0); } 100% { box-shadow: 0 0 0 0 rgba(96,229,208,0); } }

.map-hotspot {
  position: absolute;
  z-index: 3;
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.72);
  background: rgba(7, 10, 20, .62);
  box-shadow: 0 0 20px currentColor;
  cursor: pointer;
  transition: transform .2s, background .2s;
}
.map-hotspot::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; background: currentColor; }
.map-hotspot span {
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  padding: 5px 8px;
  border-radius: 6px;
  color: white;
  background: rgba(2,4,10,.88);
  border: 1px solid var(--line);
  font-size: .62rem;
  letter-spacing: .14em;
  transition: opacity .2s;
  pointer-events: none;
}
.map-hotspot:hover { transform: scale(1.2); background: rgba(255,255,255,.15); }
.map-hotspot:hover span { opacity: 1; }
.hotspot-form { left: 39%; top: 18%; color: #aa8cff; }
.hotspot-space { left: 73%; top: 37%; color: #ffc769; }
.hotspot-body { left: 27%; top: 44%; color: #62e5cd; }
.hotspot-city { left: 38%; top: 72%; color: #58c8ff; }
.hotspot-memory { left: 68%; top: 72%; color: #d881ff; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted-2);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .15em;
}
.scroll-cue span { width: 18px; height: 28px; border: 1px solid var(--line-strong); border-radius: 10px; position: relative; }
.scroll-cue span::after { content: ""; position: absolute; left: 50%; top: 6px; width: 2px; height: 5px; background: white; border-radius: 2px; transform: translateX(-50%); animation: scrollCue 1.5s infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translate(-50%, 0); } 35% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 10px); } }

.section {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: clamp(90px, 10vw, 150px) 0;
}
.section-heading { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(300px, .7fr); gap: 80px; align-items: end; margin-bottom: 70px; }
.section-heading.inline { grid-template-columns: 1fr minmax(320px, .6fr); }
.section-heading h2, .profile-cta h2, .manifesto h2 { font-size: clamp(2.7rem, 5vw, 5.6rem); }
.section-heading > p, .section-heading.inline > p { max-width: 620px; margin: 0; color: var(--muted); line-height: 1.8; font-size: 1.04rem; }

.worlds { position: relative; }
.worlds::before { content: ""; position: absolute; z-index: -1; width: 52vw; height: 52vw; max-width: 800px; max-height: 800px; right: -12vw; top: 4%; border-radius: 50%; background: radial-gradient(circle, rgba(98, 72, 210, .13), transparent 67%); filter: blur(20px); }

.world-orbit {
  position: relative;
  width: min(760px, 92vw);
  aspect-ratio: 1;
  margin: 0 auto 100px;
}
.orbit-ring { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(138, 162, 226, .17); border-radius: 50%; transform: translate(-50%, -50%); }
.ring-one { width: 63%; height: 63%; }
.ring-two { width: 92%; height: 92%; }
.orbit-ring::after { content: ""; position: absolute; inset: 9%; border: 1px dashed rgba(125, 148, 210, .10); border-radius: 50%; }
.orbit-core {
  position: absolute;
  left: 50%; top: 50%;
  width: 180px; height: 180px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(186, 160, 255, .52);
  background: radial-gradient(circle at 35% 30%, rgba(218, 190, 255, .28), rgba(101, 72, 216, .22) 35%, rgba(10, 14, 31, .86) 70%);
  box-shadow: 0 0 60px rgba(135, 82, 255, .25), inset 0 0 34px rgba(148, 113, 255, .18);
  cursor: pointer;
  display: grid;
  place-content: center;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.orbit-core:hover { transform: translate(-50%, -50%) scale(1.04); box-shadow: 0 0 90px rgba(135, 82, 255, .35), inset 0 0 34px rgba(148,113,255,.22); }
.orbit-core span { font-size: 1.65rem; letter-spacing: .08em; }
.orbit-core small { color: #b6a7de; letter-spacing: .25em; font-size: .62rem; }
.orbit-world {
  --world-color: #fff;
  position: absolute;
  width: 148px;
  min-height: 116px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(8, 13, 26, .76);
  backdrop-filter: blur(16px);
  cursor: pointer;
  text-align: left;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s;
}
.orbit-world::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: radial-gradient(circle at 20% 15%, color-mix(in srgb, var(--world-color) 22%, transparent), transparent 58%); opacity: .6; }
.orbit-world > span { color: var(--world-color); font-size: .66rem; letter-spacing: .16em; }
.orbit-world b { display: block; margin-top: 13px; font-size: 1.05rem; letter-spacing: .08em; }
.orbit-world small { display: block; margin-top: 3px; color: var(--muted); }
.orbit-world:hover, .orbit-world.is-active { transform: translateY(-6px); border-color: color-mix(in srgb, var(--world-color) 52%, transparent); box-shadow: 0 20px 50px rgba(0,0,0,.28), 0 0 36px color-mix(in srgb, var(--world-color) 18%, transparent); background: rgba(11, 17, 32, .94); }
.world-form { --world-color: #ff8a74; left: 44%; top: 0; }
.world-space { --world-color: #ffc769; right: 0; top: 36%; }
.world-body { --world-color: #62e5cd; left: 0; top: 34%; }
.world-city { --world-color: #58c8ff; left: 18%; bottom: 0; }
.world-memory { --world-color: #d881ff; right: 16%; bottom: 0; }

.world-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(400px, .85fr);
  min-height: 640px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(8, 13, 25, .84);
  box-shadow: var(--shadow);
}
.world-stage-image { position: relative; overflow: hidden; min-height: 580px; }
.world-stage-image img { width: 100%; height: 100%; object-fit: cover; transition: opacity .25s, transform .65s var(--ease); }
.world-stage:hover .world-stage-image img { transform: scale(1.025); }
.world-image-shade { position: absolute; inset: 0; background: linear-gradient(90deg, transparent 52%, rgba(7,10,20,.88) 100%), linear-gradient(0deg, rgba(4,7,14,.36), transparent 45%); }
.world-index { position: absolute; left: 36px; bottom: 24px; font-size: clamp(5rem, 9vw, 9rem); line-height: 1; font-weight: 650; letter-spacing: -.08em; color: rgba(255,255,255,.10); }
.world-stage-copy { padding: clamp(42px, 5vw, 76px); display: flex; flex-direction: column; justify-content: center; }
.world-label { color: #ff8a74; font-size: .74rem; font-weight: 700; letter-spacing: .2em; }
.world-stage-copy h3 { margin: 16px 0 0; font-size: clamp(2.5rem, 4vw, 4.8rem); line-height: 1; letter-spacing: -.05em; font-weight: 520; }
.world-stage-copy > p { color: #acb7d0; margin: 26px 0 30px; line-height: 1.75; }
.world-game-list { display: grid; gap: 2px; border-top: 1px solid var(--line); }
.world-game-list button {
  display: grid;
  grid-template-columns: 32px 1fr auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: color .2s, padding-left .2s;
}
.world-game-list button:hover { color: white; padding-left: 8px; }
.world-game-list button span:first-child { color: var(--muted-2); font-size: .68rem; }
.world-game-list button small { color: var(--muted-2); }
.text-link { display: inline-flex; align-items: center; justify-content: space-between; margin-top: 26px; color: #d9dfff; font-size: .86rem; letter-spacing: .04em; }

.featured-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.feature-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: #090e1b;
  cursor: pointer;
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-8px); border-color: var(--feature-color); box-shadow: 0 26px 60px rgba(0,0,0,.35), 0 0 36px color-mix(in srgb, var(--feature-color) 15%, transparent); }
.feature-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--feature-color) 22%, #09101e) 0%, #070a13 86%); opacity: .78; }
.feature-card::after { content: ""; position: absolute; width: 240px; height: 240px; right: -90px; top: 58px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--feature-color) 58%, transparent); box-shadow: 0 0 35px color-mix(in srgb, var(--feature-color) 20%, transparent), inset 0 0 34px color-mix(in srgb, var(--feature-color) 16%, transparent); }
.feature-card button { position: relative; z-index: 1; width: 100%; height: 100%; min-height: inherit; padding: 24px; border: 0; background: transparent; text-align: left; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; }
.feature-number { color: color-mix(in srgb, var(--feature-color) 78%, white); font-size: .68rem; letter-spacing: .15em; }
.feature-symbol { margin: auto 0 28px; font-size: 4.2rem; color: var(--feature-color); text-shadow: 0 0 34px color-mix(in srgb, var(--feature-color) 70%, transparent); }
.feature-card h3 { margin: 0; font-size: 1.18rem; letter-spacing: .08em; }
.feature-card .feature-ru { margin: 6px 0 0; color: #d6dcef; font-size: .88rem; }
.feature-card .feature-tagline { margin: 18px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.feature-card .feature-arrow { position: absolute; right: 22px; bottom: 20px; color: var(--feature-color); }

.catalog-toolbar { display: flex; gap: 20px; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filter {
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #aeb9d1;
  background: rgba(8, 13, 26, .62);
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.filter:hover, .filter.is-active { color: white; border-color: rgba(151, 130, 255, .58); background: rgba(109, 77, 204, .20); }
.search-field { position: relative; min-width: 260px; }
.search-field input {
  width: 100%;
  height: 44px;
  padding: 0 42px 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  color: white;
  background: rgba(8, 13, 26, .62);
  transition: border-color .2s, box-shadow .2s;
}
.search-field input:focus { border-color: rgba(126, 107, 255, .66); box-shadow: 0 0 0 4px rgba(126, 107, 255, .10); }
.search-field > span:last-child { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); color: var(--muted-2); }
.catalog-meta { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; color: var(--muted-2); font-size: .78rem; }
.status-legend { display: flex; gap: 18px; }
.status-legend span { display: inline-flex; align-items: center; gap: 7px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.status-dot.mvp { background: #62e5cd; box-shadow: 0 0 9px rgba(98,229,205,.7); }
.status-dot.prototype { background: #ffc769; box-shadow: 0 0 9px rgba(255,199,105,.55); }
.status-dot.concept { background: #947cff; box-shadow: 0 0 9px rgba(148,124,255,.55); }

.game-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.game-card { min-width: 0; }
.game-card-button {
  position: relative;
  width: 100%;
  min-height: 330px;
  padding: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  color: white;
  background: linear-gradient(160deg, color-mix(in srgb, var(--card-color) 11%, #0c1222), #070a12 64%);
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: transform .23s var(--ease), border-color .23s, box-shadow .23s;
}
.game-card-button::before { content: ""; position: absolute; width: 160px; height: 160px; right: -64px; top: 68px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--card-color) 25%, transparent), transparent 70%); filter: blur(3px); }
.game-card-button:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--card-color) 50%, transparent); box-shadow: 0 20px 44px rgba(0,0,0,.30); }
.game-card-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.game-world-code { color: var(--card-color); font-size: .65rem; font-weight: 700; letter-spacing: .16em; }
.game-status { display: inline-flex; align-items: center; gap: 7px; color: #98a5bf; font-size: .63rem; letter-spacing: .08em; text-transform: uppercase; }
.game-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #947cff; box-shadow: 0 0 8px rgba(148,124,255,.6); }
.game-status[data-status="mvp"]::before { background: #62e5cd; box-shadow: 0 0 8px rgba(98,229,205,.6); }
.game-status[data-status="prototype"]::before { background: #ffc769; box-shadow: 0 0 8px rgba(255,199,105,.6); }
.game-symbol { position: relative; z-index: 1; margin: auto 0 20px; font-size: 3.4rem; line-height: 1; color: var(--card-color); text-shadow: 0 0 26px color-mix(in srgb, var(--card-color) 50%, transparent); }
.game-card-copy { position: relative; z-index: 1; }
.game-card h3 { margin: 0; font-size: 1rem; letter-spacing: .08em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.game-ru { margin: 6px 0 0; color: #d0d7e8; font-size: .86rem; }
.game-tagline { margin: 15px 0 0; color: #8794ad; font-size: .78rem; line-height: 1.55; }
.game-arrow { position: absolute; right: 18px; bottom: 16px; color: var(--card-color); opacity: .8; }
.empty-state { padding: 70px 20px; border: 1px dashed var(--line); border-radius: 20px; text-align: center; color: var(--muted); }

.profile-cta {
  min-height: 400px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding-left: clamp(28px, 5vw, 78px);
  padding-right: clamp(28px, 5vw, 78px);
  border: 1px solid rgba(153, 126, 255, .28);
  border-radius: 34px;
  background:
    radial-gradient(circle at 16% 50%, rgba(129, 86, 255, .22), transparent 28%),
    linear-gradient(110deg, rgba(11, 15, 31, .96), rgba(18, 13, 42, .86));
  box-shadow: var(--shadow);
  overflow: hidden;
}
.profile-cta > div:nth-child(2) p:last-child { max-width: 680px; color: var(--muted); }
.profile-cta .button { white-space: nowrap; }
.profile-orb { position: relative; width: 220px; height: 220px; border-radius: 50%; border: 1px solid rgba(186, 157, 255, .48); box-shadow: 0 0 58px rgba(137, 86, 255, .30), inset 0 0 48px rgba(124, 88, 255, .18); background: radial-gradient(circle at 37% 30%, rgba(255,255,255,.18), transparent 22%), radial-gradient(circle, rgba(148, 108, 255, .42), rgba(24, 18, 64, .44) 52%, rgba(4,7,16,.92) 73%); }
.profile-orb::before, .profile-orb::after { content: ""; position: absolute; inset: -28px; border: 1px solid rgba(145, 124, 255, .18); border-radius: 50%; }
.profile-orb::after { inset: -55px; border-style: dashed; animation: spin 18s linear infinite; }
.profile-orb span { position: absolute; left: 50%; top: -58px; width: 8px; height: 8px; border-radius: 50%; background: #62e5cd; box-shadow: 0 0 16px #62e5cd; }
@keyframes spin { to { transform: rotate(360deg); } }

.manifesto { position: relative; min-height: 680px; display: grid; grid-template-columns: .5fr 1.5fr; gap: 70px; align-items: center; }
.manifesto-number { font-size: clamp(15rem, 30vw, 32rem); line-height: .7; font-weight: 200; color: rgba(255,255,255,.025); letter-spacing: -.15em; }
.manifesto-copy { max-width: 930px; }
.manifesto h2 { margin-bottom: 30px; }
.manifesto-lead { color: #bcc6db; font-size: clamp(1.1rem, 1.6vw, 1.42rem); line-height: 1.75; }
.manifesto-columns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 44px 0; }
.manifesto-columns p { margin: 0; color: var(--muted); line-height: 1.65; }
.manifesto-columns b { display: inline-block; margin-bottom: 8px; color: white; }

.site-footer {
  width: min(var(--max), calc(100% - 64px));
  margin: 0 auto;
  padding: 30px 0 38px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted-2);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.footer-brand { color: #cfd7ea; }

.game-dialog, .quiz-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100svh - 32px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(173, 191, 240, .25);
  border-radius: 28px;
  color: white;
  background: rgba(8, 12, 24, .97);
  box-shadow: 0 40px 120px rgba(0,0,0,.75), 0 0 50px rgba(107, 84, 229, .18);
  backdrop-filter: blur(24px);
}
.game-dialog::backdrop, .quiz-dialog::backdrop { background: rgba(1, 3, 8, .78); backdrop-filter: blur(8px); }
.game-dialog { padding: 52px; }
.dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.04);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}
.dialog-world { position: absolute; left: 0; top: 0; width: 100%; height: 5px; background: var(--dialog-color, #947cff); box-shadow: 0 0 30px var(--dialog-color, #947cff); }
.game-dialog h2 { margin: 8px 0 0; font-size: clamp(2.5rem, 7vw, 5rem); line-height: 1; letter-spacing: -.05em; }
.game-dialog h3 { margin: 10px 0 0; color: #c8d0e5; font-size: 1.1rem; font-weight: 480; }
.dialog-tagline { margin: 28px 0; color: var(--dialog-color, #c4b3ff); font-size: 1.15rem; }
.dialog-body { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding-top: 26px; border-top: 1px solid var(--line); }
.dialog-body span { color: var(--muted-2); font-size: .67rem; letter-spacing: .14em; text-transform: uppercase; }
.dialog-body p { color: #aeb9d1; line-height: 1.7; }
.dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 34px; }
.dialog-footer .button[aria-disabled="true"] { pointer-events: none; opacity: .45; }

.quiz-dialog { padding: 0; overflow: hidden; }
.quiz-progress { height: 4px; background: rgba(255,255,255,.05); }
.quiz-progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #ff8a74, #a879ff, #58c8ff); transition: width .35s var(--ease); }
#quiz-content { padding: 58px 48px 48px; min-height: 500px; display: flex; flex-direction: column; }
.quiz-kicker { color: #a7b2ca; font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; }
.quiz-question { margin: 18px 0 32px; font-size: clamp(1.75rem, 5vw, 3.2rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 520; }
.quiz-options { display: grid; gap: 10px; }
.quiz-option { padding: 17px 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.025); color: #d1d8e9; text-align: left; cursor: pointer; transition: transform .18s, border-color .18s, background .18s; }
.quiz-option:hover { transform: translateX(6px); border-color: rgba(163, 137, 255, .55); background: rgba(127, 91, 255, .10); }
.quiz-result { text-align: center; margin: auto; }
.quiz-result-orb { width: 150px; height: 150px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; font-size: 3rem; color: var(--result-color); border: 1px solid var(--result-color); background: radial-gradient(circle, color-mix(in srgb, var(--result-color) 22%, transparent), transparent 70%); box-shadow: 0 0 48px color-mix(in srgb, var(--result-color) 28%, transparent); }
.quiz-result h2 { margin: 0; font-size: 3rem; letter-spacing: -.04em; }
.quiz-result h3 { margin: 10px 0 0; color: var(--result-color); }
.quiz-result p { max-width: 500px; margin: 24px auto; color: var(--muted); line-height: 1.75; }
.quiz-result-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1200px) {
  .hero { grid-template-columns: minmax(330px, .8fr) minmax(520px, 1.2fr); }
  .featured-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-grid .feature-card:nth-child(4), .featured-grid .feature-card:nth-child(5) { min-height: 360px; }
  .game-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .world-stage { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .site-header { padding-inline: 22px; }
  .menu-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: var(--header-h) 14px auto;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(6, 10, 20, .96);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
    transform: translateY(-18px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
  }
  .main-nav.is-open { opacity: 1; transform: translateY(0); pointer-events: auto; }
  .main-nav a { padding: 13px 12px; border-bottom: 1px solid var(--line); }
  .main-nav a:last-child { border-bottom: 0; }
  .main-nav a::after { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: calc(var(--header-h) + 68px); padding-bottom: 100px; }
  .hero-copy { max-width: 760px; }
  .hero-map { max-width: 900px; margin: 10px auto 0; }
  .scroll-cue { display: none; }
  .section-heading, .section-heading.inline { grid-template-columns: 1fr; gap: 24px; }
  .world-orbit { width: min(680px, 94vw); }
  .world-stage { grid-template-columns: 1fr; }
  .world-stage-image { min-height: 440px; }
  .world-image-shade { background: linear-gradient(0deg, rgba(7,10,20,.84), transparent 60%); }
  .world-stage-copy { padding: 44px; }
  .profile-cta { grid-template-columns: 180px 1fr; }
  .profile-cta .button { grid-column: 2; justify-self: start; }
  .profile-orb { width: 160px; height: 160px; }
  .manifesto { grid-template-columns: 1fr; }
  .manifesto-number { position: absolute; z-index: -1; right: 0; top: 100px; }
}

@media (max-width: 760px) {
  .cursor-glow { display: none; }
  .brand-name { font-size: .76rem; letter-spacing: .2em; }
  .hero { padding-inline: 20px; gap: 42px; }
  .hero h1 { font-size: clamp(3rem, 14vw, 4.8rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-stats { justify-content: space-between; gap: 0; }
  .hero-stats div { padding-right: 12px; }
  .map-shell { border-radius: 20px; }
  .map-hotspot { width: 22px; height: 22px; }
  .map-hotspot::before { inset: 6px; }
  .map-hotspot span { display: none; }
  .section { width: min(100% - 40px, var(--max)); padding: 86px 0; }
  .section-heading { margin-bottom: 48px; }
  .section-heading h2, .profile-cta h2, .manifesto h2 { font-size: clamp(2.5rem, 12vw, 4rem); }
  .world-orbit { aspect-ratio: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 56px; }
  .orbit-ring, .orbit-core { display: none; }
  .orbit-world { position: relative; inset: auto !important; width: auto; min-height: 108px; }
  .orbit-world:last-child { grid-column: 1 / -1; }
  .world-stage { border-radius: 22px; }
  .world-stage-image { min-height: 300px; }
  .world-stage-copy { padding: 28px 24px 34px; }
  .world-stage-copy h3 { font-size: 2.7rem; }
  .featured-grid { grid-template-columns: 1fr; }
  .feature-card, .featured-grid .feature-card:nth-child(4), .featured-grid .feature-card:nth-child(5) { min-height: 330px; }
  .catalog-toolbar { align-items: stretch; flex-direction: column; }
  .search-field { min-width: 0; }
  .filters { display: grid; grid-template-columns: repeat(3, 1fr); }
  .filter { padding-inline: 8px; }
  .catalog-meta { align-items: flex-start; gap: 14px; flex-direction: column; }
  .status-legend { flex-wrap: wrap; }
  .game-grid { grid-template-columns: 1fr; }
  .game-card-button { min-height: 290px; }
  .profile-cta { grid-template-columns: 1fr; padding: 50px 26px; }
  .profile-orb { width: 140px; height: 140px; }
  .profile-cta .button { grid-column: auto; width: 100%; }
  .manifesto-columns { grid-template-columns: 1fr; }
  .site-footer { width: calc(100% - 40px); flex-direction: column; align-items: flex-start; }
  .game-dialog { padding: 46px 24px 28px; }
  .dialog-body { grid-template-columns: 1fr; gap: 8px; }
  .dialog-footer { align-items: stretch; flex-direction: column; }
  .dialog-footer .button { width: 100%; }
  #quiz-content { padding: 54px 22px 30px; }
}

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

/* SONIC WORLDS v2 */
.sound-dock {
  --audio-color: #a879ff;
  position: fixed;
  z-index: 92;
  right: max(20px, calc((100vw - var(--max)) / 2));
  bottom: 22px;
  width: min(390px, calc(100vw - 40px));
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 8px 14px;
  padding: 10px 12px 10px 10px;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--audio-color) 34%, var(--line));
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(7, 11, 22, .92), rgba(13, 17, 31, .84));
  box-shadow: 0 18px 54px rgba(0,0,0,.46), 0 0 34px color-mix(in srgb, var(--audio-color) 12%, transparent);
  backdrop-filter: blur(22px) saturate(140%);
  transition: border-color .35s, box-shadow .35s, transform .25s var(--ease);
}
.sound-dock::before {
  content: "";
  position: absolute;
  inset: auto -25% -95% 18%;
  height: 160px;
  pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--audio-color) 30%, transparent), transparent 70%);
  filter: blur(18px);
  opacity: .55;
}
.sound-dock:hover { transform: translateY(-2px); }
.sound-dock.is-playing { border-color: color-mix(in srgb, var(--audio-color) 62%, transparent); box-shadow: 0 20px 62px rgba(0,0,0,.52), 0 0 42px color-mix(in srgb, var(--audio-color) 20%, transparent); }
.sound-dock.is-unavailable { opacity: .62; }
.sound-toggle {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border: 0;
  border-radius: 12px;
  color: white;
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.sound-toggle:focus-visible { outline: 2px solid var(--audio-color); outline-offset: 2px; }
.sound-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid color-mix(in srgb, var(--audio-color) 50%, transparent);
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--audio-color) 22%, transparent), rgba(255,255,255,.02) 68%);
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--audio-color) 12%, transparent);
}
.sound-icon i {
  display: block;
  width: 2px;
  height: 8px;
  border-radius: 99px;
  background: var(--audio-color);
  box-shadow: 0 0 8px var(--audio-color);
  transform-origin: center;
}
.sound-icon i:nth-child(2) { height: 15px; }
.sound-icon i:nth-child(3) { height: 22px; }
.sound-icon i:nth-child(4) { height: 12px; }
.sound-dock.is-playing .sound-icon i { animation: sonicBars .82s ease-in-out infinite alternate; }
.sound-dock.is-playing .sound-icon i:nth-child(2) { animation-delay: -.42s; }
.sound-dock.is-playing .sound-icon i:nth-child(3) { animation-delay: -.18s; }
.sound-dock.is-playing .sound-icon i:nth-child(4) { animation-delay: -.58s; }
@keyframes sonicBars { from { transform: scaleY(.42); opacity: .62; } to { transform: scaleY(1.15); opacity: 1; } }
.sound-toggle-copy { min-width: 0; display: grid; gap: 2px; }
.sound-toggle-copy small { color: #8f9bb7; font-size: .63rem; letter-spacing: .12em; text-transform: uppercase; }
.sound-toggle-copy b { overflow: hidden; color: #f7f8ff; font-size: .82rem; font-weight: 650; letter-spacing: .09em; text-overflow: ellipsis; white-space: nowrap; }
.sound-meta {
  position: relative;
  z-index: 1;
  grid-column: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px 4px 64px;
  color: #7f8aa4;
  font-size: .62rem;
  letter-spacing: .035em;
}
.sound-meta span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sound-meta a { flex: 0 0 auto; color: color-mix(in srgb, var(--audio-color) 72%, white); font-weight: 700; letter-spacing: .1em; }
.sound-meta a:hover { color: white; }
.volume-control {
  position: relative;
  z-index: 1;
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 7px;
  color: #7d88a3;
  font-size: .72rem;
}
.volume-control input {
  width: 100%;
  height: 3px;
  appearance: none;
  border-radius: 99px;
  outline: none;
  background: linear-gradient(90deg, var(--audio-color), rgba(255,255,255,.13));
  cursor: pointer;
}
.volume-control input::-webkit-slider-thumb {
  width: 13px;
  height: 13px;
  appearance: none;
  border: 2px solid #070a14;
  border-radius: 50%;
  background: #f7f8ff;
  box-shadow: 0 0 12px color-mix(in srgb, var(--audio-color) 60%, transparent);
}
.volume-control input::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 2px solid #070a14;
  border-radius: 50%;
  background: #f7f8ff;
  box-shadow: 0 0 12px color-mix(in srgb, var(--audio-color) 60%, transparent);
}

@media (max-width: 760px) {
  .sound-dock {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    grid-template-columns: minmax(0, 1fr) 92px;
    padding: 7px 9px 7px 7px;
    border-radius: 16px;
  }
  .sound-toggle { padding: 5px 7px; gap: 9px; }
  .sound-icon { width: 36px; height: 36px; }
  .sound-toggle-copy small { font-size: .56rem; }
  .sound-toggle-copy b { font-size: .72rem; }
  .sound-meta { display: none; }
  .volume-control { grid-row: 1; }
  .site-footer { padding-bottom: 116px; }
}

@media (max-width: 760px) {
  .hero h1 { font-size: clamp(2.5rem, 10vw, 4rem); letter-spacing: -.06em; }
}
