:root {
  --bg: #08101f;
  --surface: #d9ffe3;
  --surface-strong: #bcffcc;
  --ink: #182033;
  --ink-soft: #4f5f7d;
  --accent: #d96b31;
  --accent-2: #1f7da5;
  --accent-3: #ad4f1f;
  --line: #63f59b;
  --shadow: 0 22px 60px rgba(6, 10, 18, 0.3);
  --radius: 24px;
  --max-width: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(0, 245, 255, 0.14), transparent 24%),
    radial-gradient(circle at top right, rgba(128, 92, 255, 0.18), transparent 28%),
    linear-gradient(180deg, #050912 0%, #091121 38%, var(--bg) 100%);
  font-family: "Trebuchet MS", "Lucida Sans Unicode", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(rgba(112, 235, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(112, 235, 255, 0.08) 1px, transparent 1px),
    repeating-linear-gradient(
      180deg,
      rgba(0, 255, 240, 0.045) 0 2px,
      transparent 2px 120px
    );
  background-size: 44px 44px, 44px 44px, 100% 180px;
  content: "";
  pointer-events: none;
  animation: matrixGridDrift 18s linear infinite;
}

body::after {
  position: fixed;
  inset: -12%;
  z-index: -3;
  background:
    linear-gradient(90deg, transparent 0 7%, rgba(0, 255, 240, 0.18) 9%, transparent 14%),
    linear-gradient(90deg, transparent 14%, rgba(64, 146, 255, 0.16) 19%, transparent 25%),
    linear-gradient(90deg, transparent 26%, rgba(191, 78, 255, 0.16) 31%, transparent 37%),
    linear-gradient(90deg, transparent 38%, rgba(255, 80, 154, 0.15) 43%, transparent 49%),
    linear-gradient(90deg, transparent 50%, rgba(255, 151, 78, 0.14) 55%, transparent 61%),
    linear-gradient(90deg, transparent 62%, rgba(245, 255, 84, 0.13) 67%, transparent 73%),
    linear-gradient(90deg, transparent 74%, rgba(64, 255, 157, 0.15) 79%, transparent 85%),
    linear-gradient(90deg, transparent 86%, rgba(82, 182, 255, 0.14) 91%, transparent 97%);
  opacity: 0.9;
  filter: blur(18px) saturate(150%);
  transform: translate3d(0, 0, 0);
  content: "";
  pointer-events: none;
  animation: neonPhaseShift 16s ease-in-out infinite;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
select {
  font: inherit;
}

.section-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.section-stack {
  padding: 4.5rem 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(6, 12, 25, 0.7);
  border-bottom: 1px solid rgba(112, 235, 255, 0.12);
}

.site-header__inner,
.site-footer__inner {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-family: "Palatino Linotype", "Book Antiqua", serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #eef6ff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav a {
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: rgba(226, 236, 255, 0.78);
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  background: rgba(102, 235, 255, 0.14);
  color: #f6fbff;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.hero {
  padding: 3rem 0 2.5rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.hero-copy,
.hero-panel,
.project-card,
.feature-item,
.media-card,
.site-footer,
.filters,
.not-found {
  border: 1px solid rgba(99, 245, 155, 0.34);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel,
.project-card,
.feature-item,
.media-card,
.not-found {
  border-radius: var(--radius);
  background: rgba(220, 255, 229, 0.9);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: 2.25rem;
}

.hero-home .hero-copy {
  background:
    radial-gradient(circle at top right, rgba(146, 255, 188, 0.26), transparent 28%),
    linear-gradient(145deg, rgba(224, 255, 232, 0.97), rgba(167, 255, 191, 0.93)),
    var(--surface);
}

.home-launch .hero {
  padding-bottom: 1.5rem;
}

.hero-home-simple .section-shell {
  display: flex;
  justify-content: center;
}

.hero-copy--simple {
  width: min(100%, 58rem);
  padding: 2rem 2.1rem;
  border: 1px solid rgba(79, 255, 142, 0.34);
  background:
    radial-gradient(circle at top right, rgba(77, 255, 151, 0.18), transparent 24%),
    radial-gradient(circle at bottom left, rgba(88, 255, 193, 0.12), transparent 28%),
    linear-gradient(145deg, rgba(6, 16, 17, 0.97), rgba(8, 28, 20, 0.95) 46%, rgba(10, 22, 18, 0.96));
  box-shadow:
    0 0 0 1px rgba(66, 255, 136, 0.08),
    0 26px 70px rgba(0, 0, 0, 0.34),
    0 0 60px rgba(57, 255, 20, 0.12);
}

.hero-copy--simple::before {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.04) 0 1px,
      transparent 1px 22px
    ),
    linear-gradient(90deg, rgba(57, 255, 20, 0.08) 1px, transparent 1px);
  background-size: 100% 22px, 32px 100%;
  opacity: 0.22;
  content: "";
  pointer-events: none;
}

.hero-copy--simple h1 {
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  color: #f3fff6;
  text-shadow:
    0 0 18px rgba(57, 255, 20, 0.12),
    0 0 42px rgba(57, 255, 20, 0.05);
}

.hero-copy--simple .lede {
  max-width: 44rem;
  color: rgba(222, 255, 232, 0.84);
}

.hero-copy--simple .eyebrow {
  color: #5cff8d;
}

.hero-copy--simple .button {
  background: linear-gradient(135deg, #39ff14, #8dff5d);
  color: #061108;
  border: 1px solid rgba(127, 255, 118, 0.5);
  box-shadow:
    0 0 0 1px rgba(80, 255, 143, 0.12),
    0 14px 34px rgba(0, 0, 0, 0.26),
    0 0 24px rgba(57, 255, 20, 0.22);
}

.hero-copy--simple .button:hover,
.hero-copy--simple .button:focus-visible {
  background: linear-gradient(135deg, #56ff31, #a1ff73);
}

.hero-copy--simple .button-secondary {
  background: rgba(16, 36, 24, 0.92);
  color: #cffff0;
  border: 1px solid rgba(92, 255, 141, 0.34);
  box-shadow: inset 0 0 0 1px rgba(57, 255, 20, 0.08);
}

.hero-copy--simple .button-secondary:hover,
.hero-copy--simple .button-secondary:focus-visible {
  background: rgba(23, 48, 32, 0.96);
}

.hero-actions--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  gap: 0.9rem;
  justify-content: start;
}

.hero-layout-home {
  gap: 2.4rem;
}

.hero-home .hero-copy > * {
  position: relative;
  z-index: 1;
}

.hero-home .hero-copy::after {
  position: absolute;
  inset: auto -8% -18% auto;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(34, 255, 167, 0.28) 0, rgba(34, 255, 167, 0.04) 58%, transparent 72%);
  filter: blur(8px);
  content: "";
  pointer-events: none;
}

.hero-panel-home {
  padding: 1rem;
}

.signal-card-wide {
  min-height: 0;
}

.hero-spectrum {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.hero-spectrum__beam {
  position: relative;
  display: block;
  min-height: 5.25rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-spectrum__beam::before,
.hero-spectrum__beam::after {
  position: absolute;
  inset: 0;
  content: "";
}

.hero-spectrum__beam::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 36%),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.12) 0 2px,
      transparent 2px 18px
    );
  opacity: 0.55;
}

