:root {
  color-scheme: dark;
  --bg: #07080d;
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.16);
  --text: #f7f7fb;
  --muted: #a6a9b7;
  --orange: #ff9d00;
  --gold: #ffc247;
  --blue: #5bbcff;
  --green: #72e6a6;
  --rose: #ff6f9f;
  --discord: #5865f2;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.45);
  --header-h: 76px;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

#games,
#all-games,
#spotlight,
#studio,
#play {
  scroll-margin-top: 34px;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(135deg, rgba(255, 157, 0, 0.12), transparent 24rem),
    linear-gradient(210deg, rgba(91, 188, 255, 0.1), transparent 28rem),
    #07080d;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), transparent 75%);
}

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

img,
svg {
  display: block;
}

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

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: var(--progress, 0%);
  height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--blue), var(--green));
  box-shadow: 0 0 26px rgba(255, 157, 0, 0.55);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.13;
  background-image:
    repeating-radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.18) 0 1px, transparent 1px 4px);
  mix-blend-mode: overlay;
}

.stage-light {
  position: fixed;
  z-index: -3;
  width: 55vw;
  height: 55vw;
  pointer-events: none;
  opacity: 0.34;
  filter: blur(45px);
  transform: translate3d(0, 0, 0);
  animation: drift 18s ease-in-out infinite alternate;
}

.stage-light-one {
  top: -20vw;
  right: -18vw;
  background: conic-gradient(from 120deg, transparent, rgba(255, 157, 0, 0.7), transparent 38%);
}

.stage-light-two {
  bottom: 8vh;
  left: -22vw;
  background: conic-gradient(from 260deg, transparent, rgba(91, 188, 255, 0.46), transparent 40%);
  animation-delay: -6s;
}

.site-header {
  position: fixed;
  top: 14px;
  left: 50%;
  z-index: 15;
  display: flex;
  width: min(1120px, calc(100% - 32px));
  height: var(--header-h);
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(10, 11, 17, 0.62);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(26px) saturate(150%);
  transform: translateX(-50%);
}

.site-header[data-reveal] {
  transform: translate(-50%, 34px);
}

.brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding-right: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 22px rgba(255, 157, 0, 0.35);
}

