/* Taibot Game Studio — site styles. Dark charcoal, warm ivory text, studio orange + robot-eye cyan. */

@font-face { font-family: "Anton"; src: url("/assets/fonts/Anton-Regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Barlow Condensed"; src: url("/assets/fonts/BarlowCondensed-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/assets/fonts/Barlow-Regular.ttf") format("truetype"); font-weight: 400; font-display: swap; }

:root {
  --bg: #1b1d23;
  --bg-2: #21242b;
  --surface: #282c35;
  --surface-2: #30353f;
  --line: #3b414d;
  --text: #efe9dd;
  --muted: #aaa69c;
  --orange: #ff6a1a;
  --orange-deep: #c94a0c;
  --cyan: #6ff5ea;
  --gold: #ffc35a;
  --accent: var(--orange);
  --radius: 14px;
  --wrap: 1180px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "JetBrains Mono", Consolas, monospace;
  color-scheme: dark;
}

*, *::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: 400 1.0625rem/1.65 var(--body); overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #b6fff9; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: #1b1d23; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.mono { font-family: var(--mono); font-size: .8em; letter-spacing: .02em; }
.muted { color: var(--muted); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--orange); color: #111; padding: 8px 14px; z-index: 100; border-radius: 6px; }
.skip:focus { left: 8px; }

/* Blueprint grid + soft studio lights behind everything */
.grid-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 600px at 8% -10%, rgba(255,106,26,.13), transparent 60%),
    radial-gradient(800px 600px at 105% 30%, rgba(111,245,234,.07), transparent 60%),
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--bg);
}

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(27,29,35,.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar__inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand__mark { width: 40px; height: 40px; border-radius: 10px; background: #000; box-shadow: 0 0 0 1px var(--line); transition: transform .3s; }
.brand:hover .brand__mark { transform: rotate(-8deg) scale(1.06); }
.brand__name { font: 600 1.35rem/1 var(--display); text-transform: uppercase; letter-spacing: .04em; }
.brand__name span { color: var(--muted); }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { color: var(--text); text-decoration: none; font: 600 1.05rem var(--display); text-transform: uppercase; letter-spacing: .06em;
  padding: 8px 12px; border-radius: 8px; }
.nav a:hover, .nav a[aria-current] { background: var(--surface); color: var(--text); }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--orange); }
.status-pill { display: flex; align-items: center; gap: 8px; padding: 6px 12px; border: 1px solid rgba(111,245,234,.35);
  border-radius: 999px; color: var(--text); text-decoration: none; font: 600 .95rem var(--display); text-transform: uppercase; letter-spacing: .05em;
  background: rgba(111,245,234,.06); }
