/* Ilerioluwa Goalkeeper Training Institute — brand theme v2.
   Drawn from the actual kit: black jersey, white varsity numerals ("ILERIOLUWA 77"),
   teal sleeve trim, volt-green wordmark logo. Mobile-first, no frameworks. */

:root {
  --black: #0b0c0a;
  --coal: #141613;
  --card: #1b1e1a;
  --line: #2b2f29;
  --volt: #c8f31d;        /* logo green */
  --volt-bright: #e2ff3d;
  --teal: #5eead4;        /* jersey trim */
  --paper: #f4f5f0;
  --muted: #9aa093;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--paper);
  background: var(--black);
  line-height: 1.6;
  font-size: 17px;
}
img { max-width: 100%; height: auto; }
a { color: var(--teal); }

h1, h2, h3 { line-height: 1.15; font-weight: 900; }
h1 { font-size: 2rem; margin: 0 0 .5rem; text-transform: uppercase; letter-spacing: .5px; }
h2 {
  font-size: 1.45rem; margin: 2.4rem 0 1rem;
  text-transform: uppercase; letter-spacing: 1px; color: #fff;
}
h2::after {
  content: ""; display: block; width: 64px; height: 4px;
  background: var(--volt); margin-top: .4rem; border-radius: 2px;
}
h3 { font-size: 1.1rem; margin: 0 0 .4rem; }

.wrap { max-width: 1000px; margin: 0 auto; padding: 0 1rem; }

/* ---------- header / nav ---------- */
header.site {
  background: rgba(11,12,10,.92);
  backdrop-filter: blur(6px);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 2px solid var(--volt);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem 1rem; max-width: 1000px; margin: 0 auto;
}
.crest { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: #fff; font-weight: 800; }
.crest .shield {
  background: var(--volt); color: var(--black);
  font-size: .8rem; font-weight: 900;
  padding: .35rem .45rem;
  border-radius: 6px 6px 10px 10px;
  letter-spacing: .5px;
  box-shadow: 0 0 0 2px #0006, 0 0 14px #c8f31d44;
}
.crest .name { font-size: .95rem; line-height: 1.15; text-transform: uppercase; letter-spacing: .5px; }
.crest .name small { display: block; font-weight: 700; color: var(--volt); font-size: .62rem; letter-spacing: 2.5px; }

#nav-toggle {
  background: none; border: 2px solid var(--line); color: var(--volt);
  font-size: 1.2rem; padding: .2rem .6rem; border-radius: 6px;
  min-width: 44px; min-height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
}
nav.main ul {
  list-style: none; margin: 0 auto; padding: 0 1rem .8rem;
  display: none; flex-direction: column; gap: .15rem; max-width: 1000px;
}
nav.main.open ul { display: flex; }
nav.main a {
  display: block; color: #fff; text-decoration: none;
  padding: .55rem .6rem; border-radius: 6px;
  font-weight: 700; font-size: .92rem;
  text-transform: uppercase; letter-spacing: .5px;
  white-space: nowrap;
}
nav.main a:hover { color: var(--volt); background: var(--coal); }
nav.main a[aria-current="page"] { color: var(--volt); box-shadow: inset 0 -3px 0 var(--volt); border-radius: 6px 6px 0 0; }

@media (min-width: 800px) {
  #nav-toggle { display: none; }
  nav.main ul {
    display: flex; flex-direction: row; flex-wrap: nowrap;
    justify-content: center; align-items: center; gap: .3rem;
    padding: 0 1rem .55rem;
    overflow-x: auto; /* never wraps — scrolls on narrow desktop instead */
  }
}

