/* ==========================================================================
   Soulmate Games
   ========================================================================== */

:root {
  --bg: #07060b;
  --bg-2: #0d0b14;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f5f3fa;
  --muted: #a39db3;
  --dim: #6f6982;

  --hot: #ff2d75;
  --sun: #ff9a1f;
  --gold: #ffd34d;
  --cyan: #2de2ff;
  --violet: #8b5cf6;
  --grad: linear-gradient(100deg, var(--hot) 0%, var(--sun) 55%, var(--gold) 100%);

  --font-display: "Unbounded", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "Cascadia Code", monospace;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); line-height: 1.02; letter-spacing: -0.02em; }
p { margin: 0; }
svg { width: 1em; height: 1em; fill: currentColor; flex: none; }
::selection { background: var(--hot); color: #fff; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; }

/* Grain over everything for a filmic feel */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

.kicker {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 18px; display: flex; align-items: center; gap: 10px;
}
.kicker::before { content: ""; width: 26px; height: 2px; background: var(--grad); border-radius: 2px; }

/* ---------- Buttons ---------- */
.btn {
  --h: 54px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 16px; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, border-color .25s, color .25s;
}
.btn svg { width: 19px; height: 19px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn-sm svg { width: 16px; height: 16px; }

.btn-primary { background: var(--grad); color: #160812; box-shadow: 0 10px 40px -10px rgba(255, 45, 117, .7); }
.btn-primary:hover { box-shadow: 0 16px 50px -10px rgba(255, 120, 60, .85); }
.btn-ghost { border: 1px solid var(--line); background: var(--surface); backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: rgba(255,255,255,.3); background: var(--surface-2); }
.btn-yt { background: #ff0033; color: #fff; }
.btn-yt:hover { box-shadow: 0 10px 30px -8px rgba(255, 0, 51, .7); }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(7, 6, 11, .72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-color: var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand img { border-radius: 10px; box-shadow: 0 0 0 1px var(--line), 0 6px 20px -6px rgba(255, 45, 117, .6); }
.brand b { font-weight: 500; color: var(--muted); margin-left: 4px; }
.nav-links { display: flex; align-items: center; gap: 32px; font-size: 15px; font-weight: 500; }
.nav-links > a:not(.btn) { color: var(--muted); position: relative; transition: color .2s; }
.nav-links > a:not(.btn):hover { color: var(--text); }
.nav-links > a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px;
  background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav-links > a:not(.btn):hover::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 25px; }
.nav-open .nav-toggle span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  padding: 120px 0 80px;
}
.hero-glow {
  position: absolute; inset: -20%; pointer-events: none;
  background:
    radial-gradient(40% 35% at 18% 30%, rgba(255, 45, 117, .28), transparent 70%),
    radial-gradient(35% 30% at 40% 85%, rgba(255, 154, 31, .18), transparent 70%),
    radial-gradient(35% 40% at 85% 20%, rgba(45, 226, 255, .16), transparent 70%),
    radial-gradient(30% 30% at 70% 80%, rgba(139, 92, 246, .22), transparent 70%);
  will-change: transform;
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  to { transform: translate3d(3%, -2%, 0) rotate(4deg) scale(1.05); }
}
.hero-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 30% 50%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 30% 50%, #000 20%, transparent 75%);
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); backdrop-filter: blur(8px);
  font-size: 14px; font-weight: 500; color: var(--muted);
}
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #3dff9a; box-shadow: 0 0 0 0 rgba(61, 255, 154, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(61, 255, 154, 0); } 100% { box-shadow: 0 0 0 0 rgba(61, 255, 154, 0); } }

.hero h1 {
  font-size: clamp(56px, 9.2vw, 132px);
  font-weight: 900; letter-spacing: -.045em; line-height: .92;
  margin: 26px 0 26px;
}
.hero h1 .grad-text { display: inline-block; padding-right: .06em; }
.lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--muted); max-width: 520px; }

