/* WBF Arcade — shared stylesheet. System fonts only, no external requests. */
:root {
  --bg: #0d0b1e;
  --bg-2: #151233;
  --card: #1c1842;
  --line: #2f2970;
  --text: #f3f0ff;
  --muted: #c3bde6;
  --yellow: #ffd23f;
  --pink: #ff5fa8;
  --cyan: #5ee9ff;
  --radius: 14px;
  --maxw: 68rem;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Arial Black", "Helvetica Neue", Impact, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(255, 95, 168, .18), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(94, 233, 255, .14), transparent 60%),
    var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-underline-offset: .2em; }
a:hover { color: var(--yellow); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -999px; top: .5rem;
  background: var(--yellow); color: #111; padding: .5rem 1rem; border-radius: 8px; font-weight: 700; z-index: 10;
}
.skip-link:focus { left: .5rem; }

.wrap { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 2px solid var(--line);
  background: rgba(13, 11, 30, .85);
}
.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .75rem 1.5rem; padding-block: 1rem;
}
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--text); }
.brand img { width: 44px; height: 44px; }
.brand-name {
  font-family: var(--font-display); font-size: 1.6rem; letter-spacing: .04em; line-height: 1;
  color: var(--yellow);
  text-shadow: 0 0 10px rgba(255, 210, 63, .45), 3px 3px 0 var(--pink);
}
.brand-tag { display: block; font-size: .8rem; color: var(--muted); letter-spacing: .03em; margin-top: .3rem; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.site-nav a {
  display: inline-block; padding: .45rem .9rem; border-radius: 999px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent;
}
.site-nav a:hover { border-color: var(--cyan); color: var(--text); }
.site-nav a[aria-current="page"] { background: var(--yellow); color: #14102e; }

/* Pac-dot divider */
.dots {
  height: 12px; margin: 0;
  background: radial-gradient(circle, var(--yellow) 3px, transparent 3.5px) 0 50% / 24px 12px repeat-x;
  opacity: .75; border: 0;
}

/* ---------- Main ---------- */
main { flex: 1; padding-block: 2.5rem 3rem; }
h1, h2, h3 { line-height: 1.2; }
h1 {
  font-family: var(--font-display); font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  margin: 0 0 1rem; letter-spacing: .01em;
}
h1 .hl { color: var(--yellow); }
h2 { font-size: 1.4rem; color: var(--yellow); margin: 2.25rem 0 .6rem; }
h3 { font-size: 1.1rem; margin: 1.5rem 0 .4rem; color: var(--cyan); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 46rem; }
.prose { max-width: 46rem; }
.prose p { margin: 0 0 1.1rem; }
.note { color: var(--muted); font-size: .9rem; font-style: italic; }

.card {
  background: var(--card); border: 2px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}

/* Hero */
.hero {
  padding: 2rem; border-radius: calc(var(--radius) + 6px);
  background: linear-gradient(135deg, #241d5c, #1a1440 60%, #2a1240);
  border: 2px solid var(--line);
  box-shadow: 0 0 0 4px rgba(255, 95, 168, .15), 0 20px 40px rgba(0, 0, 0, .35);
}
.chips { list-style: none; padding: 0; margin: 1.25rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li {
  padding: .35rem .8rem; border-radius: 999px; font-size: .92rem; font-weight: 600;
  background: rgba(94, 233, 255, .1); border: 1px solid rgba(94, 233, 255, .45);
}
.chips li:nth-child(3n+2) { background: rgba(255, 210, 63, .1); border-color: rgba(255, 210, 63, .5); }
.chips li:nth-child(3n) { background: rgba(255, 95, 168, .12); border-color: rgba(255, 95, 168, .5); }

.btn {
  display: inline-block; padding: .7rem 1.2rem; border-radius: 10px; font-weight: 700;
  background: var(--yellow); color: #14102e; text-decoration: none; margin: .25rem .5rem .25rem 0;
  box-shadow: 0 4px 0 #b8901a;
}
.btn:hover { color: #14102e; transform: translateY(-1px); }
.btn.alt { background: transparent; color: var(--cyan); border: 2px solid var(--cyan); box-shadow: none; }

.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); margin-top: 1.5rem; }
.tile { display: block; text-decoration: none; color: var(--text); transition: border-color .15s, transform .15s; }
.tile:hover { border-color: var(--pink); color: var(--text); transform: translateY(-2px); }
.tile h3 { margin-top: 0; }
.tile p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Shop list */
.price-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.price-list li { background: var(--bg-2); border: 1px solid var(--line); border-radius: 10px; padding: .6rem .9rem; }
.price-list li strong { color: var(--yellow); white-space: nowrap; }
.callout { border-left: 4px solid var(--pink); padding: .6rem 1rem; background: rgba(255, 95, 168, .08); border-radius: 0 10px 10px 0; font-weight: 600; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid; gap: 1rem; margin: 1.5rem 0 0; padding: 0;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
}
.gallery figure { margin: 0; background: var(--card); border: 2px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery a { display: block; }
.gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .2s; }
.gallery a:hover img { transform: scale(1.03); }
.gallery figcaption { padding: .6rem .8rem; font-size: .9rem; color: var(--muted); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 95vw; max-height: 95vh; }
.lightbox::backdrop { background: rgba(5, 4, 15, .9); }
.lightbox img { max-width: 92vw; max-height: 82vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox p { color: var(--text); text-align: center; margin: .6rem 0 0; }
.lightbox .lb-close {
  position: fixed; top: 1rem; right: 1rem; font-size: 1.1rem; font-weight: 700;
  background: var(--yellow); color: #14102e; border: 0; border-radius: 999px; padding: .5rem .9rem; cursor: pointer;
}

/* ---------- Footer ---------- */
.site-footer { border-top: 2px solid var(--line); background: var(--bg-2); color: var(--muted); font-size: .92rem; }
.site-footer .wrap { padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: .5rem 2rem; justify-content: space-between; }
.site-footer p { margin: 0; }
.site-footer .motto { color: var(--yellow); font-weight: 700; }

@media (max-width: 40rem) {
  body { font-size: 1rem; }
  .hero { padding: 1.4rem; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