/* ---------- hero: black kit + goal-net grid + giant 77 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding: 3.2rem 0 4rem;
  background:
    linear-gradient(180deg, #0b0c0a 0%, #11140e 60%, #0b0c0a 100%);
}
.hero::before { /* goal-net grid, like the stencil mark */
  content: "";
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(90deg, transparent 0 46px, #ffffff0a 46px 48px),
    repeating-linear-gradient(0deg, transparent 0 46px, #ffffff0a 46px 48px);
  transform: perspective(600px) rotateX(18deg) scale(1.2);
  transform-origin: top;
}
.hero::after { /* giant jersey numeral watermark */
  content: "77";
  position: absolute;
  right: -.05em; bottom: -.28em;
  font-size: clamp(11rem, 30vw, 20rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 3px #ffffff14;
  letter-spacing: -.05em;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .kicker {
  color: var(--volt);
  font-weight: 900; letter-spacing: 4px; text-transform: uppercase; font-size: .78rem;
}
.hero h1 { font-size: 2.3rem; max-width: 24ch; }
.hero h1 .volt { color: var(--volt); }
.hero p.lead { font-size: 1.08rem; max-width: 52ch; color: #d7dbd0; }
.hero-cta {
  display: flex; flex-direction: column; gap: .55rem;
  margin-top: .25rem; max-width: 22rem;
}
@media (min-width: 480px) {
  .hero-cta { flex-direction: row; flex-wrap: wrap; max-width: none; }
}
@media (max-width: 479px) {
  .hero { padding: 2rem 0 2.6rem; }
  .hero h1 { font-size: 1.85rem; }
  .hero p.lead { font-size: 1rem; }
  .wordmark-img { max-width: min(100%, 280px); margin-bottom: .75rem; }
  .hero-cta .btn {
    display: block; width: 100%; margin: 0;
    text-align: center; box-sizing: border-box;
  }
}
@media (min-width: 800px) { .hero h1 { font-size: 3.1rem; } }

/* wordmark (homepage hero) — the real volt logo lockup image */
.wordmark-img {
  display: block;
  width: 100%; max-width: 480px; height: auto;
  margin: 0 0 1rem;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px #000a, 0 0 24px #c8f31d22;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase; letter-spacing: .5px; font-size: .9rem;
  margin: .3rem .4rem .3rem 0;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--volt); color: var(--black); box-shadow: 0 4px 18px #c8f31d33; }
.btn-gold:hover { background: var(--volt-bright); box-shadow: 0 6px 24px #c8f31d55; }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { border-color: var(--volt); color: var(--volt); }
.btn-green { background: transparent; border: 2px solid var(--volt); color: var(--volt); }
.btn-green:hover { background: var(--volt); color: var(--black); }

/* ---------- sections / cards ---------- */
section.band { padding: 1.2rem 0 2.4rem; }
section.band.alt {
  background: var(--coal);
  clip-path: polygon(0 1.6rem, 100% 0, 100% calc(100% - 1.6rem), 0 100%); /* angled kit-stripe edges */
  padding: 3rem 0 3.6rem;
}

.grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid.cols-2 { grid-template-columns: 1fr 1fr; } .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--volt);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--volt); box-shadow: 0 10px 30px #000a; }
.card .age { color: var(--teal); font-weight: 900; font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; }
.card .price {
  font-size: 1.5rem; font-weight: 900; color: #fff; margin: .4rem 0 0;
  text-shadow: 2px 2px 0 #000, 3px 3px 0 var(--volt); /* varsity-numeral pop */
}
.card ul { padding-left: 1.1rem; margin: .5rem 0; color: #d7dbd0; }
.card p { color: #d7dbd0; }

.avatar {
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--black); color: var(--volt);
  border: 2px solid var(--volt);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; font-weight: 900;
  margin-bottom: .6rem;
}

/* sample-data badge — remove when real content lands */
.sample {
  display: inline-block;
  background: #423a10; color: #fde68a;
  font-size: .66rem; font-weight: 800;
  padding: .12rem .45rem; border-radius: 4px;
  vertical-align: middle; letter-spacing: .5px;
}

/* ---------- tables ---------- */
table {
  width: 100%; border-collapse: collapse;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; font-size: .95rem;
}
th, td { padding: .65rem .75rem; text-align: left; border-bottom: 1px solid var(--line); }
th { background: #000; color: var(--volt); text-transform: uppercase; letter-spacing: 1px; font-size: .78rem; }
td { color: #d7dbd0; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: #ffffff08; }
.table-scroll { overflow-x: auto; }

/* ---------- stat strip: jersey numerals ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .8rem; text-align: center; }
.stats .n {
  font-size: 2.4rem; font-weight: 900; display: block; line-height: 1.1;
  color: #fff;
  text-shadow: 2px 2px 0 #000, 4px 4px 0 var(--volt);
}
.stats .l { font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- scroll reveal (JS adds .in) ---------- */
.card, blockquote, .stats > div { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.card.in, blockquote.in, .stats > div.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .card, blockquote, .stats > div { opacity: 1; transform: none; transition: none; }
  .btn, .card:hover { transform: none; }
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; right: 1rem; bottom: 1rem;
  background: #25d366; color: #04240f;
  font-weight: 900; text-decoration: none;
  padding: .8rem 1.2rem; border-radius: 999px;
  box-shadow: 0 4px 18px #000c;
  z-index: 60;
  transition: transform .15s ease;
}
.wa-float:hover { transform: scale(1.05); }

/* ---------- footer ---------- */
footer.site {
  background: #000;
  color: var(--muted);
  margin-top: 3rem;
  padding: 2rem 0 4.5rem;
  font-size: .9rem;
  border-top: 2px solid var(--volt);
}
footer.site a { color: var(--volt); }
footer.site strong { color: #fff; text-transform: uppercase; letter-spacing: 1px; font-size: .85rem; }
footer.site .cols { display: grid; gap: 1.2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { footer.site .cols { grid-template-columns: 2fr 1fr 1fr; } }
footer.site ul { list-style: none; padding: 0; margin: .3rem 0; }
footer.site li { margin: .25rem 0; }
.fineprint { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1rem; font-size: .76rem; }

/* ---------- misc ---------- */
.notice {
  background: #1f1a05;
  border: 1px solid #423a10;
  border-left: 4px solid #fde68a;
  border-radius: var(--radius);
  padding: .7rem 1rem;
  font-size: .88rem;
  color: #fde68a;
  margin: 1rem 0;
}
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 1.1rem 3.2rem; color: #d7dbd0; }
.steps li strong { color: #fff; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--volt); color: var(--black);
  font-weight: 900;
  display: flex; align-items: center; justify-content: center;
}
.steps li:not(:last-child)::after {
  content: ""; position: absolute; left: 1.05rem; top: 2.4rem; bottom: .2rem;
  width: 2px; background: var(--line);
}
blockquote {
  margin: 0;
  padding: 1rem 1.2rem;
  background: var(--card);
  border-left: 4px solid var(--volt);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: #d7dbd0;
}
blockquote footer { font-style: normal; font-weight: 800; color: var(--volt); margin-top: .5rem; }

/* ---------- Guardian of Goal mini-game ---------- */
.gog-frame {
  position: relative;
  max-width: 480px;
  margin: 1.2rem auto 0;
}
/* full-screen mode — native :fullscreen or .gog-max fallback (iOS etc.) */
.gog-frame.gog-max {
  position: fixed; inset: 0; z-index: 1000;
  max-width: none; margin: 0;
  background: rgba(11,12,10,.97);
  display: flex; align-items: center; justify-content: center;
}
.gog-frame.gog-max canvas { width: auto; height: 100%; max-width: 100vw; max-height: 100vh; }
.gog-frame:fullscreen { max-width: none; margin: 0; background: #0b0c0a; display: flex; align-items: center; justify-content: center; }
.gog-frame:fullscreen canvas { width: auto; height: 100%; max-width: 100vw; max-height: 100vh; }
/* old-Safari twins — must be separate rules (an invalid pseudo-class drops the whole rule) */
.gog-frame:-webkit-full-screen { max-width: none; margin: 0; background: #0b0c0a; display: flex; align-items: center; justify-content: center; }
.gog-frame:-webkit-full-screen canvas { width: auto; height: 100%; max-width: 100vw; max-height: 100vh; }
.gog-fs {
  position: absolute; top: .5rem; right: .5rem; z-index: 3;
  background: rgba(11,12,10,.7); color: var(--volt);
  border: 1px solid var(--line); border-radius: 8px;
  font-size: 1.05rem; line-height: 1; padding: .4rem .55rem;
  cursor: pointer;
}
.gog-fs:hover { border-color: var(--volt); }
.gog-pads { display: flex; gap: .5rem; justify-content: center; margin-top: .6rem; }
.gog-pad {
  flex: 1; max-width: 132px;
  font-size: 1.35rem; line-height: 1; padding: .65rem 0;
  background: var(--card); color: var(--volt);
  border: 2px solid var(--line); border-radius: 10px;
  cursor: pointer; touch-action: none; user-select: none;
}
.gog-pad:active { background: var(--volt); color: var(--black); border-color: var(--volt); }
/* in full-screen the pads ride inside the frame, above the bottom edge */
.gog-frame:fullscreen .gog-pads { position: absolute; bottom: .8rem; left: 50%; transform: translateX(-50%); width: min(420px, 92vw); z-index: 3; }
.gog-frame:-webkit-full-screen .gog-pads { position: absolute; bottom: .8rem; left: 50%; transform: translateX(-50%); width: min(420px, 92vw); z-index: 3; }
.gog-frame.gog-max .gog-pads { position: absolute; bottom: .8rem; left: 50%; transform: translateX(-50%); width: min(420px, 92vw); z-index: 3; }
.gog-frame canvas {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--coal);
  touch-action: none;          /* taps dive, never scroll the page */
  user-select: none;
  cursor: pointer;
}
.gog-ui[hidden] { display: none; }  /* display:flex below would defeat the hidden attribute */
.gog-ui {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: .7rem; padding: 1rem; text-align: center;
  background: rgba(11,12,10,.88);
  border-radius: var(--radius);
}
.gog-ui h3 {
  color: var(--volt);
  text-transform: uppercase; letter-spacing: 3px;
  font-size: 1.25rem; margin: 0;
}
.gog-ui p { margin: 0; color: #d7dbd0; font-size: .92rem; max-width: 36ch; }
.gog-big {
  font-size: 2.6rem; font-weight: 900; color: #fff;
  text-shadow: 2px 2px 0 #000, 4px 4px 0 var(--volt);
  display: inline-block; margin-right: .3rem; vertical-align: middle;
}
.gog-note { text-align: center; color: var(--muted); font-size: .85rem; margin-top: .8rem; }

/* form fields (contact page) */
input, select, textarea {
  width: 100%; padding: .6rem;
  background: var(--black); color: var(--paper);
  border: 1px solid var(--line); border-radius: 6px;
  font: inherit;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--volt); border-color: var(--volt); }
button.btn { border: none; cursor: pointer; font: inherit; }
.gog-mute { left: .5rem; right: auto; }
/* a11y: skip link + visible keyboard focus + reduced motion */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--volt); color: var(--black);
  padding: .6rem 1rem; font-weight: 900; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--volt); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