.hero-spectrum__beam::after {
  inset: -40% 0;
  background: linear-gradient(180deg, transparent 0, rgba(255, 255, 255, 0.34) 50%, transparent 100%);
  mix-blend-mode: screen;
  animation: spectrumPulse 5.6s linear infinite;
}

.hero-spectrum__beam--space {
  background: linear-gradient(180deg, #081122 0%, #12336c 55%, #8a39ff 100%);
}

.hero-spectrum__beam--app {
  background: linear-gradient(180deg, #07141d 0%, #0f4052 55%, #26f3ca 100%);
}

.hero-spectrum__beam--store {
  background: linear-gradient(180deg, #2a1116 0%, #8b4636 55%, #ffcb6d 100%);
}

.hero-spectrum__beam--games {
  background: linear-gradient(180deg, #160e2d 0%, #6a21b7 52%, #38c8ff 100%);
}

.theme-preview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.theme-preview {
  position: relative;
  min-height: 8.75rem;
  padding: 1rem;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  isolation: isolate;
}

.theme-preview span {
  position: relative;
  z-index: 1;
  display: inline-flex;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(8, 10, 18, 0.5);
  color: #f7f7fb;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.theme-preview::after {
  position: absolute;
  inset: auto -1rem -1rem auto;
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  content: "";
}

.theme-preview::before {
  position: absolute;
  inset: auto 10% 12% 10%;
  height: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.78), transparent);
  opacity: 0.55;
  filter: blur(1px);
  content: "";
  animation: previewSweep 4.4s ease-in-out infinite;
}

.theme-preview-space {
  background:
    radial-gradient(circle at 20% 25%, rgba(107, 241, 255, 0.2), transparent 32%),
    linear-gradient(135deg, #07111f, #111f42 52%, #230d3b 100%);
}

.theme-preview-app {
  background:
    linear-gradient(135deg, rgba(69, 248, 224, 0.12), transparent 55%),
    linear-gradient(140deg, #08161d, #13344d 45%, #081e31 100%);
}

.theme-preview-store {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 241, 196, 0.45), transparent 26%),
    linear-gradient(140deg, #3d1720, #7e3b34 48%, #d08a58 100%);
}

.theme-preview-games {
  background:
    linear-gradient(135deg, rgba(0, 255, 204, 0.18), transparent 40%),
    linear-gradient(145deg, #170b30, #481f79 48%, #0d6f8a 100%);
}

.hero-copy h1,
.section-heading h2,
.project-card h3,
.feature-item h2,
.site-footer h2,
.not-found h1 {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", serif;
  line-height: 1.06;
}

.hero-copy h1,
.not-found h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
}

.eyebrow,
.card-tag,
.signal-label,
.status-pill {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.eyebrow,
.signal-label,
.card-tag {
  color: var(--accent-2);
  font-weight: 700;
}

.lede {
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  align-items: center;
}

.gateway-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}

.gateway-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

.form-field {
  display: grid;
  gap: 0.45rem;
}

.form-field span {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.form-field input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 16px;
  border: 1px solid rgba(99, 245, 155, 0.36);
  background: rgba(242, 255, 246, 0.82);
  color: var(--ink);
}

.form-field input::placeholder {
  color: var(--ink-soft);
}

.button,
.button-secondary,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
}

.button,
.button-secondary {
  padding: 0.85rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
}

.button {
  background: var(--accent);
  color: #fff9f0;
}

.button:hover,
.button:focus-visible {
  background: var(--accent-3);
}

.button-secondary {
  background: rgba(92, 255, 141, 0.16);
  color: var(--ink);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: rgba(92, 255, 141, 0.24);
}

.text-link {
  color: var(--accent-2);
  font-weight: 700;
}

.hero-panel {
  display: grid;
  gap: 1rem;
  padding: 1.4rem;
  background:
    linear-gradient(160deg, rgba(0, 255, 174, 0.14), rgba(111, 132, 255, 0.08)),
    rgba(216, 255, 226, 0.94);
}

.hero-panel__metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.metric-pill {
  display: grid;
  gap: 0.2rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(99, 245, 155, 0.24);
  background: rgba(240, 255, 244, 0.9);
}

.metric-pill strong {
  font-size: 1.55rem;
  line-height: 1;
  color: #0b1b24;
}

.metric-pill span {
  color: var(--ink-soft);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.signal-card,
.panel-block {
  padding: 1.15rem;
  border-radius: 18px;
  background: rgba(237, 255, 241, 0.92);
  border: 1px solid rgba(99, 245, 155, 0.26);
}

.signal-card strong,
.panel-block strong {
  display: block;
  margin: 0.25rem 0 0.4rem;
  font-size: 1.1rem;
}

.feature-strip {
  padding-bottom: 1.5rem;
}

.feature-grid,
.project-grid,
.media-grid {
  display: grid;
  gap: 1.2rem;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.page-feature-grid {
  padding-top: 1rem;
}

.feature-item,
.project-card,
.media-card {
  padding: 1.4rem;
}

.feature-item span {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: var(--accent);
  font-weight: 700;
}

.feature-item h2,
.project-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.5rem;
}

.project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.detail-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.narrow-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-heading {
  max-width: 50rem;
}

.project-card {
  position: relative;
  overflow: hidden;
}

.project-card::after {
  position: absolute;
  inset: auto -2rem -2rem auto;
  width: 7rem;
  height: 7rem;
  border-radius: 50%;
  background: rgba(31, 109, 103, 0.08);
  content: "";
}

.accent-space::after {
  background: rgba(31, 109, 103, 0.14);
}

.accent-app::after {
  background: rgba(118, 91, 161, 0.12);
}

.accent-store::after {
  background: rgba(195, 95, 45, 0.14);
}

.accent-games::after {
  background: rgba(73, 111, 184, 0.12);
}

.status-pill {
  display: inline-flex;
  margin: 0.6rem 0 1rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(31, 109, 103, 0.1);
  color: var(--ink);
}

.media-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-top: 1rem;
}

.media-card {
  min-height: 13rem;
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--ink-soft);
  background:
    linear-gradient(135deg, rgba(0, 255, 174, 0.12), rgba(111, 132, 255, 0.08)),
    rgba(223, 255, 231, 0.94);
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0 0 5rem;
}

.play-page {
  padding-bottom: 4rem;
}

.play-hero {
  padding-bottom: 1rem;
}

.play-hero__copy {
  max-width: 58rem;
}

.play-shell {
  padding-top: 1rem;
}

.webgl-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.7fr);
  gap: 1.25rem;
}

