/* Doksan Football Game: a night match under the floodlights. Flat navy
   ground, white chalk lines, grass green for links, Barlow like the game. */
:root {
  --ground: #0b1426;
  --panel: #111d35;
  --raised: #19284a;
  --ink: #f2f5fb;
  --soft: #c3cbde;
  --muted: #8b96b5;
  --line: rgba(255, 255, 255, .13);
  --chalk: rgba(255, 255, 255, .78);
  --green: #1a9e4f;
  --link: #5ee08f;
  --gold: #fbbf24;
  --measure: 42rem;
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Barlow", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--ground); padding: 6px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---- the bar on every page ------------------------------------------ */
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px var(--gutter);
  position: relative;
  z-index: 2;
}
.bar.over { position: absolute; inset: 0 0 auto 0; }
.mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
}
.mark img { width: 34px; height: 34px; border-radius: 8px; border: 1px solid var(--line); }
.mark span {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: .08em;
  line-height: 1;
}
.lang { font-size: 15px; font-weight: 600; color: var(--soft); text-decoration: none; padding: 6px 2px; }
.lang:hover { color: var(--ink); text-decoration: underline; }

/* ---- landing: the top corner ---------------------------------------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-copy {
  position: relative;
  margin-top: auto;
  padding: 0 var(--gutter) clamp(40px, 8vh, 88px);
  max-width: 40rem;
}
.hero h1 {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-weight: 800;
  font-size: clamp(64px, 12vw, 152px);
  line-height: .9;
  letter-spacing: -.01em;
  margin: 0 0 20px;
}
.hero p { font-size: clamp(18px, 2.1vw, 22px); line-height: 1.5; color: var(--soft); margin: 0 0 28px; max-width: 30rem; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.stores li {
  border: 1.5px solid var(--chalk);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
}
.stores li small { display: block; font-size: 13px; font-weight: 500; color: var(--muted); }
.free { margin-top: 18px !important; font-size: 15px !important; color: var(--muted) !important; }

.ball, .streak { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .ball { animation: arrive 1s cubic-bezier(.16, .84, .3, 1) .15s both; }
  .streak { animation: trail .9s ease-out .2s both; }
}
@keyframes arrive { from { transform: translate(-220px, 520px) scale(.55); } to { transform: none; } }
@keyframes trail { from { opacity: 0; } to { opacity: 1; } }

/* ---- landing: what's in it ------------------------------------------ */
.wrap { max-width: 68rem; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(56px, 9vw, 104px) 0 0; }
.section h2 {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-weight: 800;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1;
  margin: 0 0 36px;
  max-width: 20ch;
}
.plays {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  column-gap: 48px;
  margin: 0;
}
.plays div { border-top: 1.5px solid var(--chalk); padding: 18px 0 34px; }
.plays dt {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.1;
  margin: 0 0 8px;
}
.plays dd { margin: 0; color: var(--soft); }

.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 28rem), 1fr)); gap: 16px; margin: 0; }
.shots figure { margin: 0; }
.shots img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); }
.section:has(.shots):not(:has(.shots img)) { display: none; }

.season {
  margin-top: clamp(56px, 9vw, 104px);
  padding: 32px clamp(20px, 4vw, 44px);
  background: var(--panel);
  border-radius: 14px;
  display: grid;
  gap: 8px 40px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  align-items: start;
}
.season h2 {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
  margin: 0;
}
.season p { margin: 0; color: var(--soft); }
.tiers { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; }
.tiers li { font-weight: 700; font-size: 14px; padding: 4px 12px; border-radius: 999px; background: var(--raised); }
.tiers li:last-child { color: var(--ground); background: var(--gold); }

/* ---- documents ------------------------------------------------------ */
.doc { max-width: var(--measure); margin: 0 auto; padding: 24px var(--gutter) 80px; }
.doc h1 {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-weight: 800;
  font-size: clamp(40px, 7vw, 56px);
  line-height: 1;
  margin: 28px 0 10px;
}
.updated { margin: 0 0 32px; font-size: 14px; color: var(--muted); font-weight: 500; }
.lead {
  margin: 0 0 40px;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--green);
  font-size: 19px;
  line-height: 1.55;
}
.doc h2 {
  font-family: "Barlow Condensed", "Barlow", sans-serif;
  font-weight: 700;
  font-size: 30px;
  line-height: 1.15;
  margin: 48px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.doc h3 { font-size: 18px; margin: 28px 0 6px; }
.doc p, .doc li { color: var(--soft); }
.doc strong { color: var(--ink); }
.code { white-space: nowrap; }
.doc ul, .doc ol { padding-left: 1.3em; }
.doc li + li { margin-top: 6px; }
.toc { background: var(--panel); border-radius: 12px; padding: 18px 22px; margin: 0 0 8px; }
.toc p { margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.toc ol { margin: 0; columns: 2 15rem; column-gap: 32px; }
.toc li { break-inside: avoid; }
.note { background: var(--panel); border-radius: 12px; padding: 16px 20px; margin: 20px 0; }
.note p { margin: 0; }
.steps { counter-reset: s; list-style: none; padding: 0 !important; }
.steps li { counter-increment: s; position: relative; padding-left: 44px; min-height: 32px; }
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: 0;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--chalk);
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px; color: var(--ink);
}
.faq h2 { font-size: 26px; }

/* ---- footer --------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); margin-top: 72px; padding: 32px var(--gutter) 48px; color: var(--muted); font-size: 15px; }
.foot nav ul { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0 0 18px; padding: 0; list-style: none; }
.foot a { color: var(--soft); }
.foot p { margin: 0; }

@media (max-width: 640px) {
  .bar.over { position: relative; }
  .hero { min-height: 0; }
  .hero-art { position: relative; height: 54vw; min-height: 230px; }
  .hero-copy { margin-top: -8px; padding-top: 0; }
  .stores li { flex: 1 1 100%; text-align: center; }
}
@media print {
  body { background: #fff; color: #000; }
  .doc p, .doc li { color: #000; }
  .bar, .foot nav { display: none; }
}
