/* OUTSIDELANE content pages (About, How to play, Privacy, Terms): stadium floodlight background,
   glass cards and the bevelled gold button. Loaded after each page's own <style>, so it takes over the look
   while the page keeps its own content styles (tables, score bands). No images: all gradients and one inline SVG. */
:root {
  color-scheme: dark;
  --bg-night: #060203;
  --text-cream: #fffaf2;
  --text-soft: #f5dfd7;
  --text-muted: #c49c93;
  --gold: #e8bc52;
  --gold-bright: #ffe082;
  --gold-amber: #d49b2a;
  --card-bg: rgba(42, 10, 15, 0.62);
  --border-subtle: rgba(242, 182, 168, 0.14);
  --border-rim: rgba(255, 224, 195, 0.22);
}
html { min-height: 100%; }
body {
  margin: 0; min-height: 100vh; position: relative; overflow-x: hidden;
  background: var(--bg-night);
  color: var(--text-cream); font: 16px/1.6 var(--site-font); -webkit-font-smoothing: antialiased;
}

/* ---- background: overhead centre floodlight, stadium mist, track grid + grain ---- */
.stadium-light-stage {
  position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden;
  background-color: var(--bg-night);
  background-image:
    radial-gradient(ellipse 32% 30% at 50% -8%, rgba(255, 236, 184, 0.42) 0%, rgba(226, 180, 72, 0.28) 32%, rgba(217, 122, 84, 0.16) 62%, transparent 100%),
    radial-gradient(ellipse 54% 58% at 50% 18%, rgba(217, 122, 84, 0.34) 0%, rgba(142, 50, 46, 0.56) 38%, rgba(78, 20, 24, 0.28) 68%, transparent 92%),
    radial-gradient(ellipse 72% 68% at 50% 24%, transparent 20%, rgba(18, 4, 6, 0.86) 66%, #060203 95%),
    linear-gradient(180deg, #120406 0%, #24080c 26%, #120406 64%, #060203 100%);
}
.stadium-mist {
  position: absolute; inset: 0; mix-blend-mode: screen;
  background-image:
    conic-gradient(from 154deg at 50% -10%, transparent 0deg, rgba(255, 232, 184, 0.05) 14deg, rgba(255, 244, 218, 0.13) 26deg, rgba(255, 232, 184, 0.05) 38deg, transparent 52deg),
    radial-gradient(ellipse 46% 36% at 50% 34%, rgba(255, 228, 186, 0.09) 0%, rgba(217, 122, 84, 0.05) 50%, transparent 82%),
    radial-gradient(ellipse 38% 22% at 50% 12%, rgba(255, 242, 210, 0.14) 0%, transparent 75%);
}
.track-surface-mask {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(226, 180, 72, 0.09) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(226, 180, 72, 0.07) 1px, transparent 1px),
    linear-gradient(to right, rgba(255, 246, 234, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 246, 234, 0.045) 1px, transparent 1px),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.14'/%3E%3C/svg%3E");
  background-size: 140px 140px, 140px 140px, 28px 28px, 28px 28px, 180px 180px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 52% 54% at 50% 22%, #000 12%, rgba(0, 0, 0, 0.45) 52%, transparent 85%);
  mask-image: radial-gradient(ellipse 52% 54% at 50% 22%, #000 12%, rgba(0, 0, 0, 0.45) 52%, transparent 85%);
}

/* ---- foreground ---- */
a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 3px; transition: color .15s ease, text-shadow .15s ease; }
a:hover { color: var(--gold-bright); text-shadow: 0 0 14px rgba(255, 224, 130, 0.42); }
.wrap { max-width: 760px; margin: 0 auto; padding: 24px 20px 64px; position: relative; z-index: 1; }

header {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  margin-bottom: 36px; padding: 10px 14px; border-radius: 16px;
  background: var(--card-bg); border: 1px solid var(--border-subtle); border-top-color: var(--border-rim);
  box-shadow: inset 0 1px 0 rgba(255, 236, 210, 0.22), 0 18px 42px rgba(0, 0, 0, 0.72);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text-cream); text-decoration: none; font-weight: 900; font-size: 19px; letter-spacing: -0.6px; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75); }
.brand:hover { color: var(--text-cream); text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75); }
.brand img { display: block; border-radius: 9px; box-shadow: 0 6px 16px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.35); }