.status-pill:hover { border-color: var(--cyan); color: var(--text); }
.status-pill__label { color: var(--cyan); }
.status-pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* ---------- Type ---------- */
.display { font: 600 clamp(2.7rem, 6.4vw, 5.4rem)/.95 var(--display); text-transform: uppercase; letter-spacing: .01em; margin: 0 0 20px; }
.display--sm { font-size: clamp(2.4rem, 5vw, 4rem); }
.hl { color: var(--orange); position: relative; white-space: nowrap; }
.hl::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .06em; height: .14em; background: var(--orange); opacity: .35; transform: skewX(-12deg); }
.h2 { font: 600 clamp(1.9rem, 3.4vw, 2.7rem)/1 var(--display); text-transform: uppercase; margin: 0 0 22px; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #d9d3c6; max-width: 60ch; }
.eyebrow { margin: 0 0 14px; color: var(--cyan); }
.section-label { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; color: var(--muted);
  font: 600 1rem var(--display); text-transform: uppercase; letter-spacing: .14em; }
.section-label .mono { color: var(--orange); border: 1px solid var(--line); border-radius: 6px; padding: 1px 7px; letter-spacing: 0; }
.section { padding-block: clamp(48px, 7vw, 90px) 0; }
.section--tight { padding-top: 24px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.link-arrow { font: 600 1.05rem var(--display); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; }

/* ---------- Buttons, badges, chips ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.btn { --c: var(--surface-2); display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px 12px; border-radius: 10px;
  font: 600 1.15rem/1 var(--display); text-transform: uppercase; letter-spacing: .06em; text-decoration: none; cursor: pointer;
  border: 0; transition: transform .08s, box-shadow .08s, background .2s; }
.btn--primary { background: var(--orange); color: #1b1d23; box-shadow: 0 4px 0 var(--orange-deep), 0 10px 26px rgba(255,106,26,.25); }
.btn--primary:hover { background: #ff7d36; color: #1b1d23; }
.btn--primary:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--orange-deep); }
.btn--ghost { background: rgba(255,255,255,.04); color: var(--text); box-shadow: inset 0 0 0 1px var(--line), 0 4px 0 #15171c; }
.btn--ghost:hover { color: var(--text); box-shadow: inset 0 0 0 1px var(--cyan), 0 4px 0 #15171c; }
.btn--ghost:active { transform: translateY(3px); box-shadow: inset 0 0 0 1px var(--cyan), 0 1px 0 #15171c; }
.btn--sm { padding: 9px 14px 8px; font-size: 1rem; }
.btn--steam::before { content: "★"; font-size: .9em; }
.badge { display: inline-block; padding: 5px 10px 4px; border-radius: 6px; background: var(--surface-2); color: var(--text);
  font: 600 .9rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; }
.badge--live { background: rgba(111,245,234,.12); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(111,245,234,.35); }
.chip { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text); font: 600 .95rem var(--display); letter-spacing: .04em; margin: 0 6px 6px 0; border: 0; cursor: default; }
.chip--sm { font-size: .85rem; padding: 2px 8px; color: var(--muted); }
button.chip { cursor: pointer; }
button.chip.is-active, button.chip:hover { box-shadow: inset 0 0 0 1px var(--orange); color: var(--orange); }

/* ---------- Home hero ---------- */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(28px, 5vw, 64px); align-items: center; padding-block: clamp(48px, 8vw, 110px) 10px; }
.console { margin: 0; background: #14161b; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), 0 30px 60px rgba(0,0,0,.35);
  overflow: hidden; transform: rotate(1.2deg); transition: transform .4s; }
.console:hover { transform: rotate(0); }
.console__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; background: #1d2026; border-bottom: 1px solid var(--line); }
.console__bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.console__bar span:nth-child(2) { background: #febc2e; } .console__bar span:nth-child(3) { background: #28c840; }
.console__bar b { margin-left: 8px; font: 400 .8rem var(--mono); color: var(--muted); }
.console__body { margin: 0; padding: 18px 18px 22px; font: .86rem/1.85 var(--mono); color: #d7d2c6; white-space: pre-wrap; min-height: 15.5em; }
.c-ok { color: #5ee08a; } .c-warn { color: var(--gold); } .c-dim { color: #6e7480; }
.caret { animation: pulse 1s steps(1) infinite; color: var(--cyan); }
.console__body .line { display: block; opacity: 0; transform: translateX(-4px); transition: opacity .25s, transform .25s; }
.console__body .line.on { opacity: 1; transform: none; }

/* ---------- Featured game banner ---------- */
.feature { position: relative; display: block; min-height: clamp(360px, 42vw, 500px); border-radius: calc(var(--radius) + 4px); overflow: hidden;
  color: var(--text); text-decoration: none; box-shadow: 0 0 0 1px var(--line); isolation: isolate; transition: box-shadow .3s, transform .3s; }
.feature:hover { color: var(--text); box-shadow: 0 0 0 2px var(--accent), 0 24px 60px rgba(0,0,0,.4); transform: translateY(-3px); }
.feature__bg, .feature__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 22% 50%; z-index: -2; transition: transform .8s; }
.feature:hover .feature__bg img { transform: scale(1.03); }
.feature__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,15,18,.92) 0%, rgba(14,15,18,.7) 34%, transparent 62%); }
.feature__content { padding: clamp(24px, 4vw, 48px); max-width: 520px; }
.feature__logo { width: min(360px, 70%); margin: 0 0 12px -6px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.5)); }
.feature__tagline { font: 600 1.45rem/1.15 var(--display); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 8px; }
.feature__summary { margin: 0 0 18px; color: #ddd7ca; }
.feature__more { display: block; margin-top: 18px; font: 600 1.05rem var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); }

/* ---------- Save slots (game cards) ---------- */
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 20px; }
.slot { position: relative; display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 16px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--surface), var(--bg-2)); box-shadow: inset 0 0 0 1px var(--line);
  color: var(--text); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.slot::before, .slot::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--accent, var(--orange)); opacity: 0; transition: opacity .25s; }
