/* Approved bright arcade skin. Layout and gameplay remain in their existing files. */
:root {
  --font: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Jersey 10', 'Pixelify Sans', ui-monospace, monospace;
  --font-pixel: 'Pixelify Sans', ui-monospace, monospace;
  --page-indigo: #302179;
  --page-violet: #35259a;
  --muted: #d0c3e4;
  --pixel-shadow: 2px 2px 0 #080611, 4px 4px 0 #080611, 6px 6px 0 #080611;
  background: var(--page-indigo);
}

body {
  min-height: 100svh;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 55% 440px at 100% 420px, #8a29cb44, transparent 80%),
    radial-gradient(ellipse 75% 660px at 5% 580px, #354be338, transparent 80%),
    linear-gradient(180deg, #2b207b 0, var(--page-violet) 320px, #2b206f 1100px, #1b153e 100%);
}

body::before {
  opacity: .12;
  background: repeating-linear-gradient(0deg, transparent 0 3px, #bcb7ff16 3px 4px);
}

/* Keep the approved dark header and its cyan / magenta accents. */
.site-header { position: relative; isolation: isolate; border-bottom-color: #c76cff66; }
.site-header::before {
  content: '';
  position: absolute;
  inset: 0 calc((100vw - 100%) / -2);
  background: linear-gradient(100deg, #151026, #1b1130);
  z-index: -1;
  pointer-events: none;
}
.brand-bottom { font-family: var(--font-pixel); font-weight: 700; letter-spacing: .06em; }
nav { font-family: var(--font-pixel); font-size: 17px; font-weight: 600; }
.header-note { color: #d0c3e4; }

/* The scene is decorative CSS artwork: no extra text, links, or motion to navigate. */
.intro { position: relative; isolation: isolate; padding-top: 58px; padding-bottom: 44px; }
.intro::before {
  content: '';
  position: absolute;
  inset: 0 -12px -48px;
  background: url('/assets/arcade-skyline.svg') right bottom / cover no-repeat;
  opacity: .28;
  pointer-events: none;
  z-index: -1;
}
.intro h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(72px, 8.5vw, 120px);
  letter-spacing: 0;
  line-height: .92;
  text-shadow: var(--pixel-shadow);
  max-width: none;
}
.intro .soft-text { display: block; color: var(--magenta); text-shadow: var(--pixel-shadow); }
.intro .eyebrow {
  font-family: var(--font-pixel);
  color: var(--yellow);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .12em;
  margin-bottom: 22px;
}
.intro-note { color: #eee7ff; font-size: 14px; line-height: 1.85; }
.section-label { position: relative; font-family: var(--font-pixel); letter-spacing: .14em; }
.section-label h2 { color: var(--yellow); font-size: 16px; font-weight: 700; }
.section-label > span { color: #e0d3fa; font-size: 12px; letter-spacing: .07em; }

/* Dark game cards remain the focal point against the brighter page. */
.featured-game {
  border: 2px solid #bb40ee;
  border-radius: 12px;
  background: linear-gradient(145deg, #1a102b, #130d20 72%);
  box-shadow: 0 0 0 1px #ff4fd824, 0 0 24px #ab31ff38, 0 20px 52px #10062d55;
}
.feature-copy { container-type: inline-size; }
.pill { font: 700 15px/1.2 var(--font-pixel); letter-spacing: .06em; padding: 9px 12px; }
.mono { font-family: var(--font-pixel); font-size: 13px; color: #d0c3e4; }
.game-genre { font: 600 13px/1.5 var(--font-pixel); letter-spacing: .16em; margin-bottom: 14px; }
/* Poppins has wider glyphs than the pixel face: size to the card, not the viewport. */
.port-title {
  display: block;
  width: 100%;
  margin: 0 0 26px;
  font-family: var(--font);
  font-size: clamp(44px, 30cqi, 148px);
  font-weight: 900;
  font-style: normal;
  line-height: .96;
  letter-spacing: -.055em;
  filter: none;
  text-shadow: 3px 4px 0 #080611;
}
.port-title > span { color: var(--magenta); text-shadow: inherit; }
.port-title > svg { right: 0; bottom: 14%; width: clamp(26px, 11cqi, 54px); height: auto; }
.feature-description { color: #ded2e5; font-size: 14px; line-height: 1.85; max-width: 350px; }
.button.primary { font-family: var(--font-pixel); font-size: 18px; font-weight: 700; }
.feature-meta { font-family: var(--font-pixel); font-size: 11px; letter-spacing: .05em; color: #d0c3e4; }
.art-topline, .art-caption { font-family: var(--font-pixel); }
.art-topline { font-size: 12px; }
.art-topline > span:first-child { font-family: var(--font); font-weight: 600; }
.art-caption { font-size: 11px; }
.record-card, .next-card, .catalog-card {
  background-color: #171027;
  border-color: #ba6ae06b;
}
.record-card .eyebrow, .next-card .eyebrow, .catalog-card .eyebrow {
  font-family: var(--font-pixel);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .05em;
}
.score-digits, .slot-number { font-family: var(--font-pixel); }
.slot-number { color: #bca3d6; }
.next-card h3, .catalog-card h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; letter-spacing: 0; }
.about-strip { border-color: #bc87ed60; }
.about-strip > .eyebrow { font-family: var(--font-pixel); font-size: 12px; color: var(--yellow); }
.about-strip h2 { font-family: var(--font-display); font-size: 38px; font-weight: 400; letter-spacing: 0; }
.about-strip > p:not(.eyebrow) { color: #ddd2ef; }
.site-footer { color: #d5c7e7; border-color: #bc87ed60; }
.site-footer > span:nth-child(2) { font-family: var(--font-pixel); font-size: 11px; }

/* Port Dash uses Poppins on both pages; the other retro headings stay unchanged. */
.game-topline h1 { font: 900 32px/1.1 var(--font); letter-spacing: -.04em; text-shadow: 2px 3px 0 #100923; }
.game-topline .eyebrow { font-family: var(--font-pixel); font-size: 11px; color: var(--yellow); }
.back-link, .quiet-button { color: #e0d3ed; }
.cabinet { border-color: #bb40ee; }
.hud strong, #high-scores li { font-family: var(--font-pixel); }
.hud span { color: #d5c6e4; }
.overlay-content h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; line-height: .94; font-size: 66px; text-shadow: var(--pixel-shadow); }
.overlay-content .eyebrow, .overlay-hint { font-family: var(--font-pixel); font-size: 11px; letter-spacing: .06em; }
.mission-card h2, .arcade-dialog h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: 0; }
.mission-card h2 { font-size: 32px; }
.arcade-dialog h2 { font-size: 38px; }
.mission-card > .eyebrow, .side-heading > span { font-family: var(--font-pixel); font-size: 11px; }
.touch-note strong { font-family: var(--font-pixel); font-size: 11px; }
.motion-option, .game-version { color: #d8c8eb; }
.error-page .intro h1 { font: 800 clamp(38px, 6vw, 72px)/1.1 var(--font); letter-spacing: -.035em; text-shadow: none; }

@media (max-width: 1050px) {
  .intro { padding-top: 44px; }
  .intro-note { margin-top: 22px; }
  .feature-meta { font-size: 10px; gap: 7px 10px; }
  .feature-meta span + span::before { margin-right: 10px; }
}
@media (max-width: 760px) {
  nav { font-size: 15px; gap: 20px; }
  .intro { padding: 36px 0 34px; }
  .intro h1 { font-size: clamp(50px, 18.2vw, 106px); }
  .intro .eyebrow { font-size: 11px; letter-spacing: .1em; margin-bottom: 18px; }
  .intro-note { font-size: 13px; line-height: 1.85; margin-top: 22px; max-width: 350px; }
  .intro-note br { display: block; }
  .section-label h2 { font-size: 13px; }
  .section-label > span { font-size: 10px; }
  .game-genre { font-size: 11px; letter-spacing: .1em; }
  .pill { font-size: 13px; padding: 8px 10px; }
  .mono { font-size: 12px; }
  .feature-description { font-size: 12px; }
  .button.primary { font-size: 16px; }
  .feature-meta { font-size: 10px; }
  .art-topline { font-size: 10px; }
  .art-caption { font-size: 10px; }
  .about-strip h2 { font-size: 34px; }
  .game-topline h1 { font-size: 24px; }
  .overlay-content h2 { font-size: 62px; }
  .overlay-content .eyebrow, .overlay-hint { font-size: 9px; }
}
@media (max-width: 600px) {
  .featured-game { grid-template-columns: minmax(0, 1fr); }
  .feature-copy { padding: 26px 24px 28px; }
  .feature-description { font-size: 14px; max-width: 350px; margin-bottom: 24px; }
  .feature-meta { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 8px; line-height: 1.5; margin-top: 26px; }
  .feature-meta span { display: inline; }
  .feature-meta span + span::before { display: none; }
  .feature-art { height: 320px; min-height: 0; border-left: 0; border-top: 1px solid #ba6ae060; }
  .art-canvas-wrap { top: 36px; bottom: 34px; }
  .art-canvas-wrap canvas { width: 100%; height: auto; transform: translateY(40px); }
  .art-topline { top: 13px; left: 18px; right: 18px; }
  .art-topline > span:last-child { display: block; font-size: 9px; }
  .art-caption { height: 34px; padding: 0 18px; }
}
@media (max-width: 380px) {
  nav { font-size: 13px; gap: 14px; }
  .brand > span, .brand-bottom { font-size: 15px; }
  .intro .eyebrow { font-size: 10px; letter-spacing: .07em; }
  .section-label { letter-spacing: .07em; }
  .section-label > span { font-size: 9px; letter-spacing: .02em; }
  .feature-copy { padding-inline: 20px; }
  .feature-description { font-size: 13px; }
  .feature-meta { font-size: 9px; }
  .record-card, .next-card { padding: 16px; gap: 12px; }
  .record-card .eyebrow, .next-card .eyebrow { font-size: 10px; }
  .next-card h3 { font-size: 27px; }
  .overlay-content h2 { font-size: 56px; }
}
@media (prefers-reduced-motion: reduce) {
  body::before { display: none; }
}