/* bevelled gold pill */
.play {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: linear-gradient(135deg, #ffea9f 0%, var(--gold-bright) 38%, var(--gold-amber) 100%);
  color: #2b0a0d; text-decoration: none; font-weight: 900; font-size: 13px; letter-spacing: 0.05em;
  padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(255, 250, 230, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85), 0 4px 0 #7a500d, 0 14px 34px rgba(0, 0, 0, 0.72), 0 0 26px rgba(226, 180, 72, 0.25);
  transition: transform .14s ease, box-shadow .14s ease, filter .14s ease;
}
.play:hover { color: #2b0a0d; filter: brightness(1.06); transform: translateY(-2px); text-shadow: none;
  box-shadow: inset 0 1px 0 #fff, 0 6px 0 #7a500d, 0 18px 40px rgba(0, 0, 0, 0.8), 0 0 36px rgba(255, 224, 130, 0.42); }
.play:active { transform: translateY(2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 2px 0 #7a500d, 0 8px 18px rgba(0, 0, 0, 0.65); }

/* hero, caught in the floodlight */
h1 { font-size: clamp(32px, 6vw, 48px); line-height: 1.08; letter-spacing: -0.04em; margin: 8px 4px 14px; color: #fffdf9;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.8), 0 0 38px rgba(255, 222, 160, 0.24); }
h1 em { color: #ffea9c; font-style: italic; text-shadow: 0 0 22px rgba(255, 222, 120, 0.68), 0 0 46px rgba(226, 180, 72, 0.38), 0 4px 16px rgba(0, 0, 0, 0.85); }
.lead { font-size: 18px; line-height: 1.55; color: #fff3eb; margin: 0 4px 28px; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.78); }
.lead strong { color: #fff; }
.updated { margin: -16px 4px 24px; color: var(--text-muted); font-size: 13px; }

/* each section is a glass card with a top rim-light */
main > section {
  position: relative; overflow: hidden; margin: 0 0 18px; padding: 24px 26px; border-radius: 20px;
  background: var(--card-bg); border: 1px solid var(--border-subtle); border-top-color: var(--border-rim);
  box-shadow: inset 0 1px 0 rgba(255, 224, 195, 0.22), inset 0 16px 32px -18px rgba(255, 226, 182, 0.16), 0 24px 54px rgba(0, 0, 0, 0.78), 0 6px 18px rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: border-color .2s ease, box-shadow .2s ease;
}
main > section::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 68% 42% at 50% -10%, rgba(255, 232, 192, 0.14) 0%, rgba(217, 122, 84, 0.05) 50%, transparent 80%); }
main > section:hover { border-top-color: rgba(255, 236, 212, 0.38);
  box-shadow: inset 0 1px 0 rgba(255, 236, 212, 0.34), inset 0 20px 38px -16px rgba(255, 232, 192, 0.22), 0 28px 62px rgba(0, 0, 0, 0.84), 0 8px 22px rgba(0, 0, 0, 0.62); }
main > section > * { position: relative; }
h2 { font-size: 21px; letter-spacing: -0.02em; margin: 0 0 10px; color: #fffdf9; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); }
section p, section li { color: var(--text-soft); }
section p { margin: 0 0 14px; }
section p:last-child { margin-bottom: 0; }

/* founders with lane numbers */
.founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 14px 0 4px; }
.founder { position: relative; overflow: hidden; padding: 18px 20px; border-radius: 15px;
  background: radial-gradient(ellipse 80% 60% at 50% -12%, rgba(255, 232, 192, 0.14) 0%, transparent 72%), rgba(24, 5, 9, 0.74);
  border: 1px solid rgba(242, 182, 168, 0.16); border-top-color: rgba(255, 224, 195, 0.28);
  box-shadow: inset 0 1px 0 rgba(255, 224, 195, 0.2), 0 16px 34px rgba(0, 0, 0, 0.68);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.founder::after { content: attr(data-lane); position: absolute; right: 14px; bottom: -8px; font-size: 46px; font-weight: 900; font-style: italic; line-height: 1;
  letter-spacing: -0.05em; color: rgba(255, 224, 130, 0.14); pointer-events: none; transition: color .18s ease, transform .18s ease; }
.founder:hover { transform: translateY(-2px); border-color: rgba(255, 224, 130, 0.45); box-shadow: inset 0 1px 0 rgba(255, 242, 218, 0.36), 0 22px 42px rgba(0, 0, 0, 0.78); }
.founder:hover::after { color: rgba(255, 224, 130, 0.24); transform: translateX(-2px); }
.founder b { display: block; font-size: 18px; letter-spacing: -0.01em; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.75); }
.founder span { display: inline-block; margin-top: 2px; font-size: 12px; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; color: var(--gold-bright); }
.contact { display: inline-block; margin: 4px 0 12px; font-size: 18px; font-weight: 800; color: var(--gold-bright); text-shadow: 0 0 16px rgba(255, 224, 130, 0.3), 0 2px 10px rgba(0, 0, 0, 0.75); }

/* tables (how to play, privacy) sit inside the cards */
table { width: 100%; border-collapse: collapse; }
th, td { border-bottom: 1px solid rgba(242, 182, 168, 0.16); }
th { color: var(--gold-bright); }
td { color: var(--text-soft); }
tr:last-child td { border-bottom: 0; }

.cta { position: relative; margin: 36px 0 0; text-align: center; }
.cta .play { padding: 14px 30px; font-size: 14px; }

footer { margin-top: 44px; padding: 18px 20px; border-radius: 14px; background: rgba(14, 3, 6, 0.76);
  border: 1px solid rgba(242, 182, 168, 0.12); box-shadow: inset 0 1px 0 rgba(255, 224, 195, 0.08); font-size: 12px; color: var(--text-muted); }
footer strong { color: var(--text-cream); }

@media (max-width: 640px) {
  header { margin-bottom: 24px; padding: 9px 12px; }
  main > section { padding: 20px 18px; border-radius: 16px; }
  .play { padding: 9px 14px; font-size: 12px; }
  table { font-size: 14px; }
  th, td { padding: 8px 6px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