.nav-links {
  display: flex;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a {
  min-width: 86px;
  padding: 11px 15px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  transition:
    color 220ms ease,
    background 220ms ease,
    transform 220ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active {
  color: var(--text);
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.hero {
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--header-h) + 66px) 0 70px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: clamp(0.78rem, 1.3vw, 0.88rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 680px;
  margin-bottom: 22px;
  font-size: clamp(4.2rem, 12vw, 9.8rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: 0;
}

h2 {
  max-width: 900px;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 7vw, 6.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-text {
  max-width: 560px;
  color: #d8dae4;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.primary-link,
.secondary-link,
.game-link,
.launch-tile {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 850;
  line-height: 1;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease,
    background 260ms ease;
}

.primary-link {
  padding: 16px 22px;
  color: #100d06;
  background: linear-gradient(135deg, var(--gold), var(--orange));
  box-shadow: 0 16px 36px rgba(255, 157, 0, 0.28);
}

.secondary-link {
  padding: 16px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.primary-link:hover,
.secondary-link:hover,
.game-link:hover,
.launch-tile:hover {
  transform: translateY(-3px);
}

.primary-link svg,
.game-link svg,
.launch-tile svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.hero-visual {
  position: relative;
  min-height: min(64vw, 680px);
  perspective: 1100px;
}

.hero-orbit-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-badge {
  position: absolute;
  top: var(--badge-y, 50%);
  left: var(--badge-x, 50%);
  z-index: 3;
  display: inline-flex;
  width: clamp(126px, 13vw, 168px);
  max-width: min(168px, 38vw);
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
  min-height: 52px;
  padding: 10px 14px 10px 10px;
  border: 1px solid color-mix(in srgb, var(--accent) 46%, transparent);
  border-radius: 999px;
  background: rgba(10, 11, 17, 0.7);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px) saturate(150%);
  transform: translate(-50%, -50%);
  pointer-events: auto;
  animation: badgeFloat 5.4s ease-in-out infinite;
  animation-delay: var(--delay, 0ms);
}

.hero-badge:nth-child(1) {
  --badge-x: 8%;
  --badge-y: 40%;
}

.hero-badge:nth-child(2) {
  --badge-x: 80%;
  --badge-y: 23%;
}

.hero-badge:nth-child(3) {
  --badge-x: 61%;
  --badge-y: 87%;
}

.hero-badge-mark {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #090a0f;
  background: var(--accent);
  font-size: 0.76rem;
  font-weight: 950;
  overflow: hidden;
}

.hero-badge-logo {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.hero-badge-mark b {
  display: none;
  font: inherit;
}

.hero-badge-mark.image-error .hero-badge-logo {
  display: none;
}

.hero-badge-mark.image-error b {
  display: block;
}

.hero-badge strong {
  min-width: 0;
  overflow: hidden;
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.logo-system {
  position: sticky;
  top: 120px;
  display: grid;
  min-height: min(64vw, 680px);
  place-items: center;
  transform-style: preserve-3d;
}

.logo-system img {
  width: min(78vw, 560px);
  aspect-ratio: 1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 40px 130px rgba(0, 0, 0, 0.62),
    0 0 60px rgba(255, 157, 0, 0.28);
  transform: translateZ(46px);
  animation: floatLogo 6s ease-in-out infinite;
}

.orbit {
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  pointer-events: none;
}

.orbit-outer {
  border: 1px solid rgba(255, 157, 0, 0.48);
  box-shadow:
    inset 0 0 22px rgba(255, 157, 0, 0.1),
    0 0 28px rgba(255, 157, 0, 0.2);
  animation: rotateSlow 18s linear infinite;
}

.orbit-outer::after {
  position: absolute;
  top: 5%;
  left: 75%;
  width: 20%;
  height: 4px;
  border-radius: 999px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  filter: blur(0.2px);
}

.orbit-inner {
  inset: 19%;
  border: 1px solid rgba(91, 188, 255, 0.2);
  transform: rotateX(64deg) rotateZ(-18deg);
  animation: rotateSlow 24s linear infinite reverse;
}

.intro-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 8px 0 94px;
}

.intro-item {
  overflow: hidden;
  min-height: 152px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.intro-number {
  display: block;
  max-width: 100%;
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(2.35rem, 3.7vw, 3.75rem);
  font-weight: 900;
  line-height: 0.95;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.intro-item span:last-child {
  color: var(--muted);
  font-weight: 750;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.section-heading,
.launch-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 82px 0 50px;
}

.game-showcase {
  display: grid;
  gap: 18px;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.preview-actions {
  display: flex;
  justify-content: flex-end;
  width: min(1180px, calc(100% - 40px));
  margin: 18px auto 0;
}

.game-feature {
  position: relative;
  display: grid;
  min-height: 520px;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(22px, 5vw, 58px);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04)),
    rgba(12, 14, 22, 0.72);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
}

.game-feature::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.16), transparent 30%);
  opacity: 0;
  transition: opacity 280ms ease;
}

.game-feature:hover::before {
  opacity: 1;
}

.game-feature.realseek {
  --accent: var(--blue);
  --accent-soft: rgba(91, 188, 255, 0.22);
}

.game-feature.imposter {
  --accent: var(--rose);
  --accent-soft: rgba(255, 111, 159, 0.2);
}

.game-feature.jerbypoly {
  --accent: var(--green);
  --accent-soft: rgba(114, 230, 166, 0.19);
}

.game-art {
  position: relative;
  display: grid;
  min-height: 360px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(160deg, var(--accent-soft), rgba(255, 157, 0, 0.09)),
    rgba(255, 255, 255, 0.04);
  overflow: hidden;
  transform: translateZ(28px);
}

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

.game-art::before {
  inset: -80px;
  background:
    linear-gradient(115deg, transparent 0 35%, rgba(255, 255, 255, 0.12) 48%, transparent 58%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 42px);
  transform: translateX(-25%);
  animation: sweep 5.4s ease-in-out infinite;
}

.game-art::after {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
}

.game-art.has-image {
  background:
    linear-gradient(160deg, var(--accent-soft), rgba(255, 157, 0, 0.06)),
    rgba(255, 255, 255, 0.04);
}

.game-art.has-image::before {
  z-index: 2;
  opacity: 0.62;
}

.game-art.has-image::after {
  z-index: 3;
}

.game-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.game-image-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(7, 8, 13, 0.03), rgba(7, 8, 13, 0.44)),
    radial-gradient(circle at 22% 18%, color-mix(in srgb, var(--accent) 28%, transparent), transparent 36%);
}

.image-generated-fallback {
  display: none;
}

.game-art.image-error .game-image,
.game-art.image-error .game-image-shade {
  display: none;
}

.game-art.image-error .image-generated-fallback {
  display: contents;
}

.game-art.has-image .image-token {
  z-index: 4;
  padding: 0.08em 0.18em;
  border-radius: 8px;
  background: rgba(7, 8, 13, 0.38);
  backdrop-filter: blur(12px);
}

.game-token {
  position: relative;
  z-index: 1;
  font-size: clamp(4rem, 10vw, 8rem);
  font-weight: 950;
  line-height: 0.9;
  text-shadow: 0 22px 52px rgba(0, 0, 0, 0.45);
}

.scan-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(91, 188, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 188, 255, 0.16) 1px, transparent 1px);
  background-size: 32px 32px;
  animation: gridMove 9s linear infinite;
}

