/* Phoelix Games — "site office" theme.
 * Graphite base, safety-yellow accent taken from the Excavator Simulator HUD,
 * condensed signage display type (Big Shoulders Display) over Barlow body copy.
 */
:root {
  --bg: #0f1113;
  --bg-2: #16191c;
  --panel: #1c2024;
  --panel-2: #242a2f;
  --line: #2e353b;
  --ink: #f2f0ea;
  --ink-2: #b9bcbf;
  --ink-3: #7f868c;
  --yellow: #ffc21a;
  --yellow-deep: #e0a800;
  --on-yellow: #141414;
  --radius: 14px;
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --body: 'Barlow', system-ui, sans-serif;
  --hazard: repeating-linear-gradient(-45deg, var(--yellow) 0 14px, #141414 14px 28px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:where(a, button):focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2.5rem, 1240px); margin-inline: auto; }
.label {
  font: 600 0.78rem/1 var(--body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
}
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0.005em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.95rem 1.5rem;
  font: 700 0.95rem/1 var(--body);
  letter-spacing: 0.06em; text-transform: uppercase;
  text-decoration: none; border-radius: 10px;
  border: 2px solid transparent;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--on-yellow); }
.btn-yellow:hover { background: #ffd24d; }
.btn-line { border-color: rgba(242, 240, 234, .35); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(15, 17, 19, .82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .7rem; text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.brand span { font: 800 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none; font-weight: 600; font-size: .92rem;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
  transition: color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--yellow); }
.nav-toggle { display: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  background:
    radial-gradient(60% 80% at 85% 40%, rgba(255,194,26,.10), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg));
  border-bottom: 1px solid var(--line);
}
.hero::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--hazard); opacity: .85; }
.hero-inner {
  width: min(100% - 2.5rem, 1240px); margin-inline: auto;
  min-height: min(calc(100svh - 68px), 700px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 3rem; align-items: center;
  padding: 3.5rem 0 4rem;
}
.hero .label { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: 1.2rem; }
.hero .label::before { content: ''; width: 28px; height: 10px; background: var(--hazard); border-radius: 2px; }
.hero h1 { font-size: clamp(2.5rem, 4.4vw, 4.1rem); line-height: .95; max-width: 17ch; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero-sub { margin: 1.2rem 0 1.8rem; max-width: 44ch; font-size: clamp(1rem, 1.3vw, 1.15rem); color: var(--ink-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-proof { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 2rem; margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--line); max-width: 520px; }
.hero-proof div { display: grid; gap: .15rem; }
.hero-proof strong { font: 800 1.6rem/1 var(--display); color: var(--ink); }
.hero-proof span { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* Game collage: tilted board of key art, like a studio showcase wall */
.hero-collage {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px;
  transform: rotate(-5deg);
}
.tile {
  position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 16 / 10;
  background: var(--panel); border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 24px 50px -20px rgba(0,0,0,.85);
  animation: tileIn .9s cubic-bezier(.2,.8,.2,1) both;
}
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile span {
  position: absolute; left: 8px; bottom: 8px; padding: .3rem .55rem; border-radius: 6px;
  font: 700 .66rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase;
  background: rgba(15,17,19,.78); color: var(--ink);
}
.tile-main { grid-column: 1 / -1; aspect-ratio: 16 / 8.5; border-color: rgba(255,194,26,.55); }
.tile-main span { background: var(--yellow); color: var(--on-yellow); }
.tile:nth-child(2) { animation-delay: .08s; }
.tile:nth-child(3) { animation-delay: .16s; }
.tile:nth-child(4) { animation-delay: .24s; }
.tile:nth-child(5) { display: none; }
.hero-copy > * { animation: rise .8s cubic-bezier(.2,.8,.2,1) both; }
.hero-copy > :nth-child(2) { animation-delay: .06s; }
.hero-copy > :nth-child(3) { animation-delay: .12s; }
.hero-copy > :nth-child(4) { animation-delay: .18s; }
.hero-copy > :nth-child(5) { animation-delay: .24s; }

@keyframes tileIn { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* ---------- Section heads ---------- */
.section { padding: 6rem 0; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.6rem; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(2.6rem, 5.5vw, 4.4rem); margin-top: .8rem; }
.section-head p { max-width: 38ch; color: var(--ink-2); }

/* ---------- Game cards ---------- */
.games-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(12, 1fr); }
.card {
  grid-column: span 4;
  position: relative; display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; text-decoration: none;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), border-color .3s, box-shadow .3s;
}
.card:hover { transform: translateY(-6px); border-color: var(--yellow); box-shadow: 0 24px 50px -24px rgba(0,0,0,.8); }
.card-art { aspect-ratio: 1024 / 500; overflow: hidden; background: var(--panel-2); }
.card-art img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-art img { transform: scale(1.05); }
.card-body { display: flex; gap: 1rem; align-items: flex-start; padding: 0 1.4rem 1.4rem; margin-top: -30px; position: relative; flex: 1; }
.card-icon { width: 72px; height: 72px; border-radius: 18px; border: 3px solid var(--panel); flex: none; box-shadow: 0 8px 20px rgba(0,0,0,.45); }
.card-text { padding-top: 38px; flex: 1; min-width: 0; }
.card h3 { font: 800 1.7rem/1 var(--display); text-transform: uppercase; }
.card .meta { margin-top: .4rem; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.card p { margin-top: .8rem; color: var(--ink-2); font-size: .98rem; }
.card-foot { display: flex; gap: .6rem; flex-wrap: wrap; padding: 0 1.4rem 1.4rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; padding: .55rem .9rem; border-radius: 8px;
  font: 700 .8rem/1 var(--body); letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--line); color: var(--ink); background: var(--panel-2); transition: background .2s, color .2s, border-color .2s;
}
.chip:hover { background: var(--yellow); color: var(--on-yellow); border-color: var(--yellow); }
.chip svg { width: 14px; height: 14px; }

.card.feature { grid-column: span 12; display: grid; grid-template-columns: 1.35fr 1fr; }
.card.feature .card-art { aspect-ratio: auto; min-height: 380px; }
.card.feature .card-body { margin-top: 0; padding: 2.4rem 2.2rem 1rem; flex-direction: column; }
.card.feature .card-text { padding-top: 0; }
.card.feature h3 { font-size: clamp(2.4rem, 4vw, 3.4rem); }
.card.feature .card-foot { padding: 1rem 2.2rem 2.4rem; }
.card.feature .card-icon { width: 88px; height: 88px; border-radius: 22px; border-color: var(--panel-2); }
.stats { display: flex; gap: 1.6rem; margin-top: 1.4rem; flex-wrap: wrap; }
.stats div { display: grid; }
.stats strong { font: 800 1.9rem/1 var(--display); color: var(--yellow); }
.stats span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.badge {
  position: absolute; top: 1rem; left: 1rem; z-index: 2;
  font: 700 .72rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  background: var(--yellow); color: var(--on-yellow); padding: .45rem .7rem; border-radius: 6px;
}

/* ---------- In development ---------- */
.dev {
  position: relative; margin-top: 1.25rem; border-radius: var(--radius); overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.2fr; background: var(--bg-2); border: 1px solid var(--line);
}
.dev::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--hazard); }
.dev-text { padding: 2.6rem 2.2rem 2.2rem; }
.dev-text h3 { font: 800 clamp(2rem, 3.4vw, 2.8rem)/1 var(--display); text-transform: uppercase; margin: .9rem 0 .8rem; }
.dev-text p { color: var(--ink-2); max-width: 44ch; }
.dev-art { min-height: 300px; }
.dev-art img { width: 100%; height: 100%; object-fit: cover; }
.status { display: inline-flex; align-items: center; gap: .5rem; font: 700 .75rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(255,194,26,.2); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(255,194,26,0); } }

