:root {
  color-scheme: dark;
  --bg: #050707;
  --bg-2: #0a1010;
  --ink: #f5f2ea;
  --muted: #9ba6a6;
  --line: rgba(245, 242, 234, 0.14);
  --panel: rgba(12, 18, 19, 0.78);
  --panel-strong: rgba(245, 242, 234, 0.08);
  --cyan: #29d4e8;
  --cyan-soft: rgba(41, 212, 232, 0.2);
  --lime: #9cff6b;
  --orange: #ff6b3d;
  --shadow: rgba(0, 0, 0, 0.42);
  --max: 1480px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    linear-gradient(90deg, rgba(245, 242, 234, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(245, 242, 234, 0.035) 1px, transparent 1px),
    radial-gradient(circle at 12% 8%, rgba(41, 212, 232, 0.12), transparent 26rem),
    radial-gradient(circle at 84% 22%, rgba(255, 107, 61, 0.1), transparent 28rem),
    var(--bg);
  background-size: 84px 84px, 84px 84px, auto, auto, auto;
}

a {
  color: inherit;
}

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

#motion-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  opacity: 0.72;
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 7, 0.72);
  backdrop-filter: blur(20px);
}

.brand img {
  width: clamp(11rem, 18vw, 17rem);
  height: auto;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2.2vw, 1.8rem);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 750;
}

.site-header a,
.site-footer a,
.text-link {
  text-decoration: none;
}

.site-header nav a:hover,
.site-footer a:hover,
.text-link:hover {
  color: var(--cyan);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: end;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(8rem, 16vw, 13rem) clamp(1rem, 4vw, 4rem) clamp(4rem, 8vw, 7rem);
}

.compact-hero {
  min-height: 72svh;
}

.compact-hero h1 {
  max-width: 13ch;
  font-size: clamp(3.5rem, 8vw, 7.25rem);
  line-height: 0.95;
}

.text-page h1 {
  max-width: 10ch;
}

.hero-copy {
  width: min(960px, 100%);
}

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

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  max-width: 10ch;
  margin: 0.65rem 0 1.1rem;
  font-size: clamp(4.2rem, 12vw, 11rem);
  line-height: 0.9;
}

.lede {
  width: min(720px, 100%);
  margin: 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

.hero-jump {
  position: absolute;
  right: clamp(1rem, 4vw, 4rem);
  bottom: clamp(2rem, 5vw, 4rem);
  display: grid;
  gap: 0.75rem;
  justify-items: center;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero-jump .line {
  display: block;
  width: 1px;
  height: 5.5rem;
  background: linear-gradient(var(--cyan), transparent);
}

.game-index,
.studio-band {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 4rem);
}

.section-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.section-intro h2,
.studio-band h2 {
  max-width: 12ch;
  margin: 0.35rem 0 0;
  font-size: clamp(2.4rem, 6vw, 6.5rem);
  line-height: 0.95;
}

.game-panel {
  display: grid;
  min-height: 78svh;
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(245, 242, 234, 0.08), transparent 38%),
    var(--panel);
  box-shadow: 0 2rem 5rem var(--shadow);
}

.featured-panel {
  grid-template-columns: minmax(0, 1.2fr) minmax(22rem, 0.8fr);
}

.game-visual-stack {
  position: relative;
  min-height: 45rem;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background:
    radial-gradient(circle at 34% 38%, rgba(41, 212, 232, 0.16), transparent 24rem),
    #070b0d;
}

.phone-shot {
  position: absolute;
  width: min(30vw, 24rem);
  min-width: 14rem;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(245, 242, 234, 0.22);
  border-radius: 26px;
  background: #111;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.48);
}

.phone-shot::before {
  position: absolute;
  top: 0.7rem;
  left: 50%;
  z-index: 2;
  width: 34%;
  height: 0.42rem;
  border-radius: 999px;
  background: rgba(5, 7, 7, 0.82);
  content: "";
  transform: translateX(-50%);
}

.phone-shot img {
  width: 100%;
  aspect-ratio: 9 / 12;
  object-fit: cover;
}

.shot-one {
  left: 8%;
  bottom: -8%;
  z-index: 3;
  transform: rotate(-7deg);
}

.shot-two {
  left: 34%;
  top: 8%;
  z-index: 2;
  transform: rotate(6deg);
}

.shot-three {
  right: 7%;
  bottom: 6%;
  z-index: 1;
  transform: rotate(3deg);
}

.game-content {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: clamp(1.2rem, 4vw, 3rem);
}

.game-content h3 {
  margin: 0.4rem 0 0.9rem;
  font-size: clamp(2.7rem, 6vw, 6.4rem);
  line-height: 0.9;
}