.slot::before { top: -5px; left: -5px; border-right: 0; border-bottom: 0; }
.slot::after { bottom: -5px; right: -5px; border-left: 0; border-top: 0; }
a.slot:hover { color: var(--text); transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--accent), 0 18px 40px rgba(0,0,0,.35); }
a.slot:hover::before, a.slot:hover::after { opacity: 1; }
.slot__cover img { border-radius: 8px; aspect-ratio: 3 / 4; object-fit: cover; box-shadow: 0 8px 20px rgba(0,0,0,.4); }
.slot__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.slot__num { color: var(--muted); }
.slot__title { font: 600 2rem/1 var(--display); text-transform: uppercase; }
.slot__body p { margin: 0 0 6px; color: #d4cec2; font-size: 1rem; }
.slot__body .badge { margin-top: auto; }
.slot--empty { grid-template-columns: 1fr; place-content: center; text-align: center; min-height: 230px; background: transparent;
  box-shadow: none; border: 2px dashed var(--line); color: var(--muted); }
.slot--empty strong { font: 600 2rem var(--display); text-transform: uppercase; color: var(--text); opacity: .6; }
.slot--empty strong::after { content: "_"; animation: pulse 1s steps(1) infinite; color: var(--orange); }
.slot--empty p { margin: 0; }

/* ---------- Devlog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.post-card { display: flex; flex-direction: column; height: 100%; border-radius: var(--radius); overflow: hidden; background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line); color: var(--text); text-decoration: none; transition: transform .25s, box-shadow .25s; }
.post-card:hover { color: var(--text); transform: translateY(-3px); box-shadow: inset 0 0 0 1px var(--orange), 0 16px 34px rgba(0,0,0,.3); }
.post-card__img img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.post-card__body { padding: 16px 18px 18px; }
.post-card__title { display: block; font: 600 1.5rem/1.1 var(--display); text-transform: uppercase; margin: 4px 0 8px; }
.post-card__body p { margin: 0 0 10px; color: #cfc9bd; font-size: .98rem; }
.post-meta { color: var(--orange); margin: 0; }
.post-meta a { color: inherit; }
.tags { margin: 6px 0 0; }
.filters { margin-top: 22px; }

/* ---------- Studio ---------- */
.studio__grid { display: grid; grid-template-columns: 280px 1fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.studio__logo { border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 24px 50px rgba(0,0,0,.4); transform: rotate(-2deg); transition: transform .4s; }
.studio__logo:hover { transform: rotate(0) scale(1.02); }
.stats { list-style: none; padding: 0; margin: 22px 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stats li { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; padding: 14px 16px; }
.stats b { display: block; font: 600 2.4rem/1 var(--display); color: var(--orange); }
.stats span { color: var(--muted); font-size: .92rem; }
.toolbox .mono { color: var(--cyan); margin-right: 8px; }

/* ---------- Game page ---------- */
.game-hero { position: relative; min-height: min(82vh, 760px); display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; }
.game-hero__bg, .game-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; z-index: -2; }
.game-hero__shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(14,15,18,.9), rgba(14,15,18,.55) 38%, transparent 64%), linear-gradient(0deg, var(--bg), transparent 30%); }
.game-hero__content { padding-block: 80px 70px; }
.game-hero__logo { margin: 0 0 6px -8px; width: clamp(260px, 34vw, 500px); filter: drop-shadow(0 8px 24px rgba(0,0,0,.55)); }
.game-hero__tagline { font: 600 clamp(1.3rem, 2.2vw, 1.8rem)/1.1 var(--display); text-transform: uppercase; letter-spacing: .05em; margin: 0 0 8px; }
.game-hero__summary { max-width: 46ch; margin: 0; color: #e2dccf; font-size: 1.12rem; }
.game-hero .badge { margin-top: 20px; }
.hud { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: -26px; position: relative; }
.hud__item { background: rgba(40,44,53,.92); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px var(--line); border-radius: 12px; padding: 12px 14px; }
.hud__item .mono { display: block; color: var(--accent); text-transform: uppercase; font-size: .72rem; letter-spacing: .1em; }
.hud__item strong { font: 600 1.25rem/1.2 var(--display); }
.game-body { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 5vw, 64px); padding-top: clamp(40px, 6vw, 72px); align-items: start; }
.prose h2 { font: 600 clamp(1.6rem, 2.6vw, 2.1rem)/1.05 var(--display); text-transform: uppercase; margin: 0 0 12px; }
.prose h2:not(:first-child) { margin-top: 34px; }
.prose h3 { font: 600 1.4rem/1.1 var(--display); text-transform: uppercase; margin: 28px 0 8px; }
.prose p, .prose li { color: #ddd7cb; }
.prose img { border-radius: 10px; box-shadow: 0 0 0 1px var(--line); }
.prose code { font-family: var(--mono); font-size: .88em; background: var(--surface); padding: 2px 6px; border-radius: 5px; }
.prose pre { background: #14161b; padding: 16px; border-radius: 10px; overflow-x: auto; box-shadow: inset 0 0 0 1px var(--line); }
.prose pre code { background: none; padding: 0; }
.prose blockquote { margin: 20px 0; padding: 4px 18px; border-left: 3px solid var(--orange); color: var(--muted); }
.trailer { position: sticky; top: 90px; }
.yt { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; cursor: pointer;
  background: #000; box-shadow: 0 0 0 1px var(--line), 0 24px 50px rgba(0,0,0,.35); aspect-ratio: 16 / 9; }
.yt picture { position: absolute; inset: 0; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s, filter .3s; }
.yt:hover img { transform: scale(1.03); filter: brightness(.85); }
.yt__play { position: absolute; left: 50%; top: 50%; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 8px rgba(0,0,0,.25), 0 10px 30px rgba(0,0,0,.5); transition: transform .2s; }
.yt__play::after { content: ""; position: absolute; left: 31px; top: 23px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.yt:hover .yt__play { transform: scale(1.08); }
.yt__note { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 12px; font: .78rem var(--body); color: #cfc9bd; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); text-align: left; }
.yt iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 20px; }
.feature-card { margin: 0; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: inset 0 0 0 1px var(--line); }
.feature-card figcaption { padding: 14px 18px 18px; display: grid; gap: 4px; }
.feature-card figcaption strong { font: 600 1.4rem/1.1 var(--display); text-transform: uppercase; }
.feature-card figcaption span { color: #cfc9bd; font-size: .98rem; }
.zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; overflow: hidden; }
.zoom img { aspect-ratio: 16 / 9; width: 100%; object-fit: cover; transition: transform .5s; }
.zoom:hover img { transform: scale(1.04); }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.gallery__item { grid-column: span 2; border-radius: 12px; box-shadow: 0 0 0 1px var(--line); }
.gallery__item:first-child { grid-column: span 4; grid-row: span 2; }
/* five shots: the last two share the bottom row */
.gallery__item:nth-child(4):nth-last-child(2), .gallery__item:nth-child(5):last-child { grid-column: span 3; }
.gallery__item:first-child img { height: 100%; }
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(96vw, 1600px); max-height: 92vh; }
.lightbox::backdrop { background: rgba(10,11,14,.9); backdrop-filter: blur(4px); }
.lightbox img { max-height: 90vh; width: auto; border-radius: 10px; }
.lightbox__close { position: fixed; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--surface-2); color: var(--text); font-size: 1.2rem; cursor: pointer; }
.cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: clamp(48px, 7vw, 90px);
  padding: 26px 30px; border-radius: var(--radius); background: linear-gradient(120deg, color-mix(in srgb, var(--accent) 22%, var(--surface)), var(--surface));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 50%, var(--line)); }