.search-pulse {
  position: absolute;
  width: 190px;
  height: 190px;
  border: 2px solid rgba(91, 188, 255, 0.72);
  border-radius: 50%;
  animation: pulseRing 2.6s ease-out infinite;
}

.signal-lines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(255, 111, 159, 0.16) 29px 30px),
    linear-gradient(90deg, transparent, rgba(255, 111, 159, 0.22), transparent);
  animation: signalShift 4.6s ease-in-out infinite;
}

.mask-shape {
  position: absolute;
  width: 190px;
  height: 118px;
  border: 2px solid rgba(255, 255, 255, 0.68);
  border-radius: 42px 42px 54px 54px;
  box-shadow: 0 0 44px rgba(255, 111, 159, 0.3);
}

.mask-shape::before,
.mask-shape::after {
  position: absolute;
  top: 42px;
  width: 36px;
  height: 21px;
  border-radius: 999px;
  content: "";
  background: rgba(255, 255, 255, 0.88);
}

.mask-shape::before {
  left: 42px;
}

.mask-shape::after {
  right: 42px;
}

.board-loop {
  position: absolute;
  width: 230px;
  height: 230px;
  border: 2px solid rgba(114, 230, 166, 0.65);
  border-radius: 8px;
  animation: boardTurn 8s linear infinite;
}

.board-loop span {
  position: absolute;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.11);
}

.board-loop span:nth-child(1) {
  top: 12px;
  left: 12px;
}

.board-loop span:nth-child(2) {
  top: 12px;
  right: 12px;
}

.board-loop span:nth-child(3) {
  right: 12px;
  bottom: 12px;
}

.board-loop span:nth-child(4) {
  bottom: 12px;
  left: 12px;
}

.dice-cube {
  position: absolute;
  right: 18%;
  bottom: 18%;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border-radius: 8px;
  color: #0b1510;
  background: linear-gradient(135deg, #ffffff, var(--green));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.35);
  font-size: 2.1rem;
  font-weight: 950;
  animation: diceFloat 3.6s ease-in-out infinite;
}

.game-content {
  position: relative;
  z-index: 1;
}

.game-kicker {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.game-content h3 {
  margin-bottom: 18px;
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
}

.game-content p:not(.game-kicker) {
  max-width: 580px;
  color: #cfd2dd;
  font-size: clamp(1rem, 1.7vw, 1.24rem);
  line-height: 1.65;
}

.game-content .game-headline {
  margin-bottom: 12px;
  color: var(--text);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 850;
  line-height: 1.35;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  color: #e6e8f1;
  background: rgba(255, 255, 255, 0.06);
  font-size: 0.86rem;
  font-weight: 750;
}

.game-link {
  margin-top: 18px;
  padding: 15px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid color-mix(in srgb, var(--accent) 52%, transparent);
  color: var(--text);
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 20%, transparent), rgba(255, 255, 255, 0.05));
}

.route-line {
  position: absolute;
  width: 62%;
  height: 48%;
  border: 3px solid rgba(255, 255, 255, 0.38);
  border-right-color: transparent;
  border-bottom-color: transparent;
  border-radius: 42% 58% 42% 58%;
  transform: rotate(-21deg);
  animation: routePulse 4.2s ease-in-out infinite;
}

