/* Showcase pages (/about, /charity): the advertising look. Built from
   tokens.css (core brand colors plus the --show-* values); these pages
   don't load components.css or game.css. Page-specific parts (the /about
   hero image, steps and gallery) stay in each page. */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--show-bg); color: var(--text); font: var(--show-fs-body)/1.6 var(--show-font); -webkit-font-smoothing: antialiased; }
a { color: var(--accent-2); }
img { display: block; max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* top bar */
.top { position: sticky; top: 0; z-index: 5; background: var(--show-bar); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 22px; height: 58px; }
.brand { font-weight: 800; letter-spacing: -0.01em; color: var(--text); text-decoration: none; margin-right: auto; }
.top nav a { color: var(--show-muted); text-decoration: none; font-size: var(--fs-lg); }
.top nav a:hover { color: var(--text); }
.top nav { display: flex; gap: 20px; }
/* The Apply button, then the live cities counter. Where the screen has room
   the counter hangs just past the end of the bar's content, so the nav and
   button stay exactly where they'd be without it; narrower, it sits inline. */
.top-end { position: relative; display: flex; align-items: center; gap: 16px; }
@media (min-width: 1340px) {
  .top-end .live-cities { position: absolute; left: calc(100% + 18px); top: 50%; transform: translateY(-50%); }
}
/* live cities counter: the same red bold LIVE as the game's (game.css .live-dot),
   with a softly pulsing dot on this page only */
.live-cities { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-lg); color: var(--show-muted); white-space: nowrap; }
.live-cities[hidden] { display: none; }
.live-dot { color: var(--live); font-weight: 800; display: inline-flex; align-items: center; gap: 7px; }
.pulse-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--live); animation: live-pulse 2.4s ease-in-out infinite; }
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--live) 55%, transparent); }
  50% { box-shadow: 0 0 0 5px color-mix(in srgb, var(--live) 0%, transparent), 0 0 10px 2px color-mix(in srgb, var(--live) 45%, transparent); }
}
@media (max-width: 760px) {
  .top nav, .top .btn { display: none; }
  .top-end { gap: 0; }
}

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: var(--show-r-btn); font: 600 var(--show-fs-btn) var(--show-font); text-decoration: none; border: 1px solid var(--line); background: var(--fill-3); color: var(--text); cursor: pointer; }
.btn:hover { background: var(--fill-4); }
.btn.twitch { background: var(--twitch); border-color: transparent; color: #fff; }
.btn.twitch:hover { background: var(--show-twitch-hover); }
.btn.primary { background: var(--accent); border-color: transparent; color: #fff; }
.btn.primary:hover { background: var(--show-accent-hover); }
.btn.kick { background: var(--kick); border-color: transparent; color: var(--kick-ink); }
.btn.kick:hover { background: var(--show-kick-hover); }
.btn.small { padding: 8px 14px; font-size: var(--fs-md); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
/* sections */
section { padding: var(--show-section) 0 8px; }
h2 { font-size: var(--show-fs-h2); letter-spacing: -0.02em; line-height: 1.15; margin: 0 0 14px; }
.kicker { font-size: var(--fs-base); font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 8px; }
.lede { color: var(--show-muted); max-width: 640px; margin: 0 0 8px; }
.shot { border-radius: var(--show-r-shot); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--show-shadow-shot); background: var(--show-shot-bg); }
figure { margin: 0; }
figcaption { color: var(--show-muted); font-size: var(--fs-md); margin-top: 10px; }
/* two audiences */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }
.card { background: var(--show-panel); border: 1px solid var(--line); border-radius: var(--show-r-card); padding: 28px; display: flex; flex-direction: column; }
.card h3 { font-size: var(--show-fs-card); margin: 0 0 10px; }
.card p { margin: 0 0 12px; color: var(--text-soft); }
.card .btn { align-self: flex-start; margin-top: auto; }
/* FAQ */
.faq { max-width: 760px; margin-top: 20px; }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { cursor: pointer; font-weight: 600; font-size: var(--show-fs-faq); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--show-muted); font-weight: 400; font-size: 22px; line-height: 1; }
details[open] summary::after { content: "−"; }
details p { margin: 10px 0 0; color: var(--text-soft); }

/* closing */
.closing { text-align: center; padding: 88px 0 40px; }
.closing p { color: var(--show-muted); max-width: 560px; margin: 0 auto 26px; }
.closing .ctas { justify-content: center; }
footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 26px 0 40px; color: var(--show-muted); font-size: var(--fs-md); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; }
footer a { color: var(--show-muted); }
.copied { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); background: var(--show-toast); border: 1px solid var(--line); padding: 10px 16px; border-radius: var(--show-r-btn); font-size: var(--fs-lg); opacity: 0; transition: opacity var(--t-med); pointer-events: none; }
.copied.on { opacity: 1; }

@media (max-width: 820px) {
  .two { grid-template-columns: 1fr; }
}

/* feel: press, keyboard focus, less motion when asked */
.btn { transition: background-color var(--t-fast), transform var(--t-fast); }
.btn:active { transform: var(--press); }
:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