.platform-row { list-style: none; padding: 0; margin: 40px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--dim); font-size: 14px; font-weight: 500; }
.platform-row li { display: inline-flex; align-items: center; gap: 8px; }
.platform-row svg { width: 16px; height: 16px; }

/* Scrolling wall of game art */
.hero-wall {
  position: relative; height: min(760px, 88vh);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
  transform: perspective(1400px) rotateY(-14deg) rotateX(6deg) rotate(4deg);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 86%, transparent);
}
.wall-col { overflow: hidden; }
.wall-track { display: flex; flex-direction: column; gap: 14px; animation: wall-up var(--dur, 40s) linear infinite; }
.wall-col.reverse .wall-track { animation-name: wall-down; }
.wall-track img {
  width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 16px;
  box-shadow: 0 0 0 1px var(--line), 0 20px 40px -20px #000;
}
.wall-track img.tall { aspect-ratio: 9 / 15; }
@keyframes wall-up { to { transform: translateY(calc(-50% - 7px)); } }
@keyframes wall-down { from { transform: translateY(calc(-50% - 7px)); } to { transform: translateY(0); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; translate: -50% 0;
  width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255,255,255,.25);
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--text); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee {
  position: relative; overflow: hidden; padding: 26px 0;
  border-block: 1px solid var(--line); background: var(--bg-2);
}
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 30s linear infinite; }
.marquee span {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 4vw, 52px); text-transform: uppercase; letter-spacing: -.02em;
  color: rgba(255, 255, 255, .16);
}
.marquee span:nth-of-type(5n+5) { color: var(--text); }
.marquee i { font-style: normal; font-size: 24px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
@keyframes marquee { to { transform: translateX(calc(-50% - 18px)); } }

/* ---------- Sections ---------- */
.section { padding: clamp(90px, 12vw, 160px) 0; position: relative; }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 { font-size: clamp(38px, 5.6vw, 76px); font-weight: 800; }
.section-head.split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.head-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); background: var(--surface); transition: background .2s, border-color .2s;
}
.icon-btn:hover { background: var(--surface-2); border-color: rgba(255,255,255,.3); }
.icon-btn svg { width: 18px; height: 18px; }

/* Cursor-follow glow used on cards */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: 2; pointer-events: none; opacity: 0;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), color-mix(in srgb, var(--accent, #fff) 22%, transparent), transparent 60%);
  transition: opacity .3s;
}
.glow:hover::before { opacity: 1; }

/* ---------- Games index ---------- */
.game-cards { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 18px; }
.game-card {
  border-radius: var(--radius); overflow: hidden; min-height: 520px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .5s var(--ease), border-color .3s;
}
.game-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .8s var(--ease); }
.game-card img.pos-top { object-position: center 20%; }
.game-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(7,6,11,0) 25%, rgba(7,6,11,.75) 60%, rgba(7,6,11,.96));
}
.game-card:hover { transform: translateY(-6px); border-color: color-mix(in srgb, var(--accent) 50%, transparent); }
.game-card:hover img { transform: scale(1.06); }
.game-card-body { padding: 28px; position: relative; z-index: 3; }
.game-card h3 { font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; margin: 14px 0 10px; }
.game-card p { color: var(--muted); font-size: 15.5px; max-width: 34ch; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .02em;
  background: color-mix(in srgb, var(--accent) 16%, rgba(0,0,0,.4)); color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
  backdrop-filter: blur(6px);
}
.badge svg { width: 14px; height: 14px; }
.more { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; font-size: 15px; color: var(--accent); }
.more svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.game-card:hover .more svg { transform: translateX(5px); }

/* ---------- Game sections, shared ---------- */
.game { position: relative; overflow: hidden; }