.webgl-stage,
.webgl-panel {
  border: 1px solid rgba(99, 245, 155, 0.3);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.webgl-stage {
  padding: 1.2rem;
  background:
    radial-gradient(circle at top left, rgba(107, 241, 255, 0.12), transparent 26%),
    linear-gradient(145deg, rgba(9, 16, 30, 0.98), rgba(18, 24, 48, 0.98));
  color: #eef4ff;
}

.webgl-stage .button-secondary {
  background: rgba(102, 235, 255, 0.14);
  border: 1px solid rgba(124, 232, 255, 0.18);
  color: #eef7ff;
}

.webgl-stage .button-secondary:hover,
.webgl-stage .button-secondary:focus-visible {
  background: rgba(102, 235, 255, 0.22);
}

.webgl-stage__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.webgl-stage__topbar h2 {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.webgl-frame {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(124, 232, 255, 0.16);
  background:
    radial-gradient(circle at 50% 20%, rgba(77, 113, 255, 0.14), transparent 30%),
    #040814;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.webgl-canvas {
  display: block;
  width: 100%;
  height: 100%;
  background: #02050d;
}

.webgl-canvas--mobile {
  min-height: 60vh;
}

.webgl-frame:fullscreen {
  width: 100vw;
  height: 100vh;
  max-width: none;
  aspect-ratio: auto;
  border-radius: 0;
  border-color: rgba(124, 232, 255, 0.28);
}

.webgl-frame:fullscreen .webgl-canvas {
  width: 100%;
  height: 100%;
}

.webgl-frame:fullscreen .webgl-loading {
  border-radius: 0;
}

.webgl-loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(4, 8, 20, 0.78);
  backdrop-filter: blur(8px);
}

.webgl-loading[hidden] {
  display: none;
}

.webgl-loading__card {
  width: min(100%, 26rem);
  padding: 1.3rem;
  border-radius: 22px;
  background: rgba(10, 16, 30, 0.94);
  border: 1px solid rgba(124, 232, 255, 0.16);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.35);
}