.gps-pin {
  position: absolute;
  top: 22%;
  right: 24%;
  width: 34px;
  height: 34px;
  border: 2px solid #ffffff;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  box-shadow: 0 0 32px color-mix(in srgb, var(--accent) 60%, transparent);
  transform: rotate(-45deg);
  animation: pinDrop 3.2s ease-in-out infinite;
}

.gps-pin::after {
  position: absolute;
  top: 9px;
  left: 9px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  content: "";
  background: #090a0f;
}

.word-ring {
  position: absolute;
  width: min(72%, 330px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: rotateSlow 18s linear infinite;
}

.word-ring span {
  position: absolute;
  display: grid;
  min-width: 70px;
  min-height: 34px;
  place-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  font-weight: 900;
}

.word-ring span:nth-child(1) {
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
}

.word-ring span:nth-child(2) {
  right: -24px;
  bottom: 26%;
}

.word-ring span:nth-child(3) {
  bottom: 4%;
  left: 7%;
}

.loading-card,
.empty-state {
  min-height: 280px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.loading-card,
.empty-state {
  display: grid;
  place-items: center;
  text-align: center;
}

.loading-card span,
.empty-state strong {
  font-size: clamp(1.4rem, 4vw, 2.6rem);
  font-weight: 950;
}

.empty-state span {
  max-width: 620px;
  color: var(--muted);
  line-height: 1.6;
}

.spotlight-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 50px;
}

.spotlight-copy {
  position: sticky;
  top: 128px;
}

.spotlight-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 28px;
  color: #cfd2dd;
  font-size: clamp(1rem, 1.8vw, 1.24rem);
  line-height: 1.65;
}

.spotlight-track {
  display: grid;
  gap: 14px;
}

.spotlight-card {
  min-height: 218px;
  padding: 28px;
  border: 1px solid color-mix(in srgb, var(--accent) 36%, rgba(255, 255, 255, 0.14));
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 20%, color-mix(in srgb, var(--accent) 24%, transparent), transparent 38%),
    rgba(255, 255, 255, 0.06);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.28);
}

.spotlight-card span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 50%;
  color: #090a0f;
  background: var(--accent);
  font-weight: 950;
}

.spotlight-card h3 {
  margin: 22px 0 12px;
  font-size: clamp(1.8rem, 3.8vw, 3.2rem);
  line-height: 0.95;
}

.spotlight-card p {
  margin: 0;
  color: #d6d8e2;
  line-height: 1.6;
}

.studio-section {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 90px;
}

.studio-copy p:not(.eyebrow) {
  max-width: 700px;
  margin-top: 28px;
  color: #cfd2dd;
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.studio-panel {
  display: grid;
  min-height: 420px;
  place-items: center;
  padding: 36px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 157, 0, 0.2), transparent 42%),
    linear-gradient(320deg, rgba(91, 188, 255, 0.18), transparent 45%),
    rgba(255, 255, 255, 0.055);
  box-shadow: var(--shadow);
  text-align: center;
}

.studio-panel img {
  width: min(290px, 70%);
  margin-bottom: 22px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);
}

.studio-panel span {
  display: block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.studio-panel strong {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.7rem, 4vw, 3rem);
}

.launch-section {
  padding-bottom: 160px;
}

.launch-section h2 {
  margin-bottom: 34px;
}

.launch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.launch-tile {
  position: relative;
  min-height: 132px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 24%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 44%),
    rgba(255, 255, 255, 0.075);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.27);
  font-size: clamp(1.18rem, 2vw, 1.6rem);
}

.launch-tile svg {
  position: absolute;
  top: 24px;
  right: 24px;
  flex: 0 0 auto;
}

.launch-tile small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.all-games-page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: calc(var(--header-h) + 96px) 0 150px;
}

.all-games-hero {
  max-width: 860px;
  margin-bottom: 48px;
}

.all-games-hero h1 {
  margin-bottom: 22px;
  font-size: clamp(3.3rem, 9vw, 7.3rem);
}

.all-games-hero p:not(.eyebrow) {
  max-width: 670px;
  color: #d8dae4;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.6;
}

.all-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 18px;
}

