*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body { background: #05020a; color: #e8e0f4; font-family: system-ui, -apple-system, sans-serif; line-height: 1.6; }

.site-shell { max-width: 1400px; margin: 0 auto; }

/* ─── Nav / Signage Rail ─── */
.nav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 7vw;
  background: linear-gradient(180deg, #0e0622 0%, #080414 100%);
  border-bottom: 1px solid #ffffff08;
  box-shadow: 0 4px 20px #000c, 0 1px 0 #ff2d7818;
  position: relative; z-index: 10;
}
/* Neon mounting rail — glowing strip across the bottom edge of the sign panel */
.nav::after {
  content: "";
  position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, #ff2d7866 25%, #00e5ff55 50%, #ff2d7866 75%, transparent 100%);
  box-shadow: 0 0 8px #ff2d7844, 0 0 16px #00e5ff22;
}
.brand-mark {
  font-weight: 900; font-size: 18px; color: #fff;
  text-shadow: 0 0 18px #ff2d7899, 0 0 40px #ff2d7833;
  text-decoration: none; display: flex; align-items: center; gap: 10px; line-height: 1;
}
.brand-mark span { color: #00e5ff; text-shadow: 0 0 12px #00e5ffaa; }
.brand-logo-img {
  width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
  box-shadow: 0 0 10px #ff2d7866, 0 0 20px #ff2d7833;
}
/* Sign panels — individual lit placards for each nav destination */
.nav nav { display: flex; align-items: center; gap: 4px; }
.nav nav a {
  color: #8a809a; text-decoration: none; font-size: 11px; letter-spacing: 2px;
  text-transform: uppercase; font-weight: 700; padding: 7px 14px;
  background: #0c0720; border: 1px solid #ffffff0d; border-radius: 3px;
  transition: color .18s, border-color .18s, box-shadow .18s, background .18s;
}
.nav nav a:hover { color: #fff; border-color: #ffffff22; background: #130d28; }
.nav nav a.active { color: #00e5ff; border-color: #00e5ff44; background: #00e5ff0c; box-shadow: 0 0 10px #00e5ff2a; }

/* Hero */
.hero { min-height: 85vh; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 60px 7vw; }

.hero-art, .hero-copy, .game-card {
  background: #0b0614; border: 1px solid #ffffff22; border-radius: 24px; padding: 32px; box-shadow: 0 30px 80px #000;
}
.hero-art img { width: 100%; border-radius: 16px; display: block; }

.kicker, .label { color: #00e5ff; text-transform: uppercase; letter-spacing: 3px; font-weight: 900; font-size: 11px; text-shadow: 0 0 8px #00e5ff88; }

h1 {
  font-size: clamp(56px, 8vw, 90px); line-height: .88; margin: 14px 0 16px;
  text-transform: uppercase; color: #fff; text-shadow: 0 0 20px #ff2d78, 0 0 60px #ff2d7844;
}
.tagline { font-size: clamp(18px, 2.5vw, 28px); font-weight: 900; color: #ff2d78; text-shadow: 0 0 12px #ff2d7888; margin-bottom: 16px; }
.intro { color: #bdb3cc; font-size: 15px; max-width: 440px; margin-bottom: 28px; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.actions a { display: inline-block; padding: 12px 22px; border-radius: 999px; text-decoration: none; font-weight: 900; font-size: 13px; letter-spacing: 1px; transition: opacity .2s; }
.actions a:hover { opacity: .82; }
.primary { background: #00e5ff; color: #020207; box-shadow: 0 0 18px #00e5ff66; }
.secondary { border: 1px solid #ff2d78; color: #fff; box-shadow: 0 0 12px #ff2d7844; }

/* Sections */
.section { padding: 70px 7vw; border-top: 1px solid #ffffff18; }
.section-head { margin-bottom: 36px; }
.section-head h2 { margin-top: 8px; }

h2 { font-size: clamp(32px, 5vw, 52px); font-weight: 900; color: #fff; text-shadow: 0 0 16px #ffffff33; }
h3 { font-size: 22px; font-weight: 900; color: #fff; margin: 10px 0 8px; }

/* Game cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.game-card p { color: #bdb3cc; font-size: 14px; }
.game-card.hot    { border-color: #ff2d7866; box-shadow: 0 20px 60px #000, 0 0 30px #ff2d7822; }
.game-card.cyan   { border-color: #00e5ff66; box-shadow: 0 20px 60px #000, 0 0 30px #00e5ff22; }
.game-card.violet { border-color: #9b5fff66; box-shadow: 0 20px 60px #000, 0 0 30px #9b5fff22; }
.game-card.hot    .label { color: #ff2d78; text-shadow: 0 0 8px #ff2d7888; }
.game-card.violet .label { color: #c084fc; text-shadow: 0 0 8px #c084fc88; }

/* Studio split */
.split-section {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start;
  padding: 70px 7vw; border-top: 1px solid #ffffff18;
}
.split-section p { color: #bdb3cc; }

/* Ticker */
.ticker {
  display: flex; gap: 48px; padding: 22px 7vw; overflow: hidden;
  background: #080510; border-top: 1px solid #ffffff18; border-bottom: 1px solid #ffffff18;
}
.ticker span { color: #00e5ff; font-size: 11px; font-weight: 900; letter-spacing: 3px; text-transform: uppercase; white-space: nowrap; opacity: .7; }
.ticker span::before { content: "▶ "; color: #ff2d78; opacity: 1; }

/* Footer */
footer {
  display: flex; justify-content: space-between; align-items: center;
  padding: 40px 7vw; border-top: 1px solid #ffffff18; color: #bdb3cc; font-size: 13px;
}

/* (brand-mark consolidated into nav section above) */

/* Page hero (inner pages) */
.page-hero {
  padding: 60px 7vw 50px;
  border-bottom: 1px solid #ffffff18;
}
.page-hero .kicker { display: block; margin-bottom: 12px; }
.page-hero h1 {
  font-size: clamp(36px, 6vw, 72px); line-height: .9; margin-bottom: 20px;
  text-transform: uppercase; color: #fff; text-shadow: 0 0 20px #ff2d78, 0 0 60px #ff2d7844;
}
.page-hero .intro { color: #bdb3cc; font-size: 15px; max-width: 520px; }

/* Game card extras */
.game-desc { color: #bdb3cc; font-size: 14px; margin-bottom: 16px; }
.card-meta { display: flex; gap: 8px; flex-wrap: wrap; }

/* Tag pills */
.tag { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 10px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; }
.tag.pink   { background: #ff2d7818; color: #ff2d78; border: 1px solid #ff2d7840; }
.tag.cyan   { background: #00e5ff18; color: #00e5ff; border: 1px solid #00e5ff40; }
.tag.violet { background: #9b5fff18; color: #c084fc; border: 1px solid #9b5fff40; }

/* Devlog cards */
.devlog-cards { display: grid; gap: 20px; }
.devlog-card {
  background: #0b0614; border: 1px solid #ffffff22; border-radius: 24px;
  padding: 28px 32px; box-shadow: 0 20px 60px #000;
}
.devlog-meta {
  color: #00e5ff; font-size: 11px; font-weight: 900; letter-spacing: 3px;
  text-transform: uppercase; margin-bottom: 10px; text-shadow: 0 0 8px #00e5ff88;
}
.devlog-card h3 { margin-bottom: 10px; }
.devlog-card p { color: #bdb3cc; font-size: 14px; }
.devlog-card .tag { margin-bottom: 12px; }

/* Contact grid */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.contact-card {
  display: block; background: #0b0614; border: 1px solid #ffffff22; border-radius: 24px;
  padding: 28px 32px; box-shadow: 0 20px 60px #000; text-decoration: none;
  transition: border-color .2s, box-shadow .2s;
}
.contact-card h3 { color: #fff; margin-bottom: 8px; }
.contact-card p { color: #bdb3cc; font-size: 14px; margin-bottom: 16px; }
.contact-card .link-hint { color: #00e5ff; font-size: 11px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; text-shadow: 0 0 8px #00e5ff88; }
.contact-card:hover { border-color: #00e5ff66; box-shadow: 0 20px 60px #000, 0 0 30px #00e5ff22; }
.contact-card.hot-card   { border-color: #ff2d7844; }
.contact-card.hot-card:hover { border-color: #ff2d78aa; box-shadow: 0 20px 60px #000, 0 0 30px #ff2d7822; }
.contact-card.cyan-card  { border-color: #00e5ff44; }
.contact-card.violet-card { border-color: #9b5fff44; }
.contact-card.violet-card:hover { border-color: #9b5fffaa; box-shadow: 0 20px 60px #000, 0 0 30px #9b5fff22; }

/* Footer links */
.footer-nav a { color: #bdb3cc; text-decoration: none; margin-left: 16px; font-size: 13px; transition: color .2s; }
.footer-nav a:first-child { margin-left: 0; }
.footer-nav a:hover { color: #00e5ff; }

/* (nav active state consolidated into nav section above) */

/* Footer links (itch page) */
footer a { color: #bdb3cc; text-decoration: none; transition: color .2s; }
footer a:hover { color: #00e5ff; }

/* Tag default (no modifier) */
.tag { background: #ffffff0d; color: #bdb3cc; border: 1px solid #ffffff1a; }

/* Tag row */
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; }

/* ──────────────────────────────────────────────
   Itch Hub page
────────────────────────────────────────────── */

/* Hero */
.itch-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 60px 7vw; min-height: 70vh;
}
.itch-h1 {
  font-size: clamp(48px, 7vw, 80px); line-height: .88; margin: 14px 0 16px;
  text-transform: uppercase; color: #fff; text-shadow: 0 0 20px #ff2d78, 0 0 60px #ff2d7844;
}
.itch-hero-badge {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  background: #0b0614; border: 1px solid #ff2d7833; border-radius: 24px;
  padding: 40px 32px; box-shadow: 0 30px 80px #000, 0 0 60px #ff2d7818;
}
.itch-studio-logo {
  width: 100%; max-width: 280px; border-radius: 18px; object-fit: cover; display: block;
  box-shadow: 0 0 40px #ff2d7844, 0 0 80px #ff2d7822;
  border: 1px solid #ff2d7833;
}
.itch-logo-block {
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  text-align: center;
}
.itch-icon { font-size: 72px; line-height: 1; }
.itch-platform-label {
  font-size: 26px; font-weight: 900; letter-spacing: 4px; color: #fff;
  text-shadow: 0 0 18px #ff2d7888;
}
.itch-badge-sub {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: #bdb3cc; max-width: 240px; margin-top: 4px;
}

/* Itch game cards */
.itch-card { display: flex; flex-direction: column; justify-content: space-between; }
.itch-card-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px;
}
.itch-card-footer {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px; padding-top: 16px; margin-top: auto;
}
.itch-status {
  font-size: 10px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; flex-shrink: 0;
}
.itch-status--dev   { background: #ff2d7818; color: #ff2d78; border: 1px solid #ff2d7840; }
.itch-status--proto { background: #9b5fff18; color: #c084fc; border: 1px solid #9b5fff40; }

/* Itch links */
.itch-link {
  color: #ff2d78; font-size: 12px; font-weight: 900; letter-spacing: 1px;
  text-decoration: none; text-transform: uppercase; transition: opacity .2s;
}
.itch-link:hover { opacity: .75; }
.cyan-link   { color: #00e5ff; }
.violet-link { color: #c084fc; }

/* Demo section */
.demo-grid { display: grid; gap: 24px; }
.demo-card {
  display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: center;
  background: #0b0614; border: 1px solid #ffffff22; border-radius: 24px; padding: 32px;
  box-shadow: 0 20px 60px #000;
}
.demo-thumb {
  height: 180px; border-radius: 14px;
  background: linear-gradient(135deg, #12082a 0%, #1a0a38 100%);
  border: 1px solid #9b5fff44;
  display: flex; align-items: flex-end; padding: 16px;
  color: #c084fc; font-size: 11px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
  box-shadow: inset 0 0 40px #9b5fff1a;
}

/* Devlog list */
.devlog-list { display: flex; flex-direction: column; }
.devlog-entry {
  display: grid; grid-template-columns: 96px 1fr; gap: 28px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid #ffffff0f;
}
.devlog-entry:last-child { border-bottom: none; }
.devlog-date {
  color: #00e5ff; font-size: 11px; font-weight: 900; letter-spacing: 2px;
  text-transform: uppercase; padding-top: 6px; opacity: .8;
  text-shadow: 0 0 8px #00e5ff88;
}
.devlog-entry h3 { font-size: 18px; margin-bottom: 8px; }
.devlog-entry p  { color: #bdb3cc; font-size: 14px; }

/* Downloads */
.download-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.download-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: #0b0614; border: 1px solid #ffffff22; border-radius: 20px; padding: 24px;
  box-shadow: 0 12px 40px #000;
}
.download-card--coming { opacity: .45; }
.download-icon { font-size: 32px; flex-shrink: 0; line-height: 1.2; }
.download-card h3 { font-size: 16px; margin: 0 0 6px; }
.download-meta { color: #bdb3cc; font-size: 12px; margin-bottom: 10px; }

/* Media / screenshots */
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.media-thumb {
  height: 180px; border-radius: 16px;
  background: linear-gradient(135deg, #12082a 0%, #0d0520 100%);
  border: 1px solid #ffffff18;
  display: flex; align-items: flex-end; padding: 16px;
  color: #bdb3cc; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.media-thumb--hot    { border-color: #ff2d7844; box-shadow: inset 0 0 40px #ff2d7811; }
.media-thumb--cyan   { border-color: #00e5ff44; box-shadow: inset 0 0 40px #00e5ff11; }
.media-thumb--violet { border-color: #9b5fff44; box-shadow: inset 0 0 40px #9b5fff11; }

/* CTA / follow section */
.cta-section {
  text-align: center; padding: 80px 7vw;
  border-top: 1px solid #ffffff18;
  background: radial-gradient(ellipse at center, #1a0a2e 0%, #05020a 70%);
}
.cta-intro { color: #bdb3cc; max-width: 560px; margin: 16px auto 32px; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.social-pill {
  display: inline-block; padding: 14px 28px; border-radius: 999px;
  text-decoration: none; font-weight: 900; font-size: 13px; letter-spacing: 1px;
  transition: opacity .2s;
}
.social-pill:hover { opacity: .82; }
.hot-pill    { background: #ff2d78; color: #fff; box-shadow: 0 0 20px #ff2d7866; }
.cyan-pill   { background: transparent; border: 1px solid #00e5ff; color: #00e5ff; box-shadow: 0 0 12px #00e5ff33; }
.violet-pill { background: transparent; border: 1px solid #9b5fff; color: #c084fc; box-shadow: 0 0 12px #9b5fff33; }

/* ──────────────────────────────────────────────
   About page — Interior Lounge / Identity Wall
────────────────────────────────────────────── */

/* Back wall: logo mounted on the right, mission copy on the left */
.about-back-wall {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
  min-height: 55vh;
  padding: 72px 7vw;
  background: linear-gradient(180deg, #0c041c 0%, #0a0318 100%);
  position: relative;
  overflow: hidden;
}
/* Vertical wall paneling */
.about-back-wall::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0, transparent 79px, #ffffff04 79px, #ffffff04 80px);
  pointer-events: none;
}
/* Ambient sign glow on the wall surface */
.about-back-wall::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 72% 50%, #ff2d7818 0%, transparent 48%),
    radial-gradient(ellipse at 25% 45%, #00e5ff0e 0%, transparent 40%);
  pointer-events: none;
}
.about-wall-text {
  position: relative; z-index: 1;
}
.about-wall-text h1 {
  font-size: clamp(40px, 6.5vw, 78px);
  margin: 14px 0 20px;
}
.about-wall-text .intro { max-width: 480px; }
/* Logo mounted on the wall — the brand sign in the room */
.about-logo-panel {
  position: relative; z-index: 1;
  border-radius: 18px; overflow: hidden;
  border: 1px solid #ff2d7833;
  box-shadow: 0 0 60px #ff2d7844, 0 0 120px #ff2d7822, 0 30px 80px #000;
}
.about-logo-panel img { width: 100%; display: block; }

/* Second paragraph in manifesto body */
.manifesto-body p + p { margin-top: 14px; }

/* ──────────────────────────────────────────────
   Dev page — Workshop / Engine Room
────────────────────────────────────────────── */

/* Blueprint/workbench header */
.dev-room-header {
  padding: 72px 7vw 64px;
  background: linear-gradient(180deg, #060218 0%, #080d22 100%);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #ffffff0a;
}
/* Grid-line overlay — workshop graph-paper floor */
.dev-room-header::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(#ffffff05 1px, transparent 1px),
    linear-gradient(90deg, #ffffff05 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
/* Neon ambient bleeding up from the floor */
.dev-room-header::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0; height: 100px;
  background: linear-gradient(180deg, transparent, #9b5fff0c);
  pointer-events: none;
}
.dev-header-inner {
  position: relative; z-index: 1;
  max-width: 680px;
}
.dev-header-inner h1 {
  font-size: clamp(40px, 6.5vw, 78px);
  margin: 14px 0 20px;
}

/* Build status cards — games on the workbench */
.bench-section { padding: 70px 7vw; border-top: 1px solid #ffffff18; }
.bench-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.bench-card {
  background: #080318; border: 1px solid #ffffff15; border-radius: 16px;
  padding: 24px 28px; display: flex; flex-direction: column; gap: 0;
}
.bench-card h3 { font-size: 20px; margin: 8px 0 6px; }
.bench-label { color: #bdb3cc; font-size: 12px; letter-spacing: 1px; margin-bottom: 12px; }
.bench-note { color: #bdb3cc; font-size: 13px; line-height: 1.55; flex: 1; }

.hot-bench    { border-color: #ff2d7833; box-shadow: 0 16px 48px #000, 0 0 20px #ff2d7814; }
.cyan-bench   { border-color: #00e5ff33; box-shadow: 0 16px 48px #000, 0 0 20px #00e5ff14; }
.violet-bench { border-color: #9b5fff33; box-shadow: 0 16px 48px #000, 0 0 20px #9b5fff14; }

/* Pulsing status indicator */
.build-indicator {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 10px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
}
.hot-bench .build-indicator    { color: #ff2d78; }
.cyan-bench .build-indicator   { color: #00e5ff; }
.violet-bench .build-indicator { color: #c084fc; }

.indicator-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
  animation: blink-dot 2s ease-in-out infinite;
}
.hot-bench .indicator-dot    { background: #ff2d78; box-shadow: 0 0 6px #ff2d7888; }
.cyan-bench .indicator-dot   { background: #00e5ff; box-shadow: 0 0 6px #00e5ff88; }
.violet-bench .indicator-dot { background: #9b5fff; box-shadow: 0 0 6px #9b5fff88; }

@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: .3; }
}

/* Build progress bars */
.bench-progress { margin-top: 18px; }
.bench-bar-track {
  height: 3px; background: #ffffff12; border-radius: 2px;
  overflow: hidden; margin-bottom: 6px;
}
.bench-bar-fill { height: 100%; border-radius: 2px; }
.hot-bench .bench-bar-fill    { background: linear-gradient(90deg, #ff2d78, #ff61a0); box-shadow: 0 0 6px #ff2d7866; }
.cyan-bench .bench-bar-fill   { background: linear-gradient(90deg, #00e5ff, #44f0ff); box-shadow: 0 0 6px #00e5ff66; }
.violet-bench .bench-bar-fill { background: linear-gradient(90deg, #9b5fff, #b97dff); box-shadow: 0 0 6px #9b5fff66; }
.bench-bar-label { font-size: 10px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: #bdb3cc; opacity: .65; }

/* Dispatch / devlog section on dev page */
.dispatch-section { padding: 70px 7vw; border-top: 1px solid #ffffff18; }

/* ─── Games page ─── */
/* Card CTA link */
.card-cta {
  display: inline-block; margin-top: 14px;
  font-size: 11px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase;
  text-decoration: none; transition: opacity .2s;
}
.card-cta:hover { opacity: .75; }
.cta-pink   { color: #ff2d78; text-shadow: 0 0 8px #ff2d7866; }
.cta-cyan   { color: #00e5ff; text-shadow: 0 0 8px #00e5ff66; }
.cta-violet { color: #c084fc; text-shadow: 0 0 8px #c084fc66; }
.cta-muted  { color: #bdb3cc; }

/* Responsive */
@media (max-width: 900px) {
  .hero, .split-section, .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 8px; text-align: center; }
  .footer-nav a { margin-left: 0; margin-right: 12px; }
  .itch-hero { grid-template-columns: 1fr; min-height: auto; }
  .itch-studio-logo { max-width: 200px; }
  .demo-card { grid-template-columns: 1fr; }
  .download-grid { grid-template-columns: 1fr 1fr; }
  .media-grid { grid-template-columns: 1fr 1fr; }
  .devlog-entry { grid-template-columns: 1fr; gap: 4px; }
  /* New page responsive */
  .about-back-wall { grid-template-columns: 1fr; min-height: auto; gap: 36px; }
  .about-logo-panel { max-width: 320px; }
  .bench-grid { grid-template-columns: 1fr; }
  .studio-back-wall { min-height: auto; align-items: flex-start; padding-top: 48px; }
  .studio-manifesto { grid-template-columns: 1fr; gap: 16px; }
  .manifesto-label  { border-top: none; padding-top: 0; }
  .studio-plaques   { grid-template-columns: 1fr; }
  .studio-plaque    { border-right: none; }
}
@media (max-width: 680px) {
  .nav { flex-wrap: wrap; gap: 10px; padding: 12px 5vw; }
  .nav nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
}
@media (max-width: 600px) {
  .download-grid, .media-grid { grid-template-columns: 1fr; }
}

/* Neon moon / boulevard atmosphere pass */
body {
  background:
    radial-gradient(circle at 78% 16%, #e8f7ff 0 0.9%, #00e5ff55 1.2%, transparent 8%),
    radial-gradient(circle at 22% 24%, #ff2d7833 0, transparent 28%),
    linear-gradient(135deg, #05020a 0%, #12051f 45%, #020108 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0 8%, #ff2d7818 8.5% 9%, transparent 9.5% 100%),
    linear-gradient(90deg, transparent 0 15%, #00e5ff18 15.5% 16%, transparent 16.5% 100%),
    linear-gradient(90deg, transparent 0 83%, #ff2d7814 83.5% 84%, transparent 84.5% 100%);
  opacity: .85;
}

.hero {
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  left: 7vw;
  right: 7vw;
  bottom: 34px;
  height: 90px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent, #ff2d7830, #00e5ff26, transparent);
  filter: blur(22px);
  opacity: .8;
}

.hero-art {
  position: relative;
  overflow: hidden;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 52% 42%, #00e5ff22, transparent 28%),
    radial-gradient(circle at 45% 55%, #ff2d7828, transparent 34%);
  filter: blur(18px);
}

.hero-art img {
  position: relative;
  z-index: 1;
  box-shadow: 0 0 42px #ff2d7844, 0 0 70px #00e5ff22;
}

.page-hero {
  background:
    radial-gradient(circle at 80% 10%, #00e5ff22, transparent 22%),
    radial-gradient(circle at 20% 40%, #ff2d7822, transparent 30%);
}

/* ──────────────────────────────────────────────
   Studio page — Interior Lounge / Workshop
────────────────────────────────────────────── */

.studio-room {
  position: relative;
}

/* Back wall: the room's rear surface, sign mounted here */
.studio-back-wall {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  padding: 72px 7vw 56px;
  background: linear-gradient(180deg, #0c041c 0%, #0a0318 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle vertical wall paneling */
.studio-back-wall::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent 0,
    transparent 79px,
    #ffffff04 79px,
    #ffffff04 80px
  );
  pointer-events: none;
}

/* Ambient glow cast by the sign onto the wall surface */
.studio-back-wall::after {
  content: "";
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 38% 55%, #ff2d7815 0%, transparent 55%),
    radial-gradient(ellipse at 62% 40%, #00e5ff0e 0%, transparent 45%);
  pointer-events: none;
}

.studio-wall-sign {
  position: relative;
  z-index: 1;
  max-width: 840px;
}

.studio-wall-sign h1 {
  font-size: clamp(42px, 6.5vw, 82px);
}

/* Floor line: wall meets floor, neon spill */
.studio-floor-line {
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    #ff2d7855 12%,
    #00e5ff88 50%,
    #ff2d7855 88%,
    transparent 100%
  );
  box-shadow: 0 0 10px #00e5ff44, 0 3px 18px #ff2d7822;
  position: relative;
}

.studio-floor-line::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 36px;
  background: linear-gradient(180deg, #00e5ff0b 0%, transparent 100%);
  pointer-events: none;
}

/* Mission: text mounted on the wall, label + body layout */
.studio-manifesto {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 56px;
  align-items: start;
  padding: 64px 7vw;
  background: linear-gradient(180deg, #09031a 0%, #0b0420 100%);
  border-bottom: 1px solid #ffffff0a;
}

.manifesto-label {
  padding-top: 12px;
  border-top: 1px solid #ff2d7833;
}

.manifesto-body h2 {
  margin-bottom: 18px;
}

.manifesto-body p {
  color: #bdb3cc;
  font-size: 15px;
  line-height: 1.7;
  max-width: 600px;
}

/* Values: plaques hung from a mounting rail */
.studio-plaques-section {
  padding: 64px 7vw 80px;
  background: linear-gradient(180deg, #0b0420 0%, #06021a 70%, #05020a 100%);
}

.studio-plaques-section .section-head {
  margin-bottom: 28px;
}

/* The three plaques share a top rail */
.studio-plaques {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

/* Each plaque: flat against the wall, shadow drops downward only */
.studio-plaque {
  padding: 28px 28px 36px;
  background: #08031a;
  border-right: 1px solid #ffffff0a;
  border-bottom: 2px solid #ffffff08;
  position: relative;
}

.studio-plaque:last-child {
  border-right: none;
}

/* Colored mounting strip at top — neon from the rail above */
.studio-plaque::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.studio-plaque h3 {
  color: #fff;
  font-size: 20px;
  margin: 10px 0 8px;
}

.studio-plaque p {
  color: #bdb3cc;
  font-size: 14px;
  line-height: 1.65;
}

.plaque-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hot-plaque::before    { background: linear-gradient(90deg, #ff2d78cc, #ff2d7844); }
.hot-plaque .plaque-tag { color: #ff2d78; text-shadow: 0 0 8px #ff2d7888; }

.cyan-plaque::before   { background: linear-gradient(90deg, #00e5ffcc, #00e5ff44); }
.cyan-plaque .plaque-tag { color: #00e5ff; text-shadow: 0 0 8px #00e5ff88; }

.violet-plaque::before { background: linear-gradient(90deg, #9b5fffcc, #9b5fff44); }
.violet-plaque .plaque-tag { color: #c084fc; text-shadow: 0 0 8px #c084fc88; }

/* (studio responsive rules moved into consolidated @media block above) */

/* ─── Typography upgrade ─── */
body {
  font-family: "Outfit", system-ui, -apple-system, sans-serif;
}
h1, h2, .itch-h1, .tagline {
  font-family: "Teko", "Outfit", system-ui, sans-serif;
  letter-spacing: 0.02em;
}
h1 { font-weight: 700; }
h2 { font-weight: 600; }

/* ─── Mobile nav ─── */
.nav-toggle {
  display: none;
  background: #0c0720;
  border: 1px solid #ffffff22;
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 16px;
  cursor: pointer;
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav nav {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
  }
  .nav nav.is-open { display: flex; }
  .nav { flex-wrap: wrap; }
}

/* ─── Game card with art ─── */
.game-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.game-card .card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.game-card .card-body .card-cta { margin-top: auto; }
.card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(145deg, #12082a, #1a0a38 50%, #0a0614);
  overflow: hidden;
  border-bottom: 1px solid #ffffff12;
}
.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.game-card:hover .card-thumb img { transform: scale(1.04); }
.card-thumb--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
}
.card-thumb--placeholder::after {
  content: attr(data-emoji);
  font-size: 48px;
  filter: drop-shadow(0 0 20px #ff2d7866);
  opacity: .9;
}

/* Inline status labels in card body */
.badge-inline {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}
.badge-inline.badge-soon,
.badge-inline.badge-launch {
  background: #00e5ff18;
  color: #00e5ff;
  border: 1px solid #00e5ff44;
}
.badge-inline.badge-dev {
  background: #9b5fff18;
  color: #c084fc;
  border: 1px solid #9b5fff44;
}
.section-lede {
  color: #a89bb8;
  font-size: 15px;
  max-width: 560px;
  margin: -12px 0 28px;
  line-height: 1.55;
}

/* Status badges on thumbs */
.badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  backdrop-filter: blur(8px);
}
.badge-playable {
  background: #00e5ff22;
  color: #00e5ff;
  border: 1px solid #00e5ff55;
  box-shadow: 0 0 12px #00e5ff33;
}
.badge-soon {
  background: #ffc85722;
  color: #ffc857;
  border: 1px solid #ffc85755;
}
.badge-dev {
  background: #9b5fff22;
  color: #c084fc;
  border: 1px solid #9b5fff55;
}

.cards-featured,
.cards-catalog {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.cards-catalog .game-card h3 { font-size: 20px; }
.section-more {
  margin-top: 28px;
  text-align: center;
}
.section-more a {
  color: #00e5ff;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 12px;
}
.section-more a:hover { text-shadow: 0 0 12px #00e5ff88; }

/* Filter bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 7vw 0;
}
.filter-tab {
  background: #0c0720;
  border: 1px solid #ffffff14;
  color: #8a809a;
  font-family: inherit;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color .15s, border-color .15s, box-shadow .15s;
}
.filter-tab:hover { color: #fff; border-color: #ffffff33; }
.filter-tab.is-active {
  color: #00e5ff;
  border-color: #00e5ff55;
  box-shadow: 0 0 14px #00e5ff28;
  background: #00e5ff0c;
}

/* Coming soon strip */
.coming-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.coming-chip {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: #e8e0f4;
  background: #0b0614;
  border: 1px solid #ffffff14;
  border-radius: 16px;
  padding: 12px;
  transition: border-color .2s, box-shadow .2s;
}
.coming-chip:hover {
  border-color: #00e5ff44;
  box-shadow: 0 0 24px #00e5ff18;
}
.coming-chip img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 10px;
  display: block;
}
.coming-chip span:last-child {
  font-size: 13px;
  font-weight: 700;
}
.chip-placeholder {
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  background: linear-gradient(135deg, #1a0a38, #0a0614);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: #c084fc;
  letter-spacing: 2px;
  border: 1px solid #9b5fff33;
}

/* Store band */
.stores-band { background: radial-gradient(ellipse at 50% 0%, #1a0a2e44, transparent 60%); }
.stores-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.store-card {
  background: #0b0614;
  border: 1px solid #ffffff18;
  border-radius: 20px;
  padding: 28px 32px;
  box-shadow: 0 20px 60px #000;
}
.store-card h2, .store-card h3 { margin: 8px 0 12px; }
.store-card p { color: #bdb3cc; font-size: 14px; margin-bottom: 18px; }
.store-live { border-color: #00e5ff33; box-shadow: 0 20px 60px #000, 0 0 30px #00e5ff14; }
.store-pending { border-color: #ffc85733; box-shadow: 0 20px 60px #000, 0 0 20px #ffc85712; }
.status-pill {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ffc85718;
  color: #ffc857;
  border: 1px solid #ffc85744;
}
.store-note {
  margin-top: 18px;
  font-size: 12px;
  color: #a89bb8;
  max-width: 420px;
  line-height: 1.5;
}
.store-note strong { color: #e8e0f4; font-weight: 700; }

.contact-card--static {
  cursor: default;
}
.contact-card--static:hover {
  border-color: #ffffff22;
  box-shadow: 0 20px 60px #000;
}

/* Cards without old .cards padding conflict */
.cards .game-card.hot,
.cards .game-card.cyan,
.cards .game-card.violet { /* keep glow from base */ }

@media (max-width: 1000px) {
  .cards-featured,
  .cards-catalog,
  .coming-row { grid-template-columns: repeat(2, 1fr); }
  .stores-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .cards-featured,
  .cards-catalog,
  .coming-row { grid-template-columns: 1fr; }
}

/* ─── Gameplay video play affordance ─── */
.card-thumb { cursor: default; }
.card-thumb.has-video { cursor: pointer; }
.play-trailer {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.play-trailer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, #05020acc 100%);
  opacity: 0.55;
  transition: opacity .2s;
}
.play-trailer:hover::before,
.card-thumb:hover .play-trailer::before { opacity: 0.75; }
.play-trailer__icon {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #00e5ff;
  color: #05020a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 0 24px #00e5ff88, 0 8px 24px #000a;
  transition: transform .2s, box-shadow .2s;
  padding-left: 3px; /* optical center for ▶ */
}
.play-trailer:hover .play-trailer__icon {
  transform: scale(1.08);
  box-shadow: 0 0 36px #00e5ffaa, 0 8px 28px #000c;
}
.play-trailer__label {
  position: absolute;
  z-index: 1;
  bottom: 10px;
  left: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px #000c;
}

/* Featured reel strip */
.trailer-reel {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 16px;
}
.trailer-tile {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #ffffff18;
  background: #0b0614;
  aspect-ratio: 16 / 9;
  box-shadow: 0 20px 50px #000;
}
.trailer-tile img,
.trailer-tile video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.trailer-tile--hero { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.trailer-tile .play-trailer__label { font-size: 11px; }

/* Video modal */
body.modal-open { overflow: hidden; }
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.video-modal[hidden] { display: none !important; }
.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: #05020aee;
  backdrop-filter: blur(8px);
}
.video-modal__panel {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  background: #0b0614;
  border: 1px solid #00e5ff33;
  border-radius: 18px;
  box-shadow: 0 0 60px #00e5ff22, 0 30px 80px #000;
  overflow: hidden;
}
.video-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid #ffffff12;
}
.video-modal__title {
  font-family: "Teko", "Outfit", sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: #fff;
  text-transform: uppercase;
}
.video-modal__close {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #ffffff22;
  background: #12082a;
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.video-modal__close:hover { border-color: #ff2d7866; color: #ff2d78; }
.video-modal__stage {
  background: #000;
  aspect-ratio: 16 / 9;
}
.video-modal__stage video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}
.video-modal__hint {
  padding: 10px 18px 14px;
  font-size: 11px;
  color: #a89bb8;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .trailer-reel { grid-template-columns: 1fr; }
  .trailer-tile--hero { grid-row: auto; min-height: 0; aspect-ratio: 16 / 9; }
}