.webgl-loading__card strong {
  display: block;
  margin: 0.35rem 0 0.9rem;
  font-size: 1.05rem;
}

.webgl-progress {
  overflow: hidden;
  height: 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.webgl-progress__bar {
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #66ebff, #9e9cff 55%, #ff7ce1 100%);
  transition: width 140ms ease;
}

.webgl-banner {
  display: grid;
  gap: 0.6rem;
  margin-top: 1rem;
}

.webgl-banner__item {
  padding: 0.9rem 1rem;
  border-radius: 16px;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.webgl-banner__item--error {
  background: rgba(178, 34, 34, 0.18);
  border-color: rgba(255, 122, 122, 0.25);
}

.webgl-banner__item--warning {
  background: rgba(255, 201, 72, 0.14);
  border-color: rgba(255, 210, 110, 0.28);
}

.webgl-panel {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 1rem;
  background: rgba(220, 255, 229, 0.92);
}

.webgl-panel .panel-block {
  background: rgba(237, 255, 241, 0.8);
}

.webgl-panel code {
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92em;
}

.store-embed-shell {
  border: 1px solid rgba(99, 245, 155, 0.3);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 1.1rem;
  background:
    radial-gradient(circle at top left, rgba(255, 212, 122, 0.12), transparent 24%),
    linear-gradient(145deg, rgba(22, 11, 18, 0.96), rgba(52, 20, 29, 0.96));
  color: #fff4ea;
}

.store-embed-shell__topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.store-embed-shell__topbar h2 {
  margin: 0;
  font-family: "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
}

.store-embed-frame-wrap {
  position: relative;
  overflow: hidden;
  min-height: 78vh;
  border-radius: 22px;
  border: 1px solid rgba(255, 214, 167, 0.22);
  background: rgba(8, 6, 10, 0.82);
}

.store-embed-frame {
  display: block;
  width: 100%;
  min-height: 78vh;
  border: 0;
  background: #09070c;
}

.store-embed-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 6, 10, 0.58);
  backdrop-filter: blur(6px);
}

