/* Penalty King: Shootout — website styles.
   "Floodlit Night Broadcast" — the app's identity on the web:
   indigo night base, a single electric Volt accent, a Siren red for misses,
   gold for ranks, scoreboard / shirt-number typography.
   Archivo Black (display) + Archivo (body). */

:root {
  --bg:        #0E1018;   /* Night — almost-black indigo */
  --bg2:       #11131D;
  --panel:     #181B27;   /* Night Lift, settled */
  --panel2:    #1B2030;   /* Night Lift */
  --line:      #272C3D;
  --line-soft: rgba(198,255,58,0.10);
  --ink:       #EAF0F4;   /* Chalk */
  --dim:       #9AA3B5;
  --volt:      #C6FF3A;   /* signature accent — energy / CTA / save */
  --volt-deep: #A6E000;
  --siren:     #FF5A3C;   /* miss / conceded goal */
  --gold:      #E7B53C;   /* ranks / sweet-spot */
  --grass:     #1E7A43;   /* the pitch */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Floodlights from above + the dark of the stadium below */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(900px 460px at 18% -120px, rgba(198,255,58,0.12), transparent 70%),
    radial-gradient(900px 460px at 82% -120px, rgba(255,90,60,0.07), transparent 70%),
    radial-gradient(1300px 760px at 50% 118%, rgba(0,0,0,0.55), transparent 60%);
}

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 22px;
  position: relative;
  z-index: 1;
}

a { color: var(--volt); text-underline-offset: 3px; text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, .wordmark, .hero-title {
  font-family: 'Archivo Black', 'Archivo', system-ui, sans-serif;
  letter-spacing: -0.015em;
}

/* ---- Masthead ---- */

.masthead {
  padding: 22px 0 18px;
  border-bottom: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, transparent 0 44px, var(--line-soft) 44px 45px);
}
.masthead .wrap { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 20px; }
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 21px;
  font-weight: 900;
  letter-spacing: 0.01em;
  color: var(--ink);
  text-transform: uppercase;
}
.wordmark .glyph {
  width: 22px; height: 20px; flex: none;
}
.wordmark .glyph path { stroke: var(--volt); stroke-width: 1.8; fill: none;
  stroke-linejoin: round; stroke-linecap: round; }
