:root {
  --night: #0b0820;
  --deep: #1a0b3d;
  --panel: rgba(20, 10, 48, 0.86);
  --pink: #ff2fb9;
  --cyan: #22e6ff;
  --yellow: #ffd400;
  --orange: #ff7a00;
  --red: #ff2a3d;
  --green: #74e08a;
  --text: #f6f2ff;
  --muted: #c9bff0;
  --pixel: "Press Start 2P", "Courier New", monospace;
  --dot: "DotGothic16", "MS Gothic", monospace;
  --heavy: "Dela Gothic One", Impact, "Arial Black", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 18px/1.6 "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  overflow-x: hidden;
}
a { color: var(--cyan); }
main { position: relative; z-index: 1; }

/* ---------- Night city behind everything ---------- */
.city { position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(#07051a 0%, #1a0b3d 45%, #4a0f5e 68%, #ff2fb9 86%, #ff7a00 100%); }
.stars { position: absolute; inset: 0 0 50% 0; opacity: 0.7;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 18%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 28% 8%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 47% 22%, #ffd 50%, transparent 51%),
    radial-gradient(1px 1px at 63% 12%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 81% 26%, #dff 50%, transparent 51%),
    radial-gradient(1px 1px at 92% 6%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 5% 38%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 38% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 72% 44%, #fff 50%, transparent 51%); }
.skyline { position: absolute; left: 0; right: 0; bottom: 22vh; height: 42vh;
  background: url("skyline.svg") center bottom / auto 100% repeat-x; }
.floor { position: absolute; left: -50%; right: -50%; bottom: 0; height: 22vh;
  background:
    linear-gradient(rgba(11, 8, 32, 0.1), rgba(11, 8, 32, 0.9)),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(255, 47, 185, 0.8) 58px 60px),
    repeating-linear-gradient(0deg, transparent 0 28px, rgba(34, 230, 255, 0.7) 28px 30px),
    #12062b;
  transform: perspective(300px) rotateX(55deg); transform-origin: top; }
.scanlines { position: fixed; inset: 0; z-index: 5; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.18) 0 1px, transparent 1px 3px); }

/* ---------- Top bar like a shop sign ---------- */
.top { position: sticky; top: 0; z-index: 4;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px 16px; background: rgba(8, 4, 24, 0.94);
  border-bottom: 3px solid var(--pink); box-shadow: 0 0 18px var(--pink); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand img { filter: drop-shadow(0 0 6px var(--yellow)); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.neon-word { font: 20px var(--pixel); color: #fff;
  text-shadow: 0 0 4px #fff, 0 0 10px var(--cyan), 0 0 22px var(--cyan); }
.neon-word b { font-weight: 400; color: var(--yellow);
  text-shadow: 0 0 4px #fff7c0, 0 0 10px var(--orange), 0 0 22px var(--orange); }
.brand .jp { font: 15px var(--dot); color: var(--pink); letter-spacing: 2px; text-shadow: 0 0 8px var(--pink); }
nav { display: flex; gap: 6px; }
nav a { display: flex; flex-direction: column; align-items: center; padding: 6px 10px;
  text-decoration: none; color: var(--text); border: 2px solid transparent; border-radius: 6px; }
nav a span { font: 11px var(--pixel); }
nav a small { font: 12px var(--dot); color: var(--muted); }
nav a:hover, nav a:focus-visible { border-color: var(--cyan); box-shadow: 0 0 10px var(--cyan); outline: none; }

/* ---------- LED ticker ---------- */
.ticker { position: relative; z-index: 3; overflow: hidden; white-space: nowrap;
  background: #000; border-bottom: 2px solid #3a1a00; padding: 7px 0;
  font: 16px var(--dot); color: var(--orange); text-shadow: 0 0 6px var(--orange); letter-spacing: 1px; }
.ticker-track { display: inline-flex; animation: ticker 40s linear infinite; }

/* ---------- Vertical neon signs on wide screens ---------- */
.sign { display: none; }
@media (min-width: 1360px) {
  .sign { display: block; position: fixed; top: 130px; z-index: 2; writing-mode: vertical-rl; text-orientation: upright;
    font: 30px/1 var(--heavy); letter-spacing: 10px; padding: 20px 10px 10px; color: #fff;
    background: rgba(8, 4, 24, 0.85); border: 3px solid var(--c); border-radius: 8px;
    box-shadow: 0 0 14px var(--c), inset 0 0 14px var(--c);
    text-shadow: 0 0 3px var(--c), 0 0 10px var(--c); }
  .sign-left { left: 22px; --c: var(--cyan); }
  .sign-right { right: 22px; --c: var(--pink); animation: flicker 7s infinite; }
}

/* ---------- Sections ---------- */
section { max-width: 1120px; margin: 0 auto; padding: 44px 16px; }
.title { margin: 0 0 22px; font: 400 clamp(34px, 6vw, 56px)/1 var(--heavy); text-transform: uppercase;
  background: linear-gradient(180deg, #fff6a8 0%, var(--yellow) 35%, var(--orange) 75%, var(--red) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-text-stroke: 1.5px #2a0a3a;
  filter: drop-shadow(3px 3px 0 #2a0a3a) drop-shadow(0 0 12px rgba(255, 122, 0, 0.55)); }
.jp-sub { display: block; margin-bottom: 6px; font: 18px var(--dot); letter-spacing: 4px;
  -webkit-text-stroke: 0; color: var(--cyan); background: none; -webkit-background-clip: border-box; }
.panel { background: var(--panel); border: 3px solid var(--cyan); border-radius: 14px;
  box-shadow: 0 0 16px rgba(34, 230, 255, 0.6), inset 0 0 22px rgba(34, 230, 255, 0.18); }

/* ---------- Hero billboard ---------- */
.hero { padding-top: 34px; text-align: center; }
.billboard { position: relative; padding: 10px; border-radius: 16px;
  background: linear-gradient(135deg, var(--pink), var(--yellow), var(--cyan), var(--pink));
  background-size: 300% 300%; animation: glow-run 8s linear infinite;
  box-shadow: 0 0 30px rgba(255, 47, 185, 0.7), 0 0 70px rgba(34, 230, 255, 0.35); }
.billboard img { display: block; width: 100%; height: auto; border-radius: 8px; }
.hero-text { margin: 26px auto 0; padding: 22px 16px; max-width: 760px; border-radius: 14px;
  background: rgba(8, 4, 24, 0.78); border: 2px solid rgba(255, 47, 185, 0.6); box-shadow: 0 0 18px rgba(255, 47, 185, 0.35); }
.tagline { margin: 0 0 22px; font-size: clamp(20px, 3.4vw, 30px); font-weight: 700;
  text-shadow: 0 2px 0 #000, 0 0 14px rgba(0, 0, 0, 0.8); }
.tagline em { font-style: normal; color: var(--yellow); text-shadow: 0 0 10px var(--orange); }
.credit { margin: 18px 0 0; font: 12px var(--pixel); color: var(--muted); letter-spacing: 1px; }
.blink { color: var(--yellow); animation: blink 1.2s steps(1) infinite; }

/* ---------- Arcade buttons ---------- */
.arcade-btn { display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  margin: 8px; padding: 18px 30px 14px; border-radius: 14px; text-decoration: none;
  font: 16px var(--pixel); color: #1a0636; border: 3px solid #fff;
  box-shadow: 0 7px 0 #2a0a3a, 0 0 22px currentColor; transition: transform 0.08s, box-shadow 0.08s; }
.arcade-btn small { font: 14px var(--dot); }
.arcade-btn:hover { transform: translateY(-2px); }
.arcade-btn:active { transform: translateY(5px); box-shadow: 0 2px 0 #2a0a3a, 0 0 22px currentColor; }
.arcade-btn.start { background: linear-gradient(180deg, #b9ffca, var(--green)); color: #0d3a1a; }
.arcade-btn.yt { background: linear-gradient(180deg, #fff3a0, var(--yellow)); color: #4a1a00; }
.arcade-btn:focus-visible { outline: 3px dashed var(--cyan); outline-offset: 4px; }

/* ---------- About ---------- */
.about { display: flex; gap: 28px; align-items: center; margin-top: 30px; padding: 24px; max-width: 1088px; }
.about img { width: 240px; height: 240px; border-radius: 12px; flex: none; border: 3px solid var(--pink); box-shadow: 0 0 16px var(--pink); }
.about p { margin: 0 0 10px; color: var(--text); }
.about .hint { color: var(--green); font-weight: 700; }

/* ---------- Posters (the ad pictures) ---------- */
.posters { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 22px; }
.posters a { display: block; border-radius: 10px; overflow: hidden; border: 3px solid var(--c, var(--cyan));
  box-shadow: 0 0 14px var(--c, var(--cyan)); transition: transform 0.15s; }
.posters a:nth-child(3n+2) { --c: var(--pink); }
.posters a:nth-child(3n) { --c: var(--yellow); }
.posters a:hover { transform: scale(1.03) rotate(-0.6deg); }
.posters img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Photos as CRT screens ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
figure { margin: 0; padding: 12px 12px 0; border-radius: 16px;
  background: linear-gradient(180deg, #2c2450, #17112f); border: 2px solid #463a80;
  box-shadow: 0 8px 0 #0a0618, 0 0 18px rgba(0, 0, 0, 0.6); }
figure a { display: block; position: relative; border-radius: 18px / 26px; overflow: hidden;
  border: 3px solid #05030c; box-shadow: 0 0 0 3px var(--c, var(--cyan)), 0 0 16px var(--c, var(--cyan)); }
figure:nth-child(3n+2) a { --c: var(--pink); }
figure:nth-child(3n) a { --c: var(--green); }
figure a::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, 0.45)),
              repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.12) 0 1px, transparent 1px 3px); }
figure img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
figcaption { padding: 12px 6px 14px; font-weight: 700; }
figcaption time { display: block; font: 10px var(--pixel); color: var(--yellow); margin-top: 6px; }

/* ---------- News ---------- */
article { position: relative; margin-bottom: 22px; padding: 22px 24px 18px; border-radius: 12px;
  background: var(--panel); border: 3px solid var(--green);
  box-shadow: 0 0 14px rgba(116, 224, 138, 0.55), inset 0 0 20px rgba(116, 224, 138, 0.12); }
article h3 { margin: 0 0 4px; font: 400 26px/1.2 var(--heavy); color: var(--yellow); text-shadow: 2px 2px 0 #2a0a3a; }
article > time { display: block; margin-bottom: 12px; font: 11px var(--pixel); color: var(--green); }
article > time::before { content: "▶ "; }
article p { margin: 0 0 10px; }
article a { color: var(--cyan); }

/* ---------- Play and watch ---------- */
.watch { text-align: center; }
.watch .title { display: inline-block; }
.buttons { display: flex; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
footer { position: relative; z-index: 1; text-align: center; color: var(--muted); font-size: 15px;
  padding: 30px 16px 44px; background: rgba(8, 4, 24, 0.92); border-top: 3px solid var(--cyan);
  box-shadow: 0 0 18px var(--cyan); }
footer p { margin: 4px 0; }
footer .thanks { font: 14px var(--pixel); color: #fff; margin-bottom: 14px;
  text-shadow: 0 0 8px var(--pink); }
footer .thanks span { font: 18px var(--dot); color: var(--pink); }

/* ---------- Motion ---------- */
@keyframes ticker { to { transform: translateX(-50%); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes glow-run { to { background-position: 300% 0; } }
@keyframes flicker { 0%, 18%, 22%, 62%, 64%, 100% { opacity: 1; } 20%, 63% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  body { font-size: 17px; }
  .neon-word { font-size: 13px; }
  .brand .jp { font-size: 12px; }
  .brand img { width: 36px; height: 36px; }
  nav { gap: 0; }
  nav a { padding: 4px 5px; }
  nav a span { font-size: 8px; }
  nav a small { font-size: 10px; }
  .about { flex-direction: column; text-align: center; }
  .about img { width: 200px; height: 200px; }
  .posters, .grid { grid-template-columns: 1fr; }
  .arcade-btn { font-size: 13px; padding: 16px 20px 12px; }
}