.game-content p:not(.eyebrow) {
  max-width: 36rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.store-button {
  display: grid;
  min-width: 12.5rem;
  min-height: 3.4rem;
  place-items: center;
  padding: 0.68rem 1rem;
  border: 1px solid rgba(245, 242, 234, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 242, 234, 0.09), rgba(245, 242, 234, 0.03)),
    rgba(5, 7, 7, 0.74);
  color: var(--ink);
  line-height: 1.05;
  text-decoration: none;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(245, 242, 234, 0.12);
}

.store-button:hover {
  border-color: rgba(41, 212, 232, 0.58);
  background:
    linear-gradient(180deg, rgba(41, 212, 232, 0.12), rgba(245, 242, 234, 0.04)),
    rgba(5, 7, 7, 0.8);
}

.store-button span {
  font-size: 0.72rem;
  font-weight: 750;
}

.store-button strong {
  font-size: 1.28rem;
}

.store-button.solo strong {
  font-size: 1.1rem;
}

.text-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.quiet-panel {
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.72fr);
  min-height: 42rem;
}

.future-slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: clamp(1rem, 3vw, 2rem);
}

.future-slots span {
  min-height: 32rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(245, 242, 234, 0.1), transparent),
    rgba(245, 242, 234, 0.03);
}

.future-slots span:nth-child(2) {
  transform: translateY(3rem);
}

.future-slots span:nth-child(3) {
  transform: translateY(1.2rem);
}

.ricochet-panel {
  background:
    radial-gradient(circle at 25% 28%, rgba(41, 212, 232, 0.18), transparent 28rem),
    radial-gradient(circle at 80% 72%, rgba(156, 255, 107, 0.1), transparent 22rem),
    var(--panel);
}

.ricochet-slots span {
  position: relative;
  overflow: hidden;
}

.ricochet-slots span::before,
.ricochet-slots span::after {
  position: absolute;
  border-radius: 999px;
  content: "";
}

.ricochet-slots span::before {
  left: 22%;
  top: 22%;
  width: 56%;
  aspect-ratio: 1;
  border: 2px solid var(--cyan);
  box-shadow: 0 0 2rem var(--cyan-soft);
}

.ricochet-slots span::after {
  right: 18%;
  bottom: 22%;
  width: 4rem;
  aspect-ratio: 1;
  background: var(--ink);
  box-shadow: 0 0 2rem rgba(245, 242, 234, 0.22);
}

.studio-band {
  border-top: 1px solid var(--line);
}

.studio-band p:not(.eyebrow) {
  max-width: 46rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.game-detail-hero h1 {
  max-width: 8ch;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding-top: 0;
}

.static-shot {
  position: relative;
  inset: auto;
  width: auto;
  min-width: 0;
  transform: none;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #030505;
}

@media (max-width: 900px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 86svh;
    padding-top: 9rem;
  }

  .compact-hero {
    min-height: 64svh;
  }

  .hero-jump {
    display: none;
  }

  h1 {
    max-width: 9ch;
    font-size: clamp(3.8rem, 18vw, 7rem);
  }

  .compact-hero h1 {
    max-width: 11ch;
    font-size: clamp(3rem, 13vw, 5.2rem);
  }

  .section-intro {
    align-items: start;
    flex-direction: column;
  }

  .featured-panel,
  .quiet-panel {
    grid-template-columns: 1fr;
  }

  .game-visual-stack {
    min-height: 35rem;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .phone-shot {
    width: min(48vw, 18rem);
    min-width: 11rem;
  }

  .game-content h3 {
    font-size: clamp(2.8rem, 16vw, 5rem);
  }

  .quiet-panel {
    min-height: auto;
  }

  .future-slots {
    grid-template-columns: repeat(3, 13rem);
    overflow: hidden;
  }

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

@media (max-width: 560px) {
  .brand img {
    width: 12.5rem;
  }

  .hero {
    min-height: 78svh;
  }

  .compact-hero {
    min-height: 60svh;
  }

  h1 {
    max-width: 8ch;
    font-size: clamp(3.15rem, 19vw, 4.8rem);
  }

  .compact-hero h1 {
    max-width: 11ch;
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  .game-panel {
    min-height: auto;
  }

  .game-visual-stack {
    min-height: 31rem;
  }

  .shot-one {
    left: -1rem;
    bottom: -3.5rem;
  }

  .shot-two {
    left: 36%;
    top: 2rem;
  }

  .shot-three {
    right: -2.8rem;
    bottom: 2.5rem;
  }

  .panel-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .store-button {
    width: 100%;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }

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