.wordmark .glyph circle { fill: var(--volt); }
.tagline {
  font-family: 'Archivo', ui-monospace, monospace;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.nav {
  margin-left: auto;
  font-size: 12px;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav a {
  color: var(--ink);
  margin-left: 18px;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav a:hover { text-decoration: none; color: var(--volt); border-bottom-color: var(--volt); }

/* ---- Hero ---- */

.hero { text-align: center; padding: 64px 0 34px; }
.hero-badge {
  display: inline-block;
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--volt);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 15px;
  margin-bottom: 26px;
}
.hero-title {
  font-size: 56px;
  font-weight: 900;
  line-height: 1.02;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.hero-title em { color: var(--volt); font-style: normal; }
.hero-title .hot { color: var(--siren); font-style: normal; }
.hero-sub {
  font-size: 18px;
  color: var(--dim);
  max-width: 560px;
  margin: 0 auto 28px;
}

/* Animated goal + strike motif */
.goalmotif {
  width: 100%;
  max-width: 520px;
  margin: 8px auto 0;
  height: auto;
  display: block;
}
.goalmotif .frame { stroke: var(--ink); stroke-width: 3; fill: none; stroke-linejoin: round; opacity: 0.9; }
.goalmotif .net { stroke: var(--line); stroke-width: 1; fill: none; opacity: 0.7; }
.goalmotif .grass { stroke: var(--chalk, rgba(234,240,244,0.18)); stroke-width: 2; fill: none; }
.goalmotif .keeper { fill: var(--panel2); stroke: var(--ink); stroke-width: 1.5; }
.goalmotif .shot {
  stroke: var(--volt); stroke-width: 3; fill: none; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320;
  animation: trace 1.6s ease-in forwards;
}
.goalmotif .ball { fill: var(--ink); stroke: var(--bg); stroke-width: 1.5;
  opacity: 0; animation: pop 0.3s ease-out 1.5s forwards; }
.goalmotif .flash { fill: none; stroke: var(--volt); stroke-width: 2;
  opacity: 0; animation: pulse 2s ease-out 1.7s infinite; }
@keyframes trace { to { stroke-dashoffset: 0; } }
@keyframes pop { to { opacity: 1; } }
@keyframes pulse {
  0% { opacity: 0.9; transform: scale(1); }
  70% { opacity: 0; transform: scale(2.2); }
  100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .goalmotif .shot { animation: none; stroke-dashoffset: 0; }
  .goalmotif .ball { animation: none; opacity: 1; }
  .goalmotif .flash { animation: none; opacity: 0; }
}

/* ---- Buttons ---- */

.cta-row { margin-top: 30px; }
.cta {
  display: inline-block;
  background: var(--volt);
  color: #0A0E04;
  font-family: 'Archivo Black', 'Archivo', sans-serif;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 28px;
}
.cta:hover { text-decoration: none; background: var(--volt-deep); }
.cta.ghost {
  background: rgba(234,240,244,0.06);
  color: var(--ink);
  border: 1px solid var(--line);
  margin-left: 10px;
}
.cta.ghost:hover { background: var(--panel2); border-color: var(--volt); color: var(--volt); }

/* ---- Cards & layout ---- */

main { padding: 26px 0 12px; }

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 22px;
}

.kicker {
  font-family: 'Archivo', sans-serif;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--volt);
  margin-bottom: 14px;
}

h1 { font-size: 38px; font-weight: 900; margin-bottom: 6px; text-transform: uppercase; }
h2 { font-size: 24px; font-weight: 800; margin: 26px 0 10px; }
h2:first-of-type { margin-top: 4px; }
h3 { font-size: 16px; font-weight: 700; margin: 18px 0 6px; }
p { margin-bottom: 14px; }
ul { margin: 0 0 14px 22px; }
li { margin-bottom: 7px; }
strong { font-weight: 700; color: var(--ink); }

.lede { font-size: 19px; color: var(--dim); }
.updated {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
  margin-bottom: 18px;
}

/* ---- Numbered steps ---- */

.step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.step:last-child { border-bottom: 0; }
.step .num {
  flex: none;
  width: 34px; height: 34px;
  border-radius: 12px;
  background: var(--panel2);
  border: 1px solid var(--line);
  color: var(--volt);
  font-family: 'Archivo Black', sans-serif;
  font-size: 15px;
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { margin: 4px 0 2px; }
.step p { margin: 0; color: var(--dim); font-size: 15px; }

/* ---- Feature rows ---- */

.feature {
  display: flex;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.feature:last-child { border-bottom: 0; }
.feature .ico {
  font-size: 22px; flex: none; width: 30px; text-align: center; line-height: 1.4;
}
.feature h3 { margin: 0 0 2px; }
.feature p { margin: 0; color: var(--dim); font-size: 15px; }

/* ---- Two-mode grid ---- */

.modes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mode {
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
}
.mode .tag {
  font-family: 'Archivo', sans-serif;
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--volt);
}
.mode.daily { border-top: 3px solid var(--volt); }
.mode.free { border-top: 3px solid var(--siren); }
.mode.free .tag { color: var(--siren); }
.mode h3 { margin: 8px 0 6px; font-size: 19px; }
.mode p { margin: 0; color: var(--dim); font-size: 15px; }

/* ---- Scoreboard (outcomes) ---- */

.board {
  background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.board .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
}
.board .row:last-child { border-bottom: 0; }
.board .row .what { font-size: 15px; }
.board .row .pts {
  font-family: 'Archivo Black', sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--volt);
  background: rgba(198,255,58,0.08);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 3px 12px;
  white-space: nowrap;
}
.board .row.bonus .pts { color: var(--siren); background: rgba(255,90,60,0.08); }
.board .row.champ .pts { color: var(--gold); background: rgba(231,181,60,0.08); }

/* ---- Callout ---- */

.callout {
  background: var(--panel2);
  border-left: 3px solid var(--volt);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 18px 0;
}
.callout p:last-child { margin-bottom: 0; }

.fineprint {
  font-size: 13px;
  color: var(--dim);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 6px;
}
.fineprint p:last-child { margin-bottom: 0; }

/* ---- FAQ ---- */

.faq-q { font-family: 'Archivo Black', sans-serif; font-weight: 900; color: var(--ink); margin-top: 22px; margin-bottom: 4px; }

.rule { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

/* ---- Footer ---- */

.footer {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding: 26px 0 46px;
}
.footer p { font-size: 13px; color: var(--dim); margin-bottom: 8px; }
.footer .nav-foot { font-family: 'Archivo', sans-serif; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-size: 12px; }
.footer .nav-foot a { color: var(--ink); margin-right: 16px; }
.footer .copy {
  font-family: 'Archivo', sans-serif;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
}

/* ---- Responsive ---- */

@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding: 44px 0 24px; }
  .hero-title { font-size: 38px; }
  .card { padding: 22px; }
  h1 { font-size: 30px; }
  .modes { grid-template-columns: 1fr; }
  .nav { width: 100%; margin-left: 0; margin-top: 6px; }
  .nav a { margin-left: 0; margin-right: 16px; }
  .cta.ghost { margin-left: 0; margin-top: 10px; }
}
