/* GmCat network: shared brand styles (matches play.gmcat.io) */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&family=Press+Start+2P&display=swap');

:root {
  color-scheme: dark;
  --bg: #10091e; --panel: #1b102d; --panel2: #25163a; --line: #432862;
  --cream: #fff6dd; --muted: #b7a9c2; --soft: #8f80a0;
  --purple: #9d6bcc; --orange: #f08a49; --gold: #f5c967; --green: #72d49a; --pink: #ef8faa; --sky: #8fb6ef;
  --pixel: 'Press Start 2P', ui-monospace, monospace;
  --max: 1160px; --read: 70ch;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden; display: flex; flex-direction: column;
  background: radial-gradient(circle at 10% 5%, #2c1648 0, transparent 28%),
              radial-gradient(circle at 92% 34%, #251446 0, transparent 26%), var(--bg);
  color: var(--cream); font: 17px/1.65 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
a { color: var(--gold); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
img { max-width: 100%; height: auto; }
.pixelated { image-rendering: pixelated; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 99; background: var(--orange); color: #281329; padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* Header */
.site-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 28px;
  width: min(var(--max), calc(100% - 40px)); min-height: 82px; margin: 0 auto; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--cream); text-decoration: none; }
.brand-gm { display: grid; place-items: center; width: 50px; height: 40px; background: #e2e1e1; color: #382546;
  box-shadow: 5px 5px 0 #67417b; transform: rotate(-3deg); font: 12px var(--pixel); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-size: 19px; letter-spacing: -.03em; }
.brand-text small { margin-top: 5px; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 22px; }
.site-nav a { color: var(--muted); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--cream); }
.site-nav a[aria-current="page"] { box-shadow: 0 2px 0 var(--orange); }

main { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; flex: 1; }

/* Type */
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
.eyebrow { line-height: 2; font: 10px/2 var(--pixel); color: var(--orange); letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 46ch; }
.muted { color: var(--muted); }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 10px;
  border: 1px solid var(--line); background: #ffffff08; color: var(--cream); font-weight: 800; font-size: 14px; text-decoration: none; cursor: pointer; }
.btn:hover { color: var(--cream); filter: brightness(1.12); transform: translateY(-1px); }
.btn.primary { background: var(--orange); border-color: var(--orange); color: #281329; box-shadow: 3px 3px 0 #673b64; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.chip { display: inline-block; padding: 4px 10px; border-radius: 99px; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  border: 1px solid var(--line); color: var(--muted); background: #ffffff06; }
.chip.dev { color: var(--gold); border-color: #6b5626; background: #f5c96712; }
.chip.live { color: var(--green); border-color: #2f6a4a; background: #72d49a12; }
.chip.later { color: var(--sky); border-color: #34507a; background: #8fb6ef12; }

/* Cards */
.card { background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }

/* Hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 32px;
  padding: clamp(28px, 5vw, 56px); margin: 20px 0 56px; border: 1px solid var(--line); border-radius: 24px;
  background: radial-gradient(circle at 80% 50%, #3a2160 0, transparent 55%), linear-gradient(135deg, var(--panel2), var(--panel)); }
.hero-art { display: grid; place-items: center; }
.hero-art img { width: min(100%, 300px); filter: drop-shadow(0 18px 30px #00000070); }
.spot { background: radial-gradient(closest-side, #5a3790 0, #3a2160 45%, transparent 100%); padding: 30px; }
@media (max-width: 760px) { .hero { grid-template-columns: 1fr; } .hero-art { order: -1; } .hero-art img { width: 170px; } }

/* Footer */
.site-footer { margin-top: 80px; border-top: 1px solid var(--line); background: #0c0717; }
.footer-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding-block: 34px; display: flex; flex-wrap: wrap; gap: 20px 40px; justify-content: space-between; font-size: 14px; color: var(--muted); }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-inner a { color: var(--muted); }
.footer-inner a:hover { color: var(--cream); }

/* Coming-soon placeholder pages */
.soon { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; padding-block: clamp(30px, 7vw, 90px); }
.soon .hero-art img { width: min(100%, 260px); }
.soon-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.soon-list li { background: #ffffff06; border: 1px dashed var(--line); border-radius: 14px; padding: 14px 16px; }
.soon-list b { display: block; }
.soon-list span { font-size: 14px; color: var(--muted); }
.loading { display: flex; gap: 8px; margin: 22px 0 0; }
.loading i { width: 12px; height: 12px; background: var(--orange); animation: blink 1.2s infinite steps(1); }
.loading i:nth-child(2) { animation-delay: .2s; } .loading i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 50% { opacity: .2; } }
@media (max-width: 760px) { .soon { grid-template-columns: 1fr; } .soon .hero-art { order: -1; } .soon .hero-art img { width: 160px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
.soon-h { font-size: 1.1rem; margin: 34px 0 0; }
.soon-note { font-size: 14px; margin-top: 18px; }
.section-title { font: 12px var(--pixel); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin: 0 0 18px; }
