:root {
  --bg: #050510;
  --bg-soft: #0a0d1f;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.14);
  --text: #ffffff;
  --muted: #b6bfd8;
  --blue: #18a8ff;
  --blue-strong: #006dff;
  --cyan: #7ee8ff;
  --shadow: 0 22px 80px rgba(0, 109, 255, 0.22);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(0, 109, 255, 0.26), transparent 28rem),
    radial-gradient(circle at 85% 25%, rgba(126, 232, 255, 0.12), transparent 24rem),
    var(--bg);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

img,
svg {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid transparent;
  background: rgba(5, 5, 16, 0.68);
  backdrop-filter: blur(18px);
  transition: border-color 180ms ease, background 180ms ease;
}

.site-header.is-scrolled {
  border-color: var(--line);
  background: rgba(5, 5, 16, 0.9);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 2.55rem;
  height: 2.55rem;
  place-items: center;
  border: 1px solid rgba(126, 232, 255, 0.48);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--blue-strong), #0c1639 58%, var(--blue));
  box-shadow: 0 0 26px rgba(24, 168, 255, 0.35);
  font-size: 0.95rem;
}

.brand-name {
  font-size: 1rem;
}

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

.site-nav a {
  border-radius: 8px;
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
  padding: 0.65rem 0.85rem;
  transition: background 180ms ease, color 180ms ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(24, 168, 255, 0.11);
  color: var(--text);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.28rem auto;
  border-radius: 99px;
  background: currentColor;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: calc(100vh - 5rem);
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.1rem;
  font-size: clamp(3.2rem, 8vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.35rem;
  line-height: 1.2;
}

.hero-copy,
.page-hero p,
.large-text {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-copy {
  max-width: 610px;
  margin-bottom: 2rem;
}

.hero-actions,
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 8px;
  font-weight: 800;
  padding: 0.8rem 1.15rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
  border: 1px solid rgba(126, 232, 255, 0.4);
  background: linear-gradient(135deg, var(--blue-strong), var(--blue));
  box-shadow: 0 18px 50px rgba(0, 109, 255, 0.32);
  color: #fff;
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.button-secondary:hover {
  border-color: rgba(126, 232, 255, 0.48);
  background: rgba(24, 168, 255, 0.1);
}

.hero-panel {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid rgba(126, 232, 255, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(24, 168, 255, 0.28), transparent 18rem),
    rgba(255, 255, 255, 0.04);
  background-size: 34px 34px, 34px 34px, auto, auto;
  box-shadow: var(--shadow);
}

.studio-emblem {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: clamp(10rem, 32vw, 15rem);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(126, 232, 255, 0.42);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(0, 109, 255, 0.86), rgba(5, 5, 16, 0.92));
  box-shadow: 0 0 70px rgba(24, 168, 255, 0.38);
  transform: translate(-50%, -50%) rotate(45deg);
}

.studio-emblem span {
  display: block;
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  transform: rotate(-45deg);
}

.orbital {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid rgba(126, 232, 255, 0.22);
  border-radius: 999px;
  transform: translate(-50%, -50%);
  animation: rotate 16s linear infinite;
}

.orbital-one {
  width: 74%;
  aspect-ratio: 1;
}

.orbital-two {
  width: 52%;
  aspect-ratio: 1;
  animation-duration: 10s;
  animation-direction: reverse;
}

.orbital::after {
  position: absolute;
  top: 10%;
  left: 18%;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 22px var(--cyan);
  content: "";
}

.status-card,
.metric-grid {
  position: absolute;
  right: 1rem;
  left: 1rem;
  display: flex;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(5, 5, 16, 0.72);
  backdrop-filter: blur(16px);
}

.status-card {
  top: 1rem;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1rem;
  color: var(--muted);
  font-weight: 700;
}

.status-dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 99px;
  background: #42ffb0;
  box-shadow: 0 0 16px rgba(66, 255, 176, 0.7);
}

.metric-grid {
  bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  overflow: hidden;
}

.metric-grid div {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.035);
}

.metric-grid strong,
.metric-grid span {
  display: block;
}

.metric-grid span {
  color: var(--muted);
  font-size: 0.9rem;
}

.content-band {
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(0, 109, 255, 0.08), rgba(255, 255, 255, 0.025));
  padding: clamp(4rem, 8vw, 6rem) 0;
}

.two-column {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(2rem, 6vw, 5rem);
}

.large-text {
  margin-bottom: 0;
}

.section-stack {
  padding: clamp(4rem, 8vw, 6.5rem) 0;
}

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

.game-card,
.info-card,
.release-card,
.legal-content {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.26);
}

.game-card {
  overflow: hidden;
}

.game-art,
.release-visual {
  display: grid;
  min-height: 14rem;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(0, 109, 255, 0.58), transparent 62%),
    linear-gradient(45deg, rgba(255, 255, 255, 0.07) 25%, transparent 25% 50%, rgba(255, 255, 255, 0.07) 50% 75%, transparent 75%),
    #091127;
  background-size: auto, 38px 38px, auto;
}

.game-art-alt {
  background:
    radial-gradient(circle at 70% 20%, rgba(126, 232, 255, 0.42), transparent 16rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
    #07101f;
}

.game-art span,
.release-visual span {
  border: 1px solid rgba(126, 232, 255, 0.38);
  border-radius: 8px;
  background: rgba(5, 5, 16, 0.7);
  color: #fff;
  font-size: clamp(1.4rem, 4vw, 2.7rem);
  font-weight: 900;
  padding: 0.75rem 1rem;
  text-transform: uppercase;
}

.game-card-body,
.release-content,
.info-card,
.legal-content {
  padding: clamp(1.15rem, 3vw, 1.6rem);
}

.game-card-body p,
.release-content p,
.info-card p,
.legal-content p,
.clean-list {
  color: var(--muted);
}

.text-link {
  color: var(--cyan);
  font-weight: 800;
}

.page-main {
  min-height: 70vh;
}

.page-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 3rem);
}

.page-hero h1 {
  font-size: clamp(3rem, 7vw, 5.7rem);
}

.page-hero p {
  max-width: 760px;
}

.release-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  overflow: hidden;
}

.release-visual {
  min-height: 26rem;
}

.release-content {
  align-self: center;
}

.store-buttons {
  margin-top: 1.5rem;
}

.store-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 800;
}

.store-button-disabled {
  color: rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.045);
}

.support-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.info-card .button {
  margin-top: auto;
  max-width: 100%;
  overflow-wrap: anywhere;
}

.clean-list {
  padding-left: 1.1rem;
}

.clean-list li + li {
  margin-top: 0.55rem;
}

.legal-layout {
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.legal-content {
  max-width: 900px;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.legal-content a {
  color: var(--cyan);
  font-weight: 800;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 5, 16, 0.92);
  padding: 1.4rem clamp(1rem, 4vw, 3rem);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--cyan);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@keyframes rotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

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

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

@media (max-width: 820px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    inset: 4.85rem 1rem auto;
    display: grid;
    gap: 0.35rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(5, 5, 16, 0.96);
    padding: 0.65rem;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-0.7rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  body.nav-open .site-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 0.9rem;
  }

  .hero,
  .two-column,
  .release-card,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-panel {
    min-height: 380px;
  }

  .game-grid {
    grid-template-columns: 1fr;
  }

  .release-visual {
    min-height: 18rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 1rem;
  }

  .brand-name {
    font-size: 0.92rem;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

  .hero-actions,
  .store-buttons {
    flex-direction: column;
  }

  .button,
  .store-button {
    width: 100%;
  }

  .metric-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    min-height: 340px;
  }
}