.store-embed-overlay[hidden] {
  display: none;
}

.launch-stack {
  display: grid;
  gap: 1.2rem;
  padding: 0 0 2.6rem;
}

.launch-ribbon {
  position: relative;
  overflow: hidden;
  padding: 1.55rem 0;
  color: var(--ribbon-ink, #f5f7fb);
  background: var(--ribbon-bg, #111827);
}

.launch-ribbon::before {
  position: absolute;
  inset: 0;
  background: var(--ribbon-overlay, none);
  opacity: 0.9;
  content: "";
  pointer-events: none;
}

.launch-ribbon::after {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
  content: "";
  opacity: var(--ribbon-grid-opacity, 0.3);
  pointer-events: none;
}

.launch-ribbon__inner {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.65rem;
  align-items: stretch;
}

.launch-ribbon__copy,
.launch-ribbon__meta {
  border-radius: 28px;
  border: 1px solid var(--ribbon-line, rgba(255, 255, 255, 0.12));
  box-shadow: 0 24px 56px rgba(5, 8, 18, 0.24);
}

.launch-ribbon__copy {
  padding: 2.2rem;
  background: var(--ribbon-surface, rgba(10, 14, 25, 0.66));
  backdrop-filter: blur(10px);
}

.launch-ribbon__copy h2 {
  margin: 0 0 0.65rem;
  font-family: "Palatino Linotype", "Book Antiqua", serif;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
}

.launch-ribbon__copy p {
  max-width: 56ch;
}

.launch-ribbon__copy p:last-of-type {
  margin-bottom: 0;
}

.launch-label {
  margin: 0 0 0.85rem;
  color: var(--ribbon-accent, #9ff5d9);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.launch-ribbon__meta {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  align-content: center;
  background: var(--ribbon-meta-surface, rgba(255, 255, 255, 0.08));
}

.launch-ribbon__scene {
  position: relative;
  min-height: 12.5rem;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid var(--ribbon-line, rgba(255, 255, 255, 0.12));
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.launch-ribbon__scene::before,
.launch-ribbon__scene::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.launch-ribbon__scene::before {
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.12), transparent 36%),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.08) 0 1px,
      transparent 1px 34px
    );
  opacity: 0.38;
}