/* ---------- Studio ---------- */
.studio { background: var(--bg-2); border-block: 1px solid var(--line); }
.studio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.studio h2 { font-size: clamp(2.6rem, 5vw, 4rem); margin-top: .8rem; }
.studio p { color: var(--ink-2); font-size: 1.08rem; margin-bottom: 1.1rem; max-width: 56ch; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: 2rem; }
.facts div { background: var(--panel); padding: 1.3rem 1.2rem; }
.facts strong { display: block; font: 800 2.2rem/1 var(--display); }
.facts span { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Partners CTA ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: 20px; padding: clamp(2.4rem, 5vw, 4.2rem);
  background: var(--yellow); color: var(--on-yellow);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: end;
}
.cta::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 320px; height: 320px; background: repeating-linear-gradient(-45deg, rgba(0,0,0,.09) 0 18px, transparent 18px 36px); border-radius: 50%; }
.cta .label { color: var(--on-yellow); opacity: .7; }
.cta h2 { font-size: clamp(2.6rem, 5vw, 4.2rem); margin-top: .8rem; }
.cta p { font-size: 1.08rem; max-width: 44ch; position: relative; z-index: 1; }
.cta .btn { background: var(--on-yellow); color: var(--yellow); margin-top: 1.4rem; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.footer { padding: 4.5rem 0 2rem; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.footer .brand { margin-bottom: 1rem; }
.footer p { color: var(--ink-3); font-size: .95rem; max-width: 34ch; }
.footer h4 { font: 700 .78rem/1 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 1rem; }
.footer ul { list-style: none; display: grid; gap: .55rem; }
.footer a { text-decoration: none; color: var(--ink-2); font-size: .95rem; transition: color .2s; }
.footer a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; padding-top: 1.4rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .85rem; }
.socials { display: flex; gap: .6rem; margin-top: 1.4rem; }
.socials a { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink-2); }
.socials a:hover { border-color: var(--yellow); color: var(--yellow); }
.socials svg { width: 18px; height: 18px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .card { grid-column: span 6; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; min-height: 0; padding: 3.5rem 0 4.5rem; }
  .hero-collage { width: 100%; transform: rotate(-4deg); max-width: 620px; justify-self: center; }
  .hero { overflow: hidden; }
  .hero-copy { min-width: 0; }
  .card.feature { grid-template-columns: 1fr; }
  .card.feature .card-art { min-height: 0; aspect-ratio: 16 / 9; }
  .dev, .studio-grid, .cta { grid-template-columns: 1fr; }
  .studio-grid { gap: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .wrap, .hero-inner { width: min(100% - 2rem, 1240px); }
  .nav-inner { height: 60px; }
  .nav-toggle {
    display: inline-flex; font: 700 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase;
    color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: .65rem .9rem; cursor: pointer;
  }
  .nav-links {
    position: absolute; top: 60px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { display: block; padding: 1rem 1.25rem; border-top: 1px solid var(--line); }
  .hero-inner { padding: 2.6rem 0 3.6rem; gap: 2rem; }
  .hero .label { letter-spacing: .14em; font-size: .7rem; }
  .hero-proof { gap: 1rem; margin-top: 1.8rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-proof strong { font-size: 1.4rem; }
  .hero-proof span { font-size: .62rem; letter-spacing: .08em; }
  .hero-cta .btn { width: 100%; justify-content: center; }
  .hero-collage { gap: 10px; transform: rotate(-3deg); }
  .tile span { font-size: .58rem; left: 6px; bottom: 6px; }
  .section { padding: 4.2rem 0; }
  .card { grid-column: span 12; }
  .card.feature .card-body { padding: 1.6rem 1.4rem .6rem; }
  .card.feature .card-foot { padding: .8rem 1.4rem 1.6rem; }
  .dev-text { padding: 2.2rem 1.4rem 1.6rem; }
  .facts { grid-template-columns: 1fr 1fr 1fr; }
  .facts strong { font-size: 1.7rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}
/* ---------- Inner page head ---------- */
.page-head { position: relative; padding: 5.5rem 0 3.5rem; border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--hazard); opacity: .9; }
.page-head h1 { font-size: clamp(3rem, 7.5vw, 6rem); margin-top: 1rem; max-width: 14ch; }
.page-head h1 em { font-style: normal; color: var(--yellow); }
.page-head .lead { margin-top: 1.2rem; max-width: 56ch; color: var(--ink-2); font-size: 1.12rem; }
.page-head .hero-cta { margin-top: 2rem; }

/* ---------- Jump grid ---------- */
.jump { display: grid; grid-template-columns: repeat(5, 1fr); gap: .8rem; margin-top: 2.4rem; }
.jump a { display: flex; align-items: center; gap: .75rem; padding: .7rem; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); text-decoration: none; transition: border-color .2s, transform .2s; }
.jump a:hover { border-color: var(--yellow); transform: translateY(-2px); }
.jump img { width: 44px; height: 44px; border-radius: 11px; flex: none; }
.jump strong { display: block; font: 800 1.05rem/1.05 var(--display); text-transform: uppercase; }
.jump span { font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Game detail sections ---------- */
.game { padding: 5rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 68px; }
.game:nth-of-type(even) { background: var(--bg-2); }
.game-head { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.game-head img { width: 96px; height: 96px; border-radius: 24px; box-shadow: 0 10px 30px rgba(0,0,0,.5); }
.game-head .titles { flex: 1; min-width: 240px; }
.game-head h2 { font-size: clamp(2.4rem, 5vw, 4rem); margin-top: .5rem; }
.game-head .meta { margin-top: .5rem; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.game-body { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: start; }
.game-body > div > p { color: var(--ink-2); margin-bottom: 1rem; max-width: 58ch; }
.features { list-style: none; margin-top: 1.8rem; border-top: 1px solid var(--line); }
.features li { display: grid; grid-template-columns: 2.4rem 1fr; gap: .6rem; padding: .95rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: .98rem; }
.features b { font: 800 1.3rem/1 var(--display); color: var(--yellow); }
.features strong { color: var(--ink); font-weight: 600; }
.legal-links { margin-top: 1.6rem; font-size: .85rem; color: var(--ink-3); }
.legal-links a { color: var(--ink-2); }
.legal-links a:hover { color: var(--yellow); }
.shots { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); }
.shots img:first-child { grid-column: 1 / -1; }
.shots.portrait { grid-template-columns: repeat(2, minmax(0, 220px)); justify-content: start; }
.shots.portrait img { aspect-ratio: 9 / 16; grid-column: auto; }
.shots.keyart img { aspect-ratio: auto; }
.game.upcoming .game-head::before { content: ''; flex-basis: 100%; height: 0; }

/* ---------- Press ---------- */
.press-grid { display: grid; grid-template-columns: 220px 1fr; gap: 3.5rem; padding: 4rem 0 2rem; }
.press-side { position: sticky; top: 92px; align-self: start; }
.press-side ul { list-style: none; display: grid; gap: .2rem; margin-top: 1rem; }
.press-side a { display: block; padding: .5rem .8rem; border-left: 2px solid var(--line); text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: .92rem; }
.press-side a:hover { border-color: var(--yellow); color: var(--yellow); }
.press-block { padding-bottom: 3.5rem; margin-bottom: 3.5rem; border-bottom: 1px solid var(--line); scroll-margin-top: 90px; }
.press-block:last-child { border-bottom: 0; }
.press-block h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin: .7rem 0 1.6rem; }
.press-block p { color: var(--ink-2); margin-bottom: 1rem; max-width: 64ch; }
.facts-table { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts-table div { background: var(--panel); padding: 1rem 1.2rem; }
.facts-table dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.facts-table dd { margin-top: .3rem; font-weight: 600; }
.facts-table a { color: var(--yellow); }
.title-row { display: flex; align-items: center; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.title-row img { width: 56px; height: 56px; border-radius: 14px; }
.title-row strong { font: 800 1.35rem/1 var(--display); text-transform: uppercase; }
.title-row .meta { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .35rem; font-size: .85rem; color: var(--ink-3); }
.title-row .meta a { color: var(--ink-2); text-decoration: none; }
.title-row .meta a:hover { color: var(--yellow); }
.asset { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 1.3rem; margin-bottom: 1rem; }
.asset-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.asset-head strong { font: 800 1.3rem/1 var(--display); text-transform: uppercase; }
.asset-head span { display: block; margin-top: .3rem; font-size: .8rem; color: var(--ink-3); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: .6rem; }
.thumbs img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: var(--panel-2); }
.thumbs.wide { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.thumbs.wide img { aspect-ratio: 16 / 9; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-grid div { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); padding: 1.3rem; }
.contact-grid a { color: var(--yellow); font-weight: 600; text-decoration: none; }

@media (max-width: 980px) {
  .jump { grid-template-columns: repeat(3, 1fr); }
  .game-body { grid-template-columns: 1fr; gap: 2rem; }
  .press-grid { grid-template-columns: 1fr; gap: 1rem; }
  .press-side { position: static; }
  .press-side ul { display: flex; flex-wrap: wrap; gap: .4rem; }
  .press-side a { border: 1px solid var(--line); border-radius: 8px; }
}
@media (max-width: 700px) {
  .jump { grid-template-columns: 1fr 1fr; }
  .page-head { padding: 4rem 0 3rem; }
  .game { padding: 3.6rem 0; }
  .game-head img { width: 72px; height: 72px; border-radius: 18px; }
  .facts-table, .contact-grid { grid-template-columns: 1fr; }
}

/* ---------- Legal / long-form documents ---------- */
.doc { width: min(100% - 2.5rem, 820px); margin-inline: auto; padding: 4.5rem 0 5rem; }
.doc h1 { font: 800 clamp(2.8rem, 7vw, 4.6rem)/0.95 var(--display); text-transform: uppercase; margin: 1rem 0 1rem; }
.doc .meta { color: var(--ink-3); font-size: .9rem; margin-bottom: 2.4rem; }
.doc h2 { font: 800 1.9rem/1.05 var(--display); text-transform: uppercase; margin: 2.8rem 0 1rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.doc p, .doc li { color: var(--ink-2); }
.doc p { margin-bottom: 1.05rem; max-width: 72ch; }
.doc ul, .doc ol { margin: 0 0 1.2rem 1.3rem; }
.doc li { margin-bottom: .55rem; }
.doc li::marker { color: var(--yellow); }
.doc strong { color: var(--ink); }
.doc a { color: var(--yellow); text-underline-offset: 3px; }
.doc code { font-size: .88em; background: var(--panel-2); padding: .1rem .35rem; border-radius: 4px; overflow-wrap: anywhere; }
.doc .wrap-table { overflow-x: auto; }
.doc table { width: 100%; border-collapse: collapse; margin: .6rem 0 1.4rem; font-size: .95rem; }
.doc th, .doc td { border: 1px solid var(--line); padding: .7rem .8rem; text-align: left; vertical-align: top; color: var(--ink-2); }
.doc th { background: var(--panel-2); color: var(--ink); font-weight: 600; }
.doc td:first-child { color: var(--ink); font-weight: 600; }
.doc .note { padding: 1.2rem 1.4rem; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--yellow); border-radius: 10px; }
.doc .btn { margin: .4rem 0 1.6rem; }
@media (max-width: 640px) {
  .doc table, .doc tbody, .doc tr, .doc td { display: block; }
  .doc th { display: none; }
  .doc tr { border: 1px solid var(--line); border-radius: 10px; margin-bottom: .8rem; overflow: hidden; }
  .doc td { border: 0; border-top: 1px solid var(--line); }
  .doc td:first-child { border-top: 0; background: var(--panel-2); }
  .doc td[data-l]::before { content: attr(data-l); display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
}

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