/* ---------- Second Heart ---------- */
.sh {
  --hud: #3fe6c8;
  --alert: #ff4d5e;
  padding: clamp(100px, 12vw, 160px) 0;
  background: #05090b;
  border-top: 1px solid rgba(63, 230, 200, .14);
}
.sh-bg { position: absolute; inset: 0; z-index: 0; }
.sh-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .16; filter: saturate(.6) blur(2px); transform: scale(1.05); }
.sh-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, rgba(0,0,0,.35) 0 1px, transparent 1px 3px),
    radial-gradient(80% 60% at 70% 30%, transparent, #05090b 75%),
    linear-gradient(180deg, #05090b, transparent 20%, transparent 80%, #05090b);
}
.sh .container { position: relative; z-index: 1; }
.sh-top { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hud-label {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .14em; color: var(--hud);
  display: inline-flex; align-items: center; gap: 10px;
}
.rec { width: 9px; height: 9px; border-radius: 50%; background: var(--alert); box-shadow: 0 0 12px var(--alert); animation: blink 1.4s steps(2, start) infinite; }
@keyframes blink { to { visibility: hidden; } }
.sh-title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(56px, 8vw, 112px); letter-spacing: -.03em; line-height: .9; margin: 22px 0 22px;
  background: linear-gradient(180deg, #ffffff 30%, #9fb3bb);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: 0 0 60px rgba(63, 230, 200, .15);
}
.sh-tag { font-family: var(--font-mono); color: var(--hud); font-size: 15px; line-height: 1.7; margin-bottom: 20px; }
.sh-copy > p:not(.hud-label):not(.sh-tag) { color: #a9b6bb; max-width: 520px; }

.btn-hud, .btn-hud-ghost { border-radius: 4px; font-family: var(--font-mono); font-size: 14px; letter-spacing: .06em; text-transform: uppercase; }
.btn-hud { background: var(--hud); color: #031412; box-shadow: 0 0 0 1px var(--hud), 0 0 40px -6px rgba(63, 230, 200, .6); }
.btn-hud:hover { box-shadow: 0 0 0 1px var(--hud), 0 0 60px -4px rgba(63, 230, 200, .8); }
.btn-hud-ghost { border: 1px solid rgba(63, 230, 200, .4); color: var(--hud); background: rgba(63, 230, 200, .05); }
.btn-hud-ghost:hover { background: rgba(63, 230, 200, .12); }

.hud-frame {
  position: relative; padding: 10px;
  background:
    linear-gradient(var(--hud), var(--hud)) top left / 22px 2px,
    linear-gradient(var(--hud), var(--hud)) top left / 2px 22px,
    linear-gradient(var(--hud), var(--hud)) top right / 22px 2px,
    linear-gradient(var(--hud), var(--hud)) top right / 2px 22px,
    linear-gradient(var(--hud), var(--hud)) bottom left / 22px 2px,
    linear-gradient(var(--hud), var(--hud)) bottom left / 2px 22px,
    linear-gradient(var(--hud), var(--hud)) bottom right / 22px 2px,
    linear-gradient(var(--hud), var(--hud)) bottom right / 2px 22px;
  background-repeat: no-repeat;
}
.yt-lite {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px;
  background: #000; box-shadow: 0 0 0 1px rgba(63, 230, 200, .25), 0 40px 80px -30px rgba(0,0,0,.9);
}
.yt-lite img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; filter: saturate(.85); }
.yt-lite:hover img { transform: scale(1.04); filter: saturate(1.1); }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yt-play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(5, 9, 11, .55); border: 1px solid rgba(63, 230, 200, .6); color: var(--hud);
  backdrop-filter: blur(6px); transition: transform .3s var(--ease), background .3s;
}
.yt-play svg { width: 30px; height: 30px; margin-left: 4px; }
.yt-lite:hover .yt-play { transform: scale(1.1); background: rgba(63, 230, 200, .2); }
.hud-corner {
  position: absolute; left: 14px; bottom: 12px; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .12em;
  color: var(--hud); background: rgba(5, 9, 11, .7); padding: 4px 8px; border-left: 2px solid var(--hud);
}

.sh-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(64px, 8vw, 96px); }
.pillar {
  padding: 28px; border: 1px solid rgba(63, 230, 200, .16); border-radius: 6px;
  background: linear-gradient(180deg, rgba(63, 230, 200, .06), rgba(63, 230, 200, .01));
  position: relative; transition: border-color .3s, transform .4s var(--ease);
}
.pillar:hover { border-color: rgba(63, 230, 200, .45); transform: translateY(-4px); }
.pillar-num { font-family: var(--font-mono); color: var(--hud); font-size: 13px; letter-spacing: .1em; }
.pillar h3 { font-size: 22px; font-weight: 700; margin: 14px 0 12px; text-transform: uppercase; letter-spacing: -.01em; }
.pillar p { color: #9aa9ae; font-size: 15.5px; }

.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 30%);
  gap: 12px; overflow-x: auto; margin-top: 56px; padding-bottom: 14px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: rgba(63,230,200,.4) transparent;
}
.shot { scroll-snap-align: start; border-radius: 4px; overflow: hidden; border: 1px solid rgba(63, 230, 200, .15); transition: border-color .3s; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.shot:hover { border-color: var(--hud); }
.shot:hover img { transform: scale(1.05); }

.tags { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #8fa3a8; padding: 6px 10px; border: 1px solid rgba(63, 230, 200, .14); border-radius: 3px; }

/* ---------- Penguin Sumo ---------- */
.ps {
  --ice: #8fe3ff;
  --deep: #0a2a5c;
  padding: clamp(100px, 12vw, 160px) 0;
  background:
    radial-gradient(60% 50% at 80% 30%, rgba(143, 227, 255, .45), transparent 70%),
    radial-gradient(50% 50% at 10% 90%, rgba(77, 140, 255, .5), transparent 70%),
    linear-gradient(160deg, #0b1f4a 0%, #134a9c 45%, #2a8fd8 100%);
}
.ps::after {
  content: ""; position: absolute; left: -5%; right: -5%; bottom: -1px; height: 120px;
  background: var(--bg);
  clip-path: polygon(0 60%, 8% 40%, 16% 62%, 27% 30%, 36% 55%, 48% 35%, 58% 64%, 70% 28%, 80% 52%, 90% 38%, 100% 58%, 100% 100%, 0 100%);
}
.snow {
  position: absolute; inset: 0; pointer-events: none; opacity: .7;
  background-image:
    radial-gradient(2px 2px at 20px 30px, #fff, transparent),
    radial-gradient(2px 2px at 120px 80px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 200px 150px, #fff, transparent),
    radial-gradient(2.5px 2.5px at 60px 200px, #fff, transparent),
    radial-gradient(1.5px 1.5px at 260px 40px, #fff, transparent),
    radial-gradient(2px 2px at 160px 240px, #fff, transparent);
  background-size: 300px 280px;
  animation: snow 14s linear infinite;
}
@keyframes snow { to { background-position: 60px 280px; } }

.ps-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
.sticker {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px;
  background: #fff; color: #0b2a5c; font-family: var(--font-display); font-weight: 700; font-size: 14px;
  transform: rotate(-3deg); box-shadow: 0 6px 0 #0b2a5c33, 0 14px 30px -10px rgba(0,0,0,.4);
}
.sticker svg { width: 16px; height: 16px; color: #e2231a; }
.ps-title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(60px, 9vw, 128px); line-height: .86; letter-spacing: -.03em; margin: 26px 0 26px;
  color: #fff;
  text-shadow: 0 4px 0 #0b2a5c, 0 8px 0 rgba(11, 42, 92, .5), 0 24px 40px rgba(0, 0, 0, .3);
}
.ps-title span { color: #ffe066; display: inline-block; transform: rotate(-2deg); }
.ps-lead { font-size: clamp(17px, 1.6vw, 20px); color: #e1f4ff; max-width: 520px; }
.ps-feats { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.ps-feats li {
  display: flex; align-items: center; gap: 12px; color: #d5ecff; font-size: 16px;
  padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px); width: fit-content;
}
.ps-feats b { font-family: var(--font-display); color: #fff; font-weight: 700; }
.btn-ice { background: #ffe066; color: #0b2a5c; font-weight: 700; box-shadow: 0 6px 0 #c7a531, 0 18px 30px -10px rgba(0,0,0,.4); }
.btn-ice:hover { box-shadow: 0 8px 0 #c7a531, 0 22px 36px -10px rgba(0,0,0,.45); }
.btn-ice:active { transform: translateY(4px); box-shadow: 0 2px 0 #c7a531; }
.btn-ice-ghost { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff; }
.btn-ice-ghost:hover { background: rgba(255,255,255,.22); }

.ps-stack { position: relative; height: clamp(440px, 48vw, 600px); }
.ps-card {
  position: absolute; top: 50%; left: 50%; width: clamp(180px, 19vw, 250px); aspect-ratio: 9 / 16;
  border-radius: 28px; overflow: hidden; border: 5px solid #fff;
  box-shadow: 0 30px 60px -20px rgba(4, 20, 50, .8);
  transition: transform .6s var(--ease), z-index 0s .2s;
}
.ps-card img { width: 100%; height: 100%; object-fit: cover; }
.ps-card.c1 { transform: translate(-115%, -48%) rotate(-12deg); z-index: 1; }
.ps-card.c2 { transform: translate(-50%, -54%) rotate(0deg) scale(1.08); z-index: 3; }
.ps-card.c3 { transform: translate(15%, -46%) rotate(11deg); z-index: 2; }
.ps-stack:hover .c1 { transform: translate(-135%, -50%) rotate(-16deg); }
.ps-stack:hover .c3 { transform: translate(35%, -44%) rotate(15deg); }
.ps-card:hover { z-index: 5 !important; transition: transform .6s var(--ease), z-index 0s; }
.ps-stack .ps-card:hover { transform: translate(-50%, -58%) rotate(0deg) scale(1.12); }
.ps-stack .c1:hover { transform: translate(-125%, -56%) rotate(-6deg) scale(1.08); }
.ps-stack .c3:hover { transform: translate(25%, -54%) rotate(6deg) scale(1.08); }

/* ---------- Kingdom Run ---------- */
.kr { padding: clamp(60px, 8vw, 100px) 0 clamp(40px, 6vw, 80px); }
.kr-card {
  border-radius: 32px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  background:
    radial-gradient(70% 90% at 0% 50%, rgba(255, 200, 61, .14), transparent 70%),
    linear-gradient(135deg, #1a1430, #0f0c1b);
  border: 1px solid rgba(255, 200, 61, .18);
  min-height: 560px;
}
.kr-art { position: relative; height: 100%; min-height: 460px; }
.kr-hero-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 25%;
  mask-image: linear-gradient(90deg, #000 55%, transparent 98%);
  -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 98%);
}
.kr-phone {
  position: absolute; right: 2%; bottom: -8%; width: clamp(160px, 17vw, 230px);
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6));
  transform: rotate(8deg); transition: transform .6s var(--ease);
}
.kr-card:hover .kr-phone { transform: rotate(4deg) translateY(-12px); }
.kr-copy { padding: clamp(32px, 5vw, 64px); position: relative; z-index: 3; }
.kr-kicker { color: #ffd77a; }
.kr-copy h2 { font-size: clamp(34px, 4.2vw, 56px); font-weight: 800; margin-bottom: 20px; }
.kr-copy h2 span { color: #ffc83d; }
.kr-copy > p { color: var(--muted); max-width: 480px; }
.kr-promise { margin-top: 14px; color: #ffe2a0 !important; font-weight: 500; }
.store-btn {
  display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 22px 0 18px; border-radius: 14px;
  background: #000; border: 1px solid rgba(255,255,255,.22); line-height: 1.1; transition: transform .25s var(--ease), border-color .25s;
}
.store-btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.5); }
.store-btn svg { width: 26px; height: 26px; }
.store-btn span { display: flex; flex-direction: column; font-weight: 600; font-size: 18px; }
.store-btn small { font-size: 11px; font-weight: 500; color: #c8c4d2; }

/* ---------- Videos ---------- */
.videos { padding-bottom: clamp(70px, 9vw, 120px); }
.shorts-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 19vw, 250px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  padding: 6px max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter))) 20px;
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
}
.shorts-rail::-webkit-scrollbar { display: none; }
.short {
  position: relative; scroll-snap-align: start; aspect-ratio: 9 / 16; border-radius: 20px; overflow: hidden;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: transform .45s var(--ease), border-color .3s;
}
.short img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.short::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.88)); }
.short::before {
  content: ""; position: absolute; top: 14px; right: 14px; z-index: 2; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M9 6.5v11l9-5.5z'/%3E%3C/svg%3E") center / 16px no-repeat;
  backdrop-filter: blur(6px); transition: background-color .3s;
}
.short:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.3); }
.short:hover img { transform: scale(1.06); }
.short:hover::before { background-color: #ff0033; }
.short-meta { position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 2; display: grid; gap: 4px; }
.short-meta b { font-size: 15px; line-height: 1.3; font-weight: 600; }
.short-meta small { font-size: 12.5px; color: rgba(255,255,255,.65); }

/* ---------- Studio ---------- */
.studio { background: var(--bg-2); border-block: 1px solid var(--line); }
.statement { max-width: 18ch; font-size: clamp(34px, 4.8vw, 66px) !important; line-height: 1.08 !important; }
.platform-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.platform-card {
  padding: 32px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line);
  transition: transform .4s var(--ease), border-color .3s;
}
.platform-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.platform-card > svg { width: 40px; height: 40px; color: var(--accent); }
.platform-card h3 { font-size: 24px; font-weight: 700; margin: 24px 0 10px; }
.platform-card p { color: var(--muted); font-size: 15.5px; }

/* ---------- Contact ---------- */
.contact-card {
  position: relative; overflow: hidden; border-radius: 36px; padding: clamp(36px, 7vw, 96px);
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(255, 45, 117, .22), transparent 60%),
    radial-gradient(50% 70% at 0% 100%, rgba(45, 226, 255, .14), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--line);
}
.contact-card::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 360px; height: 360px; opacity: .14;
  background: url("assets/img/logo-256.webp") center / cover; border-radius: 50%; filter: blur(1px);
}
.contact-card h2 { font-size: clamp(38px, 6vw, 84px); font-weight: 800; position: relative; }
.contact-sub { color: var(--muted); max-width: 560px; margin-top: 22px; font-size: 18px; position: relative; }
.mail-link {
  position: relative; display: inline-flex; align-items: center; gap: 14px; margin-top: 36px;
  font-family: var(--font-display); font-weight: 700; font-size: clamp(20px, 3vw, 36px); letter-spacing: -.02em;
  padding-bottom: 6px; background: linear-gradient(var(--text), var(--text)) left bottom / 0 2px no-repeat; transition: background-size .4s var(--ease);
  overflow-wrap: anywhere;
}
.mail-link svg { width: 1em; height: 1em; color: var(--hot); }
.mail-link:hover { background-size: 100% 2px; }
.contact-grid { position: relative; display: grid; grid-template-columns: 2fr 1fr; gap: 40px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.contact-grid h3 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 400; margin-bottom: 10px; }
.contact-grid p { color: var(--muted); font-size: 15.5px; }
.contact-grid a:hover { color: var(--text); }
.signup-form { display: flex; gap: 10px; margin-top: 18px; max-width: 560px; }
.signup-form input[type="email"] {
  flex: 1; min-width: 0; height: 54px; padding: 0 22px; border-radius: 999px;
  font: inherit; font-size: 16px; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); outline: none;
  transition: border-color .2s, background .2s;
}
.signup-form input[type="email"]::placeholder { color: var(--dim); }
.signup-form input[type="email"]:focus { border-color: rgba(255, 255, 255, .35); background: var(--surface-2); }
.signup-form button:disabled { opacity: .6; pointer-events: none; }
.contact-grid .signup-status { min-height: 1.5em; margin-top: 12px; font-size: 14.5px; }
.signup-status.ok { color: var(--gold); }
.signup-status.err { color: var(--hot); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface); transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--text); color: var(--bg) !important; }
.socials svg { width: 19px; height: 19px; }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 48px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; }
.footer-inner .brand { font-size: 15px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14px; color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.copyright { font-size: 13px; color: var(--dim); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 24px;
  background: rgba(3, 4, 6, .92); backdrop-filter: blur(10px);
  animation: fade .25s ease;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1600px, 100%); max-height: 86vh; border-radius: 6px; box-shadow: 0 0 0 1px rgba(63,230,200,.3), 0 40px 100px -20px #000; }
.lb-close { position: absolute; top: 16px; right: 20px; font-size: 40px; line-height: 1; width: 48px; height: 48px; color: #fff; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); }
.lb-nav:hover { background: rgba(255,255,255,.16); }
.lb-nav svg { width: 22px; height: 22px; }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
@keyframes fade { from { opacity: 0; } }

/* ---------- Load + scroll animations ---------- */
.rise { animation: rise 1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .game-cards { grid-template-columns: 1fr 1fr; }
  .game-cards .game-card:first-child { grid-column: 1 / -1; min-height: 440px; }
  .sh-top { grid-template-columns: 1fr; }
  .gallery { grid-auto-columns: minmax(260px, 45%); }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 76px 0 auto; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 24px; background: rgba(7, 6, 11, .96); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
  }
  .nav-links > a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 18px; color: var(--text); }
  .nav-links > a:not(.btn)::after { display: none; }
  .nav-links .btn { margin-top: 20px; height: 48px; }
  .nav-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-open .site-header { background: rgba(7, 6, 11, .96); border-color: var(--line); }

  .hero { padding-top: 110px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-wall {
    height: 380px; margin: 10px -10% 0; transform: rotate(-6deg) scale(1.05);
    grid-template-columns: repeat(3, 1fr);
  }
  .scroll-cue { display: none; }

  .ps-inner { grid-template-columns: 1fr; }
  .ps-stack { height: 440px; }

  .kr-card { grid-template-columns: 1fr; }
  .kr-art { min-height: 340px; }
  .kr-hero-img { mask-image: linear-gradient(180deg, #000 55%, transparent 98%); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 98%); }
  .kr-phone { bottom: -14%; right: 6%; }

  .platform-cards, .sh-pillars { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .game-cards { grid-template-columns: 1fr; }
  .game-card { min-height: 400px; }
  .game-cards .game-card:first-child { min-height: 400px; }
  .cta-row .btn, .cta-row .store-btn { flex: 1 1 100%; }
  .hero-wall { height: 300px; }
  .ps-card { width: 150px; border-width: 4px; border-radius: 22px; }
  .ps-stack { height: 360px; }
  .gallery { grid-auto-columns: 82%; }
  .contact-grid { grid-template-columns: 1fr; }
  .signup-form { flex-direction: column; }
  .contact-card { padding: 32px 22px; border-radius: 28px; }
  .mail-link { font-family: var(--font-body); font-size: clamp(17px, 5.2vw, 22px); }
  .mail-link svg { display: none; }
  .section-head.split { align-items: flex-start; }
  .head-actions .icon-btn { display: none; }
  .lb-nav { width: 44px; height: 44px; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
}

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