.cta strong { font: 600 1.8rem/1 var(--display); text-transform: uppercase; }
.cta p { margin: 6px 0 0; color: #ddd7cb; }
.cta--slim { margin-top: 48px; }
.cta--slim strong { font-size: 1.4rem; }

/* ---------- Pages, posts, legal ---------- */
.page-head { padding-top: clamp(40px, 7vw, 90px); }
.post { max-width: 780px; padding-top: clamp(28px, 5vw, 56px); }
.post__title { font: 600 clamp(2.2rem, 5vw, 3.6rem)/1 var(--display); text-transform: uppercase; margin: 10px 0 14px; }
.post__cover { margin: 26px 0; }
.post__cover img { border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line); }
.prose--post { font-size: 1.1rem; }
.post__nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.post__nav a { display: grid; gap: 2px; text-decoration: none; color: var(--text); font: 600 1.2rem/1.2 var(--display); text-transform: uppercase; max-width: 48%; }
.post__nav a .mono { color: var(--orange); text-transform: none; }
.post__nav-next { text-align: right; }
.link-arrow--back { font-size: .95rem; }
.legal { max-width: 780px; }
.legal h2 { font: 600 1.4rem var(--display); text-transform: uppercase; margin: 30px 0 6px; }
.todo { display: inline-block; padding: 2px 8px; border: 1px dashed #ff6b6b; color: #ff8f8f; border-radius: 6px; font-family: var(--mono); font-size: .9em; }
.notfound .mono { color: var(--gold); }

/* ---------- Footer ---------- */
.footer { margin-top: clamp(70px, 10vw, 130px); border-top: 1px solid var(--line); background: rgba(20,22,27,.7); padding: 36px 0 26px; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: center; justify-content: space-between; }
.footer__brand { display: flex; gap: 12px; align-items: center; }
.footer__brand img { border-radius: 10px; background: #000; }
.footer__brand strong { font: 600 1.2rem var(--display); text-transform: uppercase; letter-spacing: .04em; }
.footer__brand p { margin: 0; color: var(--muted); font-size: .95rem; }
.footer__links, .footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.footer a { color: var(--text); text-decoration: none; font: 600 1.02rem var(--display); text-transform: uppercase; letter-spacing: .05em; }
.footer a:hover { color: var(--cyan); }
.footer__legal span { color: var(--muted); font-size: .9rem; }
.footer__fine { color: #7d7a73; font-size: .82rem; margin-top: 20px; }

/* ---------- Achievement toast ---------- */
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 90; display: flex; gap: 12px; align-items: center; padding: 12px 18px 12px 12px;
  background: #14161b; border-radius: 12px; box-shadow: 0 0 0 1px var(--gold), 0 20px 40px rgba(0,0,0,.5); animation: toast-in .4s ease-out; }
.toast__icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; background: rgba(255,195,90,.15); font-size: 1.4rem; }
.toast small { display: block; color: var(--gold); font: 600 .85rem var(--display); text-transform: uppercase; letter-spacing: .1em; }
.toast strong { font: 600 1.15rem var(--display); text-transform: uppercase; }
/* `hidden` must win over display:flex */
.toast[hidden] { display: none; }
@keyframes toast-in { from { transform: translateY(20px); opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero, .game-body, .studio__grid { grid-template-columns: 1fr; }
  .console { transform: none; }
  .studio__logo { width: 200px; }
  .trailer { position: static; }
  .status-pill__label { display: none; }
}
@media (max-width: 700px) {
  .topbar__inner { gap: 10px; }
  .brand__name span { display: none; }
  .status-pill { display: none; }
  .nav a { padding: 8px 8px; font-size: .98rem; }
  .slot { grid-template-columns: 100px 1fr; gap: 14px; }
  .slot__title { font-size: 1.6rem; }
  .slot--empty { grid-template-columns: 1fr; min-height: 160px; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery__item, .gallery__item:nth-child(n) { grid-column: span 1; grid-row: auto; }
  .gallery__item:first-child { grid-column: span 2; }
  .feature { min-height: 0; background: var(--surface); }
  .feature__bg { position: relative; inset: auto; height: auto; }
  .feature__bg img { position: relative; inset: auto; height: auto; aspect-ratio: 4 / 3; object-position: 52% 50%; }
  .feature__shade { display: none; }
  .feature__content { margin-top: -70px; position: relative; padding-top: 0; }
  .feature__logo { width: 210px; }
  /* phones: artwork on top, text below it */
  .game-hero { display: block; min-height: 0; }
  .game-hero__bg { position: relative; inset: auto; height: auto; }
  .game-hero__bg img { position: relative; inset: auto; height: auto; aspect-ratio: 1000 / 886; object-position: 50% 50%; }
  .game-hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--bg) 2%, transparent 40%); }
  .game-hero__shade { display: none; }
  .game-hero__content { padding-block: 0 56px; margin-top: -64px; position: relative; }
  .game-hero__logo { width: 230px; }
  .stats { grid-template-columns: 1fr 1fr 1fr; }
  .stats b { font-size: 1.9rem; }
  .post__nav { flex-direction: column; }
  .post__nav a { max-width: none; }
  .post__nav-next { text-align: left; }
}
@media (max-width: 420px) { .brand__name { font-size: 1.15rem; } .nav a { padding: 6px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .console__body .line { opacity: 1; transform: none; }
}

/* Konami code: Gang Birds mode */
.birdmode .display, .birdmode .h2, .birdmode .slot__title { font-family: "Anton", var(--display); letter-spacing: .02em; }
.birdmode { --orange: #e0562a; --cyan: #ffc35a; }
.birdmode .grid-bg { filter: hue-rotate(-15deg) saturate(1.3); }