.launch-ribbon__scene::after {
  inset: auto -15% -28% auto;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  filter: blur(10px);
}

.scene-badge,
.scene-panel {
  position: relative;
  z-index: 1;
}

.scene-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 14, 26, 0.42);
  color: var(--ribbon-accent, #9ff5d9);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scene-panel {
  display: grid;
  gap: 0.28rem;
  max-width: 16rem;
  margin-top: 5.1rem;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(7, 12, 22, 0.54);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.scene-kicker {
  color: var(--ribbon-accent, #9ff5d9);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scene-panel strong {
  font-size: 1rem;
  line-height: 1.35;
}

.launch-ribbon__scene--space {
  background:
    radial-gradient(circle at 24% 28%, rgba(109, 240, 255, 0.34), transparent 20%),
    radial-gradient(circle at 78% 24%, rgba(176, 109, 255, 0.26), transparent 18%),
    linear-gradient(145deg, #07101f, #102145 54%, #1b103c 100%);
}

.launch-ribbon__scene--space::before {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.85) 0 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, rgba(110, 230, 255, 0.18) 1px, transparent 1px) 0 0 / 34px 34px;
  opacity: 0.45;
}

.launch-ribbon__scene--app {
  background:
    linear-gradient(145deg, rgba(43, 255, 216, 0.12), transparent 40%),
    linear-gradient(145deg, #08161c, #123b4b 52%, #0b2236 100%);
}

.launch-ribbon__scene--app::before {
  background:
    linear-gradient(180deg, transparent 0 26%, rgba(255, 255, 255, 0.12) 26% 28%, transparent 28% 52%, rgba(255, 255, 255, 0.1) 52% 54%, transparent 54%),
    repeating-linear-gradient(90deg, rgba(79, 255, 228, 0.18) 0 2px, transparent 2px 28px);
  opacity: 0.5;
}

.launch-ribbon__scene--store {
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 242, 186, 0.44), transparent 16%),
    linear-gradient(145deg, #33151a, #7d2f30 52%, #cf8659 100%);
}

.launch-ribbon__scene--store::before {
  background:
    linear-gradient(90deg, transparent 0 18%, rgba(255, 244, 216, 0.28) 18% 20%, transparent 20% 80%, rgba(255, 244, 216, 0.28) 80% 82%, transparent 82%),
    linear-gradient(180deg, transparent 0 16%, rgba(255, 244, 216, 0.22) 16% 18%, transparent 18% 82%, rgba(255, 244, 216, 0.18) 82% 84%, transparent 84%);
  opacity: 0.44;
}

.launch-ribbon__scene--games {
  background:
    linear-gradient(145deg, rgba(54, 255, 220, 0.12), transparent 38%),
    linear-gradient(145deg, #150d31, #4b2078 48%, #127ea0 100%);
}

.launch-ribbon__scene--games::before {
  background:
    repeating-linear-gradient(90deg, rgba(255, 118, 214, 0.2) 0 3px, transparent 3px 24px),
    linear-gradient(180deg, transparent 0 60%, rgba(120, 246, 255, 0.18) 60% 62%, transparent 62%);
  opacity: 0.48;
}

.launch-chip {
  display: grid;
  gap: 0.28rem;
  padding: 1rem 1.1rem;
  border-radius: 20px;
  background: var(--ribbon-chip-bg, rgba(255, 255, 255, 0.1));
  border: 1px solid var(--ribbon-line, rgba(255, 255, 255, 0.16));
}

.launch-chip strong {
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ribbon-accent, #9ff5d9);
}

.launch-chip span,
.launch-ribbon__copy p {
  color: var(--ribbon-soft, rgba(245, 247, 251, 0.9));
}

.launch-ribbon .button {
  background: var(--ribbon-button, #4de4c7);
  color: var(--ribbon-button-ink, #07111d);
}

.launch-ribbon .button:hover,
.launch-ribbon .button:focus-visible {
  background: var(--ribbon-button-hover, #79f1d9);
}

.launch-ribbon-space {
  --ribbon-bg:
    radial-gradient(circle at 18% 25%, rgba(36, 214, 255, 0.22), transparent 28%),
    linear-gradient(135deg, #040814, #0d1632 44%, #1b0d3d 100%);
  --ribbon-overlay:
    radial-gradient(circle at 78% 50%, rgba(173, 94, 255, 0.16), transparent 28%);
  --ribbon-surface: rgba(7, 12, 25, 0.72);
  --ribbon-meta-surface: rgba(7, 12, 25, 0.54);
  --ribbon-chip-bg: rgba(36, 214, 255, 0.08);
  --ribbon-line: rgba(106, 224, 255, 0.16);
  --ribbon-ink: #f5f8ff;
  --ribbon-soft: rgba(222, 232, 255, 0.82);
  --ribbon-accent: #7ce8ff;
  --ribbon-button: #66ebff;
  --ribbon-button-hover: #9ef2ff;
  --ribbon-button-ink: #07121f;
}

.launch-ribbon-app {
  --ribbon-bg:
    linear-gradient(145deg, #041018, #0a2632 38%, #133f50 100%);
  --ribbon-overlay:
    linear-gradient(90deg, rgba(53, 255, 219, 0.07), transparent 45%, rgba(121, 204, 255, 0.08) 100%);
  --ribbon-surface: rgba(5, 17, 24, 0.72);
  --ribbon-meta-surface: rgba(8, 24, 34, 0.56);
  --ribbon-chip-bg: rgba(80, 227, 214, 0.08);
  --ribbon-line: rgba(83, 222, 210, 0.16);
  --ribbon-ink: #f3fffe;
  --ribbon-soft: rgba(210, 245, 241, 0.84);
  --ribbon-accent: #69f7e4;
  --ribbon-button: #69f7e4;
  --ribbon-button-hover: #9afbee;
  --ribbon-button-ink: #06211f;
}

.launch-ribbon-store {
  --ribbon-bg:
    radial-gradient(circle at 15% 20%, rgba(255, 233, 177, 0.32), transparent 24%),
    linear-gradient(145deg, #2d1218, #6f2a33 42%, #d08a58 100%);
  --ribbon-overlay:
    linear-gradient(90deg, rgba(255, 246, 220, 0.06), transparent 44%, rgba(255, 190, 138, 0.12) 100%);
  --ribbon-surface: rgba(41, 15, 21, 0.7);
  --ribbon-meta-surface: rgba(53, 21, 26, 0.52);
  --ribbon-chip-bg: rgba(255, 216, 168, 0.09);
  --ribbon-line: rgba(255, 214, 167, 0.16);
  --ribbon-ink: #fff7ec;
  --ribbon-soft: rgba(255, 236, 217, 0.82);
  --ribbon-accent: #ffd29b;
  --ribbon-button: #ffd29b;
  --ribbon-button-hover: #ffe1b9;
  --ribbon-button-ink: #30170e;
}

.launch-ribbon-games {
  --ribbon-bg:
    linear-gradient(145deg, #110c29, #44206b 46%, #0d7b97 100%);
  --ribbon-overlay:
    radial-gradient(circle at 84% 30%, rgba(255, 70, 198, 0.22), transparent 26%),
    linear-gradient(90deg, rgba(42, 255, 214, 0.08), transparent 48%);
  --ribbon-surface: rgba(17, 11, 36, 0.72);
  --ribbon-meta-surface: rgba(22, 13, 43, 0.54);
  --ribbon-chip-bg: rgba(255, 86, 207, 0.08);
  --ribbon-line: rgba(122, 239, 255, 0.16);
  --ribbon-ink: #f7f4ff;
  --ribbon-soft: rgba(232, 224, 255, 0.82);
  --ribbon-accent: #7cf6ff;
  --ribbon-button: #ff76d6;
  --ribbon-button-hover: #ff99e2;
  --ribbon-button-ink: #2a1027;
}

.compact-card p:last-child {
  margin-bottom: 0;
}

.small-note {
  margin: 0;
  color: var(--ink-soft);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 20px;
  background: rgba(220, 255, 229, 0.86);
}

.filters label {
  display: grid;
  gap: 0.35rem;
  min-width: 13rem;
}

.filters select {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.8rem 1rem;
  background: var(--surface);
}

.site-footer {
  margin-top: 3rem;
  background: rgba(14, 22, 39, 0.95);
  color: #edf4ff;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1.5rem;
  padding: 2rem 0 2.5rem;
}

.site-footer h2 {
  font-size: 2rem;
}

.site-footer p,
.footer-links a,
.footer-meta {
  color: rgba(237, 244, 255, 0.82);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-content: start;
}

.footer-links a {
  padding: 0.25rem 0;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #fff9f0;
}

.footer-meta {
  font-size: 0.95rem;
}

.not-found {
  padding: 4rem 2rem;
  margin-top: 2rem;
  text-align: center;
}

:focus-visible {
  outline: 3px solid rgba(31, 109, 103, 0.42);
  outline-offset: 3px;
}

@keyframes matrixGridDrift {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }

  100% {
    background-position: 0 0, 0 0, 0 180px;
  }
}

@keyframes neonPhaseShift {
  0% {
    transform: translate3d(0, -4%, 0) scale(1.02);
    filter: blur(18px) saturate(150%) hue-rotate(0deg);
  }

  50% {
    transform: translate3d(0, 4%, 0) scale(1.06);
    filter: blur(22px) saturate(180%) hue-rotate(55deg);
  }

  100% {
    transform: translate3d(0, -4%, 0) scale(1.02);
    filter: blur(18px) saturate(150%) hue-rotate(0deg);
  }
}

@keyframes spectrumPulse {
  0% {
    transform: translateY(-12%);
    opacity: 0.32;
  }

  50% {
    transform: translateY(24%);
    opacity: 0.78;
  }

  100% {
    transform: translateY(120%);
    opacity: 0.32;
  }
}

@keyframes previewSweep {
  0%,
  100% {
    transform: translateX(-28%);
    opacity: 0.18;
  }

  50% {
    transform: translateX(28%);
    opacity: 0.58;
  }
}

@media (max-width: 920px) {
  .hero-layout,
  .gateway-grid,
  .feature-grid,
  .project-grid,
  .media-grid,
  .site-footer__inner,
  .contact-band,
  .narrow-grid,
  .launch-ribbon__inner,
  .webgl-layout {
    grid-template-columns: 1fr;
  }

  .contact-band {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 1rem;
    left: 1rem;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: rgba(255, 249, 240, 0.98);
    background: rgba(244, 248, 255, 0.98);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .launch-ribbon {
    padding: 1rem 0;
  }

  .hero-spectrum,
  .hero-panel__metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions--grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 1.5rem;
  }

  .hero-copy,
  .hero-panel,
  .project-card,
  .feature-item,
  .media-card,
  .not-found {
    padding: 1.25rem;
  }

  .section-stack {
    padding: 3.5rem 0;
  }

  .hero-copy h1,
  .not-found h1 {
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  .theme-preview-grid {
    grid-template-columns: 1fr;
  }

  .hero-spectrum,
  .hero-panel__metrics {
    grid-template-columns: 1fr;
  }

  .launch-ribbon__copy,
  .launch-ribbon__meta {
    padding: 1.25rem;
  }

  .scene-panel {
    margin-top: 4.1rem;
  }

  .launch-ribbon__copy h2 {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

  .webgl-stage,
  .webgl-panel {
    padding: 1rem;
  }

  .webgl-stage__topbar {
    align-items: start;
    flex-direction: column;
  }

  .webgl-frame {
    min-height: 22rem;
  }

  .webgl-canvas {
    height: 50vh;
  }
}