.all-game-card {
  position: relative;
  display: grid;
  min-height: 100%;
  grid-template-rows: auto 1fr;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 16%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 44%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    rgba(12, 14, 22, 0.74);
  box-shadow: var(--shadow);
  overflow: hidden;
  transform-style: preserve-3d;
}

.all-game-art {
  min-height: 0;
  aspect-ratio: 1 / 1;
  transform: none;
}

.all-game-art.has-image .game-image {
  inset: 18px;
  width: calc(100% - 36px);
  height: calc(100% - 36px);
  object-fit: contain !important;
}

.all-game-art.has-image .game-image-shade {
  background:
    linear-gradient(180deg, rgba(7, 8, 13, 0.02), rgba(7, 8, 13, 0.16)),
    radial-gradient(circle at 22% 18%, color-mix(in srgb, var(--accent) 22%, transparent), transparent 42%);
}

.all-game-art .game-token {
  font-size: clamp(3.1rem, 8vw, 5.2rem);
}

.all-game-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 2px 4px 4px;
}

.all-game-content h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.95;
}

.all-game-content p:not(.game-kicker) {
  color: #cfd2dd;
  line-height: 1.6;
}

.all-game-content .game-headline {
  margin-bottom: 10px;
  color: var(--text);
  font-weight: 850;
}

.all-game-content .feature-list {
  margin-top: auto;
  padding-top: 18px;
}

.all-game-content .game-link {
  align-self: flex-start;
}

.discord-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 18;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: linear-gradient(135deg, var(--discord), #7a86ff);
  box-shadow: 0 18px 45px rgba(88, 101, 242, 0.36);
  font-weight: 900;
  transition:
    transform 240ms ease,
    box-shadow 240ms ease;
}

.discord-float:hover,
.discord-float:focus-visible {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 22px 60px rgba(88, 101, 242, 0.48);
}

.discord-float svg {
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  fill: currentColor;
  overflow: visible;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity 800ms cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 800ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

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

.site-header[data-reveal].is-visible {
  transform: translate(-50%, 0);
}

@keyframes drift {
  from {
    transform: translate3d(-3%, 2%, 0) rotate(0deg);
  }

  to {
    transform: translate3d(5%, -4%, 0) rotate(18deg);
  }
}

@keyframes floatLogo {
  0%,
  100% {
    transform: translate3d(0, 0, 46px) rotateX(0deg);
  }

  50% {
    transform: translate3d(0, -18px, 46px) rotateX(2deg);
  }
}

@keyframes rotateSlow {
  to {
    transform: rotate(360deg);
  }
}

@keyframes badgeFloat {
  0%,
  100% {
    transform: translate(-50%, -50%) translate3d(0, 0, 0);
  }

  50% {
    transform: translate(-50%, -50%) translate3d(0, -10px, 0);
  }
}

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

  50% {
    transform: translateX(24%);
  }
}

@keyframes gridMove {
  to {
    background-position: 32px 64px;
  }
}

@keyframes pulseRing {
  from {
    opacity: 0.78;
    transform: scale(0.62);
  }

  to {
    opacity: 0;
    transform: scale(1.55);
  }
}

@keyframes routePulse {
  0%,
  100% {
    opacity: 0.5;
    transform: rotate(-21deg) scale(0.98);
  }

  50% {
    opacity: 0.92;
    transform: rotate(-21deg) scale(1.04);
  }
}

@keyframes pinDrop {
  0%,
  100% {
    transform: translateY(0) rotate(-45deg);
  }

  50% {
    transform: translateY(-12px) rotate(-45deg);
  }
}

@keyframes signalShift {
  0%,
  100% {
    transform: translateY(-16px);
    opacity: 0.88;
  }

  50% {
    transform: translateY(18px);
    opacity: 0.58;
  }
}

@keyframes boardTurn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes diceFloat {
  0%,
  100% {
    transform: translateY(0) rotate(8deg);
  }

  50% {
    transform: translateY(-16px) rotate(-8deg);
  }
}

