/* games.soclya.com: the Soclya game studio. A big publisher's site (huge hero, news grid, game
   tiles, short footer) drawn as a comic book: ink outlines, halftone, speed lines, starbursts and
   panels that slam into place. Motion is heavy on purpose and turns off with "reduce motion". */
@font-face { font-family: "Luckiest Guy"; src: url(/studio/fonts/luckiest-guy-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Archivo Black"; src: url(/studio/fonts/archivo-black-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Silkscreen"; src: url(/studio/fonts/silkscreen-latin-400-normal.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(/studio/fonts/space-grotesk-latin-wght-normal.woff2) format("woff2"); font-weight: 300 700; font-display: swap; }

:root {
  --ink: #0a0a0b; --ink2: #131316; --ink3: #1c1c21; --paper: #f3efe6; --muted: #a7a29a;
  --y: #ffd400; --pink: #ff2e88; --cyan: #00e5ff; --lime: #c6ff00; --line: #2c2c30;
  --f-comic: "Luckiest Guy", Impact, "Arial Black", sans-serif; --f-label: "Archivo Black", "Arial Black", sans-serif;
  --f-pixel: "Silkscreen", ui-monospace, monospace; --f-body: "Space Grotesk", system-ui, sans-serif;
  --dots: radial-gradient(circle, rgba(255, 255, 255, .12) 1.1px, transparent 1.6px);
  --ease-pop: cubic-bezier(.2, 1.6, .4, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body.gs { margin: 0; background: var(--ink); color: var(--paper); font: 400 17px/1.6 var(--f-body); overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { width: min(1240px, 100% - 40px); margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 999; background: var(--y); color: var(--ink); padding: 8px 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.center { text-align: center; }
:focus-visible { outline: 3px solid var(--y); outline-offset: 3px; }

/* Film grain over everything (very light) */
.gs-grain { position: fixed; inset: -50%; z-index: 300; pointer-events: none; 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'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain 1s steps(6) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-4%, 3%); } 66% { transform: translate(3%, -4%); } 100% { transform: translate(0, 0); } }

/* ---------- Header: centred logo like the big publishers, comic ink bar */
.gs-top { position: fixed; inset: 0 0 auto; z-index: 200; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding: 14px clamp(16px, 3vw, 40px); transition: background .3s, box-shadow .3s, padding .3s; }
.gs-top.solid { background: rgba(10, 10, 11, .92); box-shadow: 0 3px 0 var(--y); padding-block: 10px; }
.gs-nav { display: flex; gap: clamp(14px, 2vw, 30px); align-items: center; }
.gs-nav-r { justify-content: flex-end; }
.gs-nav a { font: 400 14px/1 var(--f-label); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; position: relative; padding: 6px 0; }
.gs-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 3px; background: var(--y); transition: right .25s; }
.gs-nav a:hover::after, .gs-nav a[aria-current]::after { right: 0; }
.gs-pill { padding: 8px 14px !important; border: 2px solid var(--paper); transform: skew(-8deg); }
.gs-pill:hover { background: var(--y); color: var(--ink); border-color: var(--y); }
.gs-pill::after { display: none; }
.gs-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.gs-logo img { border-radius: 10px; border: 2px solid var(--paper); box-shadow: 3px 3px 0 var(--pink); transition: transform .3s var(--ease-pop); }
.gs-logo:hover img { transform: rotate(-8deg) scale(1.08); }
.gs-logo span { font: 400 30px/1 var(--f-comic); letter-spacing: .04em; text-shadow: 3px 3px 0 var(--pink); }
.gs-burger { display: none; justify-self: end; width: 44px; height: 44px; background: none; border: 2px solid var(--paper); padding: 9px; cursor: pointer; }
.gs-burger span { display: block; height: 3px; background: var(--paper); margin: 4px 0; transition: transform .25s; }
.gs-menu { position: fixed; inset: 0; z-index: 190; background: var(--ink); display: grid; place-items: center; }
.gs-menu nav { display: grid; gap: 18px; text-align: center; }
.gs-menu a { font: 400 clamp(34px, 9vw, 56px)/1 var(--f-comic); text-decoration: none; text-transform: uppercase; }
.gs-menu a:hover { color: var(--y); }
@media (max-width: 820px) {
  .gs-top { grid-template-columns: auto 1fr auto; }
  .gs-nav { display: none; }
  .gs-burger { display: block; grid-column: 3; }
  .gs-logo { grid-column: 1; grid-row: 1; }
}

/* ---------- Hero: the big presentation */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; isolation: isolate; padding: 110px 20px 90px; }
.hero-bg, .ph-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: radial-gradient(ellipse at 50% 60%, #2a1030 0, #0a0a0b 70%); }
.hero-rays { position: absolute; inset: -60%; background: repeating-conic-gradient(from 0deg, rgba(255, 212, 0, .10) 0 6deg, transparent 6deg 18deg); animation: rays 40s linear infinite; }
@keyframes rays { to { transform: rotate(360deg); } }
.hero-dots { position: absolute; inset: 0; background-image: var(--dots); background-size: 9px 9px; -webkit-mask: radial-gradient(circle at 50% 50%, transparent 20%, #000 75%); mask: radial-gradient(circle at 50% 50%, transparent 20%, #000 75%); }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.2s, transform 7s linear; filter: saturate(1.1) contrast(1.05); }
.hero-slide.on { opacity: .55; transform: scale(1); }
.hero-vig { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 30%, rgba(0, 0, 0, .85)), linear-gradient(transparent 60%, var(--ink)); }
.hero-in { text-align: center; position: relative; will-change: transform; }
.hero-k { margin: 0 0 18px; font: 400 13px/1 var(--f-pixel); letter-spacing: .3em; text-transform: uppercase; color: var(--y); opacity: 0; animation: fadeUp .8s .2s forwards; }
.hero-logo { margin: 0; font: 400 clamp(72px, 18vw, 240px)/.85 var(--f-comic); letter-spacing: .02em; display: flex; justify-content: center; }
.hero-logo span { display: inline-block; color: var(--paper); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: .06em .06em 0 var(--pink), .12em .12em 0 var(--ink); opacity: 0; transform: translateY(-120%) rotate(calc((var(--i) - 2.5) * 6deg)) scale(1.6); animation: drop .9s var(--ease-pop) forwards; animation-delay: calc(.35s + var(--i) * .09s); }
.hero-logo span:nth-child(even) { color: var(--y); }
@keyframes drop { 60% { opacity: 1; transform: translateY(6%) rotate(calc((var(--i) - 2.5) * -2deg)) scale(.96); } 100% { opacity: 1; transform: none; } }
.hero-logo span:hover { animation: wobble .5s; }
@keyframes wobble { 30% { transform: rotate(-10deg) scale(1.15); } 60% { transform: rotate(6deg); } }
.hero-sub { max-width: 620px; margin: 26px auto 0; font-size: clamp(17px, 2.2vw, 21px); color: #e8e3d8; opacity: 0; animation: fadeUp .8s 1.2s forwards; }
.hero-sub b { color: var(--paper); background: linear-gradient(transparent 60%, rgba(255, 46, 136, .55) 60%); }
.hero-chips { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; opacity: 0; animation: fadeUp .8s 1.45s forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px 11px; border: 3px solid var(--paper); background: var(--ink); color: var(--paper); font: 400 15px/1 var(--f-label); text-transform: uppercase; letter-spacing: .05em; text-decoration: none; transform: skew(-8deg); box-shadow: 5px 5px 0 var(--pink); transition: transform .15s, box-shadow .15s, background .15s; cursor: pointer; }
.chip:hover { transform: skew(-8deg) translate(-3px, -3px); box-shadow: 8px 8px 0 var(--pink); }
.chip-y { background: var(--y); color: var(--ink); border-color: var(--ink); box-shadow: 5px 5px 0 var(--paper); }
.chip-y:hover { box-shadow: 8px 8px 0 var(--paper); }
.chip-big { font-size: 19px; padding: 17px 28px 15px; }
.hero-down { position: absolute; left: 50%; bottom: 26px; width: 30px; height: 50px; margin-left: -15px; border: 3px solid var(--paper); border-radius: 16px; opacity: 0; animation: fadeUp .6s 2s forwards; }
.hero-down span { position: absolute; left: 50%; top: 8px; width: 4px; height: 10px; margin-left: -2px; background: var(--y); border-radius: 2px; animation: scrolly 1.6s infinite; }
@keyframes scrolly { 60% { transform: translateY(16px); opacity: 0; } 61% { transform: none; opacity: 0; } 100% { opacity: 1; } }
.hero-dots-nav { position: absolute; bottom: 90px; display: flex; gap: 10px; }
.hero-dots-nav button { width: 34px; height: 8px; border: 2px solid var(--paper); background: transparent; cursor: pointer; transform: skew(-12deg); }
.hero-dots-nav button[aria-selected="true"] { background: var(--y); }
/* The comic "BAM" burst that flashes behind the logo when it lands */
.hero::after { content: ""; position: absolute; left: 50%; top: 50%; width: min(90vw, 900px); aspect-ratio: 1; transform: translate(-50%, -50%) scale(0); z-index: -1; background: radial-gradient(circle, rgba(255, 212, 0, .35), transparent 60%); clip-path: polygon(50% 0, 58% 30%, 85% 12%, 70% 40%, 100% 45%, 72% 58%, 92% 85%, 62% 70%, 55% 100%, 45% 72%, 18% 92%, 30% 62%, 0 55%, 28% 45%, 10% 16%, 40% 30%); animation: bam 1.2s .9s var(--ease-pop) forwards; }
@keyframes bam { 50% { transform: translate(-50%, -50%) scale(1.1) rotate(8deg); opacity: 1; } 100% { transform: translate(-50%, -50%) scale(1) rotate(0); opacity: .55; } }

/* ---------- Ticker */
.tick { overflow: hidden; background: var(--y); color: var(--ink); border-block: 4px solid var(--ink); transform: rotate(-1.5deg) scale(1.03); margin: -20px 0 10px; position: relative; z-index: 2; box-shadow: 0 8px 0 var(--pink); }
.tick-in { display: flex; width: max-content; gap: 26px; padding: 12px 0 9px; font: 400 26px/1 var(--f-comic); white-space: nowrap; animation: tick 28s linear infinite; }
.tick i { font-style: normal; color: var(--pink); }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- Sections */
.sec { padding: clamp(60px, 9vw, 120px) 0; position: relative; }
.sec-h { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 34px; }
.ttl { margin: 0; font: 400 clamp(44px, 8vw, 96px)/.9 var(--f-comic); text-transform: uppercase; letter-spacing: .01em; }
.ttl span { display: inline-block; color: var(--paper); -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--pink); transform: rotate(-2deg); }
.more { font: 400 14px/1 var(--f-label); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; border-bottom: 3px solid var(--y); padding-bottom: 4px; }
.more:hover { color: var(--y); }

/* News grid: one big story and four small ones */
.nw-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; }
.nw-side { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.nw-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.nw-list .nw-big { grid-column: 1 / -1; }
.nw { position: relative; display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: var(--ink2); border: 3px solid var(--paper); box-shadow: 7px 7px 0 var(--ink3); transition: transform .2s var(--ease-pop), box-shadow .2s; overflow: hidden; }
.nw:hover { transform: translate(-4px, -4px) rotate(-.6deg); box-shadow: 11px 11px 0 var(--pink); }
.nw-img { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 3px solid var(--paper); position: relative; background: #1a0f22; }
.nw-big .nw-img { aspect-ratio: 16 / 10; }
.nw-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.nw:hover .nw-img img { transform: scale(1.07); }
.nw-img::after { content: ""; position: absolute; inset: 0; background-image: var(--dots); background-size: 5px 5px; opacity: .4; mix-blend-mode: overlay; pointer-events: none; }
.nw-ph { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle, #3a1340, #120a18); }
.nw-ph b { position: relative; font: 400 clamp(24px, 4vw, 44px)/1 var(--f-comic); color: var(--y); text-shadow: 3px 3px 0 var(--ink); }
.nw-ph .gs-burst { position: absolute; width: 70%; fill: var(--pink); opacity: .35; animation: spin 18s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.nw-body { display: grid; align-content: start; gap: 8px; padding: 16px 18px 20px; }
.nw-k { font: 400 11px/1.3 var(--f-pixel); text-transform: uppercase; letter-spacing: .1em; color: var(--y); }
.nw-t { font: 400 clamp(19px, 2vw, 24px)/1.1 var(--f-comic); text-transform: uppercase; letter-spacing: .01em; }
.nw-big .nw-t { font-size: clamp(26px, 3.4vw, 40px); }
.nw-x { color: var(--muted); font-size: 16px; }
@media (max-width: 900px) { .nw-grid { grid-template-columns: 1fr; } .nw-list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .nw-side, .nw-list { grid-template-columns: 1fr; } }

/* Game tiles */
.sec-games { background: linear-gradient(180deg, transparent, #120a18 30%, #120a18 70%, transparent); }
.gt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 26px; }
.gt { --acc: var(--pink); position: relative; display: grid; text-decoration: none; background: var(--ink2); border: 3px solid var(--paper); box-shadow: 8px 8px 0 var(--acc); transition: transform .25s var(--ease-pop), box-shadow .25s; overflow: hidden; }
.gt:hover { transform: translate(-5px, -5px) rotate(.6deg); box-shadow: 13px 13px 0 var(--acc); }
.gt-img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: #1a0f22; position: relative; border-bottom: 3px solid var(--paper); }
.gt-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gt:hover .gt-img img { transform: scale(1.06); }
.gt-ph { position: absolute; inset: 0; display: grid; place-items: center; background: repeating-linear-gradient(45deg, #1a0f22 0 14px, #160c1d 14px 28px); font: 400 30px/1 var(--f-comic); text-align: center; padding: 20px; }
.gt-body { display: grid; gap: 6px; padding: 16px 18px 20px; }
.gt-body b { font: 400 28px/1 var(--f-comic); text-transform: uppercase; }
.gt-body small { color: var(--muted); font-size: 15px; }
.gt-st { justify-self: start; font: 400 11px/1 var(--f-pixel); text-transform: uppercase; padding: 6px 8px; background: var(--acc); color: var(--ink); border: 2px solid var(--ink); }
.stamp { display: inline-block; padding: 10px 18px 8px; border: 5px solid var(--pink); color: var(--pink); font: 400 clamp(26px, 4vw, 40px)/1 var(--f-comic); transform: rotate(-14deg); letter-spacing: .06em; animation: stamp 2.6s var(--ease-pop) infinite; mix-blend-mode: screen; }
@keyframes stamp { 0%, 70% { transform: rotate(-14deg) scale(1); } 76% { transform: rotate(-14deg) scale(1.25); } 82% { transform: rotate(-14deg) scale(.95); } 100% { transform: rotate(-14deg) scale(1); } }

/* Studio panels */
.st-grid, .ct-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.st-panel { display: block; padding: 28px 24px; background: var(--paper); color: var(--ink); border: 4px solid var(--ink); box-shadow: 8px 8px 0 var(--y); text-decoration: none; transition: transform .2s var(--ease-pop), box-shadow .2s; }
.st-panel:nth-child(2) { box-shadow: 8px 8px 0 var(--pink); transform: rotate(1deg); }
.st-panel:nth-child(3) { box-shadow: 8px 8px 0 var(--cyan); transform: rotate(-1deg); }
.st-panel:hover { transform: translate(-4px, -4px) rotate(0); }
.st-n { display: inline-block; font: 400 12px/1 var(--f-pixel); background: var(--ink); color: var(--paper); padding: 5px 8px; }
.st-panel h3 { margin: 14px 0 8px; font: 400 30px/1 var(--f-comic); text-transform: uppercase; overflow-wrap: anywhere; }
.st-panel p { margin: 0; }
@media (max-width: 820px) { .st-grid, .ct-grid { grid-template-columns: 1fr; } }

/* Join */
.join { padding: clamp(70px, 10vw, 130px) 0; position: relative; overflow: hidden; background: var(--pink); color: var(--ink); border-block: 5px solid var(--ink); }
.join::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(0, 0, 0, .18) 1.4px, transparent 2px); background-size: 10px 10px; }
.join-in { position: relative; text-align: center; display: grid; justify-items: center; gap: 16px; }
.join .gs-burst { position: absolute; width: min(70vw, 620px); fill: var(--y); opacity: .9; z-index: -1; top: 50%; left: 50%; translate: -50% -50%; animation: spin 30s linear infinite; }
.join-in { isolation: isolate; }
.join h2 { margin: 0; font: 400 clamp(46px, 9vw, 110px)/.9 var(--f-comic); text-transform: uppercase; color: var(--paper); -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 7px 7px 0 var(--ink); }
.join p { max-width: 560px; margin: 0; font-weight: 600; font-size: 19px; }

.empty { position: relative; display: grid; place-items: center; min-height: 260px; border: 3px dashed var(--line); text-align: center; padding: 30px; overflow: hidden; }
.empty .gs-burst { position: absolute; width: 360px; fill: var(--ink3); animation: spin 26s linear infinite; }
.empty p { position: relative; font-size: 19px; }
.empty b { font: 400 30px/1.2 var(--f-comic); color: var(--y); display: block; }

/* ---------- Inner page headers */
.ph, .art-h { position: relative; overflow: hidden; isolation: isolate; padding: 150px 0 70px; border-bottom: 4px solid var(--paper); }
.ph-t, .art-t { margin: 0; font: 400 clamp(46px, 9vw, 110px)/.9 var(--f-comic); text-transform: uppercase; -webkit-text-stroke: 2px var(--ink); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--pink); animation: slam .7s var(--ease-pop) both; }
.art-t { font-size: clamp(34px, 6vw, 72px); line-height: .98; max-width: 22ch; }
.ph-l, .art-x { max-width: 700px; margin: 18px 0 0; font-size: 19px; color: #e8e3d8; animation: fadeUp .7s .25s both; }
.ph .hero-k, .art-h .hero-k { animation-delay: 0s; }
@keyframes slam { from { opacity: 0; transform: scale(1.6) rotate(-4deg); } to { opacity: 1; transform: none; } }

/* ---------- Article */
.au { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; text-decoration: none; padding: 8px 14px 8px 8px; background: var(--ink2); border: 2px solid var(--paper); box-shadow: 4px 4px 0 var(--y); }
.au img, .au-ph { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); }
.au-ph { display: grid; place-items: center; background: var(--pink); font: 400 24px/1 var(--f-comic); }
.au span { display: grid; }
.au b { font-size: 17px; }
.au small { color: var(--muted); font-size: 13px; }
.art-cover { width: min(1100px, 100% - 40px); margin: -40px auto 0; position: relative; z-index: 2; border: 4px solid var(--paper); box-shadow: 12px 12px 0 var(--pink); }
.art-cover img { width: 100%; max-height: 620px; object-fit: cover; }
.art-body { max-width: 760px; padding: 50px 0 20px; }
.art-foot { max-width: 760px; display: grid; justify-items: start; gap: 14px; padding-bottom: 80px; }
.art-by { margin: 20px 0 0; font: 400 12px/1 var(--f-pixel); text-transform: uppercase; color: var(--muted); }
.prose { font-size: 18px; line-height: 1.75; }
.prose h2 { font: 400 clamp(28px, 4vw, 40px)/1.05 var(--f-comic); text-transform: uppercase; margin: 1.6em 0 .5em; color: var(--y); }
.prose h3 { font: 400 22px/1.2 var(--f-label); margin: 1.4em 0 .4em; }
.prose a { color: var(--cyan); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose img { border: 3px solid var(--paper); box-shadow: 8px 8px 0 var(--ink3); margin: 1.4em 0; }
.prose blockquote { margin: 1.4em 0; padding: 14px 22px; border-left: 6px solid var(--pink); background: var(--ink2); font-size: 20px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; }
.prose-big { font-size: 21px; max-width: 820px; }

/* ---------- Game page */
.gh { position: relative; min-height: 88svh; display: grid; align-items: end; overflow: hidden; isolation: isolate; padding: 150px 0 80px; border-bottom: 4px solid var(--paper); }
.gh-logo { max-width: min(560px, 90%); filter: drop-shadow(6px 6px 0 var(--ink)); animation: slam .8s var(--ease-pop) both; }
.gh-t { margin: 0; font: 400 clamp(56px, 12vw, 150px)/.85 var(--f-comic); text-transform: uppercase; -webkit-text-stroke: 3px var(--ink); paint-order: stroke fill; text-shadow: 8px 8px 0 var(--acc); animation: slam .8s var(--ease-pop) both; }
.gh-st { margin: 18px 0 0; font: 400 13px/1 var(--f-pixel); letter-spacing: .14em; text-transform: uppercase; color: var(--y); }
.gh-tag { max-width: 640px; font-size: 21px; margin: 12px 0 0; }
.gh .hero-chips { justify-content: start; opacity: 1; animation: none; }
.game-grid { display: grid; gap: 40px; }
.trailer { aspect-ratio: 16 / 9; border: 4px solid var(--paper); box-shadow: 12px 12px 0 var(--pink); background: #000; }
.trailer iframe { width: 100%; height: 100%; border: 0; display: block; }
.plats { display: flex; flex-wrap: wrap; gap: 8px; }
.plats span { font: 400 12px/1 var(--f-pixel); padding: 7px 10px; border: 2px solid var(--paper); text-transform: uppercase; }

/* ---------- Legal */
.lg { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 50px; align-items: start; }
.lg-nav { position: sticky; top: 100px; display: grid; gap: 4px; border: 3px solid var(--paper); padding: 10px; background: var(--ink2); }
.lg-nav a { padding: 10px 12px; text-decoration: none; font-weight: 700; font-size: 15px; }
.lg-nav a:hover { background: var(--ink3); }
.lg-nav a[aria-current] { background: var(--y); color: var(--ink); }
.lg-body { max-width: 780px; font-size: 17px; }
.lg-body h2 { font-size: 28px; color: var(--paper); margin-top: 1.4em; }
.lg-holder { list-style: none; padding: 16px 20px; border: 2px dashed var(--line); background: var(--ink2); }
.lg-holder i { color: var(--y); }
.lg-date { font: 400 12px/1 var(--f-pixel); color: var(--muted); text-transform: uppercase; }
@media (max-width: 900px) { .lg { grid-template-columns: 1fr; } .lg-nav { position: static; } }

.pager { display: flex; gap: 14px; justify-content: center; margin-top: 40px; }

/* ---------- Footer */
.gs-foot { background: #050506; border-top: 4px solid var(--y); padding: 60px 0 30px; }
.gs-foot-in { width: min(1240px, 100% - 40px); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 34px; }
.gs-foot-logo { font: 400 48px/1 var(--f-comic); text-shadow: 4px 4px 0 var(--pink); }
.gs-foot-brand p { color: var(--muted); max-width: 32ch; }
.gs-foot-col { display: grid; align-content: start; gap: 10px; }
.gs-foot-col b { font: 400 12px/1 var(--f-pixel); text-transform: uppercase; color: var(--y); margin-bottom: 4px; }
.gs-foot-col a { text-decoration: none; color: #d8d3c9; font-size: 15px; }
.gs-foot-col a:hover { color: var(--y); }
.gs-copy { width: min(1240px, 100% - 40px); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
@media (max-width: 820px) { .gs-foot-in { grid-template-columns: 1fr 1fr; } .gs-foot-brand { grid-column: 1 / -1; } }

/* ---------- Scroll reveal: panels slam into place like comic frames */
.rv { opacity: 0; transform: translateY(50px) rotate(-2deg) scale(.96); transition: opacity .7s, transform .7s var(--ease-pop); }
.rv.in { opacity: 1; transform: none; }
.st-panel.rv.in:nth-child(2) { transform: rotate(1deg); }
.st-panel.rv.in:nth-child(3) { transform: rotate(-1deg); }
.no-js .rv { opacity: 1; transform: none; }

/* Page transition: an ink wipe */
.wipe { position: fixed; inset: 0; z-index: 400; pointer-events: none; background: var(--y); transform: scaleY(0); transform-origin: bottom; }
.wipe.go { animation: wipe .45s cubic-bezier(.7, 0, .3, 1) forwards; }
@keyframes wipe { to { transform: scaleY(1); } }
body.leaving main { opacity: .4; transition: opacity .3s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-logo span, .hero-k, .hero-sub, .hero-chips, .hero-down { opacity: 1 !important; transform: none !important; }
  .rv { opacity: 1; transform: none; }
  .gs-grain { display: none; }
}
.gs-menu[hidden] { display: none; }
.nw-side { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); align-content: start; }