@media (max-width: 900px) {
  .site-header {
    height: auto;
    min-height: 68px;
    gap: 10px;
  }

  .brand span {
    display: none;
  }

  .nav-links {
    flex: 1;
    justify-content: space-between;
  }

  .nav-links a {
    min-width: 0;
    flex: 1;
    padding-inline: 10px;
    font-size: 0.82rem;
  }

  .hero,
  .game-feature,
  .studio-section,
  .spotlight-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 128px;
  }

  .hero-visual,
  .logo-system {
    min-height: 420px;
  }

  .intro-strip,
  .launch-grid {
    grid-template-columns: 1fr;
  }

  .game-feature {
    min-height: 0;
  }

  .game-art {
    min-height: 300px;
  }

  .studio-section {
    padding-top: 90px;
  }

  .spotlight-copy {
    position: static;
  }

  .hero-badge:nth-child(1) {
    --badge-x: 8%;
    --badge-y: 16%;
  }

  .hero-badge:nth-child(2) {
    --badge-x: 88%;
    --badge-y: 30%;
  }

  .hero-badge:nth-child(3) {
    --badge-x: 24%;
    --badge-y: 88%;
  }
}

@media (hover: none), (pointer: coarse) {
  html {
    scroll-behavior: auto;
  }

  body::before,
  .grain,
  .stage-light {
    display: none;
  }

  .scroll-progress {
    box-shadow: none;
  }

  .site-header,
  .hero-badge,
  .intro-item,
  .game-feature,
  .game-art,
  .spotlight-card,
  .studio-panel,
  .discord-float {
    backdrop-filter: none;
  }

  .logo-system {
    position: relative;
    top: auto;
  }

  .logo-system img,
  .orbit-outer,
  .orbit-inner,
  .hero-badge,
  .game-art::before,
  .scan-grid,
  .search-pulse,
  .signal-lines,
  .word-ring,
  .board-loop,
  .dice-cube,
  .route-line,
  .gps-pin {
    animation: none;
  }

  .game-feature,
  .game-art,
  .logo-system img {
    transform: none !important;
  }

  [data-reveal] {
    transform: translateY(18px);
    transition-duration: 420ms;
  }

  [data-reveal].is-visible {
    transform: none;
  }

  .site-header[data-reveal],
  .site-header[data-reveal].is-visible {
    transform: translateX(-50%);
  }
}

@media (max-width: 580px) {
  :root {
    --header-h: 64px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
    padding: 9px;
    border-radius: 20px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand {
    display: none;
  }

  .nav-links {
    width: 100%;
  }

  .nav-links a {
    padding: 10px 5px;
    font-size: 0.76rem;
  }

  .hero,
  .intro-strip,
  .section-heading,
  .game-showcase,
  .preview-actions,
  .studio-section,
  .launch-section,
  .all-games-page {
    width: min(100% - 24px, 1180px);
  }

  h1 {
    font-size: clamp(3.7rem, 19vw, 5.8rem);
  }

  h2 {
    font-size: clamp(2.25rem, 13vw, 4rem);
  }

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

  .primary-link,
  .secondary-link,
  .preview-actions .secondary-link {
    width: 100%;
  }

  .preview-actions {
    justify-content: stretch;
  }

  .hero-visual,
  .logo-system {
    min-height: 330px;
  }

  .hero-badge {
    min-height: 46px;
    padding: 8px 12px 8px 8px;
  }

  .hero-badge-mark {
    width: 30px;
    height: 30px;
  }

  .hero-badge strong {
    font-size: 0.8rem;
  }

  .game-feature {
    padding: 16px;
  }

  .game-art {
    min-height: 250px;
  }

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

  .studio-panel {
    min-height: 320px;
    padding: 22px;
  }

  .spotlight-section {
    width: min(100% - 24px, 1180px);
    padding-top: 86px;
  }

  .spotlight-card {
    min-height: 190px;
    padding: 22px;
  }

  .launch-section {
    padding-bottom: 124px;
  }

  .all-games-page {
    padding-top: 112px;
    padding-bottom: 120px;
  }

  .all-game-art {
    min-height: 0;
  }

  .discord-float {
    right: 14px;
    bottom: 14px;
    min-height: 50px;
    padding: 13px 15px;
  }
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .site-header[data-reveal],
  .site-header[data-reveal].is-visible {
    transform: translateX(-50%);
  }
}

.error-page {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.error-shell {
  width: min(720px, 100%);
  text-align: center;
}

.error-shell img {
  width: 128px;
  height: 128px;
  margin: 0 auto 28px;
  border-radius: 50%;
}

.error-shell h1 {
  margin-bottom: 18px;
}

.error-shell p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.2rem;
}
