/* ============================================================
   BATON ROUGE TIGERS — STYLES
   Palette: LSU-inspired purple + gold, tiger orange accent,
   real cricket materials (leather ball, willow bat, pitch clay).
   ============================================================ */

:root {
  --purple: #461D7C;
  --purple-deep: #2d1152;
  --purple-light: #7a46c4;
  --gold: #FDD023;
  --gold-deep: #e0a800;
  --tiger: #F26A1B;
  --ink: #120c1d;
  --ink-2: #1c132d;
  --paper: #faf8ff;
  --card: #ffffff;
  --text: #211a2e;
  --muted: #6c6380;
  --line: #e7e1f2;

  /* cricket materials */
  --leather-hi: #e8402c;
  --leather: #b3170d;
  --leather-lo: #5e0904;
  --stitch: #f6e7c8;
  --willow-hi: #f6e4ba;
  --willow: #e2c389;
  --willow-lo: #b98f52;
  --grip: #1d1d22;
  --clay: #d7bd84;
  --clay-lo: #bf9f63;
  --board: #0f1a14;
  --board-tile: #070a08;
  --led: #ffd84a;

  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 44px -20px rgba(70, 29, 124, 0.45);
  --wrap: 1140px;
  --nav-h: 72px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, .brand__text, .hero__title {
  font-family: "Anton", "Inter", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.02;
  text-transform: uppercase;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.wrap { width: min(var(--wrap), 92%); margin-inline: auto; }

.section { padding: clamp(56px, 9vw, 110px) 0; }

.kicker {
  color: var(--tiger);
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.kicker--gold { color: var(--gold); }

.section__head { max-width: 640px; margin-bottom: 48px; }
.section__head h2 { font-size: clamp(2rem, 5vw, 3.2rem); color: var(--purple); }
.section__sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }
.section__sub a { color: var(--purple-light); font-weight: 700; }

.muted { color: var(--muted); }

/* ============================================================
   BUTTON 1 — THE CRICKET BALL (Donate / Support)
   A red leather pill with a stitched seam; the ball itself
   sits on the left and catches the hero "six".
   ============================================================ */
.btn-ball {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  padding: 0 28px 0 8px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  color: var(--stitch);
  font: 800 0.98rem/1 "Inter", sans-serif;
  letter-spacing: .02em;
  background:
    radial-gradient(120% 140% at 30% 20%, var(--leather-hi), var(--leather) 45%, var(--leather-lo));
  box-shadow:
    inset 0 2px 0 rgba(255,255,255,.18),
    inset 0 -6px 14px rgba(0,0,0,.35),
    0 14px 30px -12px rgba(179,23,13,.85);
  transition: transform .2s ease, box-shadow .2s ease;
}
/* the stitched seam running around the pill */
.btn-ball::before {
  content: "";
  position: absolute;
  inset: 6px 10px 6px 54px;
  border-radius: 999px;
  border-top: 2px dashed rgba(246,231,200,.55);
  border-bottom: 2px dashed rgba(246,231,200,.55);
  pointer-events: none;
}
.btn-ball span { position: relative; text-shadow: 0 1px 0 rgba(0,0,0,.35); }
.btn-ball__ball {
  width: 42px; height: 42px; flex: none;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.45));
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.btn-ball:hover { transform: translateY(-3px); box-shadow: inset 0 2px 0 rgba(255,255,255,.2), inset 0 -6px 14px rgba(0,0,0,.35), 0 20px 36px -12px rgba(179,23,13,.95); }
.btn-ball:hover .btn-ball__ball { transform: rotate(360deg); }

.btn-ball--sm { height: 42px; padding: 0 18px 0 5px; gap: 8px; font-size: .86rem; }
.btn-ball--sm .btn-ball__ball { width: 32px; height: 32px; }
.btn-ball--sm::before { inset: 5px 8px 5px 40px; }

/* when the hero six lands in the button */
.btn-ball.is-caught { animation: caught .7s cubic-bezier(.2,1.6,.4,1); }
.btn-ball.is-caught::after {
  content: ""; position: absolute; left: 8px; top: 50%;
  width: 42px; height: 42px; margin-top: -21px; border-radius: 50%;
  border: 3px solid var(--gold);
  animation: ring .8s ease-out forwards;
  pointer-events: none;
}
@keyframes caught {
  0% { transform: scale(1); }
  30% { transform: scale(1.12) translateY(4px); }
  60% { transform: scale(.97); }
  100% { transform: scale(1); }
}
@keyframes ring {
  from { transform: scale(.6); opacity: 1; }
  to { transform: scale(2.6); opacity: 0; }
}

/* ============================================================
   BUTTON 2 — THE CRICKET BAT (Join / Send)
   Grip handle + willow blade with grain, sticker and rounded toe.
   ============================================================ */
.btn-bat {
  display: inline-flex;
  align-items: center;
  border: 0;
  background: none;
  cursor: pointer;
  transform-origin: 8px 50%;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.35));
  transition: transform .2s ease;
}
.btn-bat__handle {
  width: 58px; height: 16px;
  border-radius: 8px 3px 3px 8px;
  background:
    repeating-linear-gradient(100deg, rgba(255,255,255,.10) 0 3px, transparent 3px 8px),
    linear-gradient(180deg, #3a3a44, var(--grip) 55%, #0b0b0e);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
  position: relative;
}
/* the rubber knob at the end of the handle */
.btn-bat__handle::before {
  content: ""; position: absolute; left: -5px; top: -2px;
  width: 10px; height: 20px; border-radius: 6px;
  background: linear-gradient(180deg, #44444f, #111);
}
.btn-bat__blade {
  position: relative;
  display: inline-flex; align-items: center;
  height: 52px;
  padding: 0 40px 0 26px;
  margin-left: -2px;
  border-radius: 10px 30px 30px 10px;
  font: 800 .98rem/1 "Inter", sans-serif;
  letter-spacing: .02em;
  color: #3a2410;
  background:
    /* sticker band near the toe */
    linear-gradient(90deg, transparent 0 84%, var(--purple) 84% 88%, var(--gold) 88% 91%, transparent 91%),
    /* willow grain along the length */
    repeating-linear-gradient(180deg, rgba(120,80,30,.07) 0 2px, transparent 2px 6px),
    /* edge shading so it reads as a rounded blade */
    linear-gradient(180deg, var(--willow-hi) 0%, var(--willow) 45%, var(--willow-lo) 100%);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.6), inset 0 -4px 8px rgba(110,70,20,.35);
}
/* the shoulders where blade meets handle */
.btn-bat__blade::before {
  content: ""; position: absolute; left: -10px; top: 50%;
  width: 14px; height: 26px; margin-top: -13px;
  background: linear-gradient(180deg, var(--willow-hi), var(--willow-lo));
  clip-path: polygon(0 35%, 100% 0, 100% 100%, 0 65%);
}
.btn-bat:hover { animation: swing .55s cubic-bezier(.3,.7,.3,1); }
@keyframes swing {
  0% { transform: rotate(0); }
  35% { transform: rotate(-12deg); }
  70% { transform: rotate(5deg); }
  100% { transform: rotate(0); }
}
.btn-bat--submit { align-self: flex-start; margin-top: 6px; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .3s ease, box-shadow .3s ease;
}
.nav.scrolled {
  background: rgba(18, 12, 29, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(255,255,255,.08);
}
.nav__inner { width: min(var(--wrap), 92%); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand__ball { width: 38px; height: 38px; filter: drop-shadow(0 4px 8px rgba(0,0,0,.5)); animation: spin 9s linear infinite; }
.brand__text { font-size: 1.35rem; color: #fff; letter-spacing: .04em; }
.brand__text b { color: var(--gold); }

.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links > a:not(.btn-ball) { color: #f3eefe; font-weight: 600; font-size: 0.95rem; opacity: .9; transition: opacity .15s, color .15s; }
.nav__links > a:not(.btn-ball):hover { opacity: 1; color: var(--gold); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { width: 26px; height: 3px; background: #fff; border-radius: 2px; transition: .25s; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   HERO — real ground + six-hitting animation
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
  padding-top: var(--nav-h);
  cursor: crosshair;
}
.hero__bg { position: absolute; inset: 0; }
.hero__scene { display: block; width: 100%; height: 100%; }
/* photo / video mode (set in data.js) */
.hero__bg.is-photo {
  inset: -4%;
  background-size: cover;
  background-position: center 62%;
  filter: saturate(1.15) contrast(1.05) brightness(.82);
  animation: drift 30s ease-in-out infinite alternate;
}
.hero__bg.is-photo .hero__scene { display: none; }
.hero__bg video { width: 100%; height: 100%; object-fit: cover; }
@keyframes drift {
  from { transform: scale(1) translate(0, 0); }
  to { transform: scale(1.12) translate(-2.5%, -1.5%); }
}

/* clouds drifting over the ground */
.hero__clouds { position: absolute; inset: 0 0 50% 0; overflow: hidden; pointer-events: none; }
.hero__bg.is-photo ~ .hero__clouds { display: none; }
.hero__clouds i {
  position: absolute; left: -30%;
  width: 260px; height: 70px; border-radius: 50%;
  background:
    radial-gradient(closest-side at 30% 60%, rgba(255,255,255,.95), rgba(255,255,255,0)),
    radial-gradient(closest-side at 55% 40%, rgba(255,255,255,.95), rgba(255,255,255,0)),
    radial-gradient(closest-side at 75% 62%, rgba(255,255,255,.9), rgba(255,255,255,0));
  filter: blur(2px);
  animation: cloud 80s linear infinite;
}
.hero__clouds i:nth-child(1) { top: 9%; animation-duration: 95s; animation-delay: -20s; }
.hero__clouds i:nth-child(2) { top: 22%; width: 340px; height: 90px; animation-duration: 120s; animation-delay: -70s; opacity: .85; }
.hero__clouds i:nth-child(3) { top: 4%; width: 200px; height: 56px; animation-duration: 80s; animation-delay: -50s; opacity: .8; }
.hero__clouds i:nth-child(4) { top: 30%; width: 300px; height: 70px; animation-duration: 140s; animation-delay: -110s; opacity: .7; }
@keyframes cloud { to { transform: translateX(170vw); } }
.hero__shade {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6,32,18,.82) 0%, rgba(10,50,26,.55) 34%, rgba(10,50,26,.08) 62%, transparent 100%),
    linear-gradient(180deg, rgba(4,28,40,.4) 0%, transparent 20%, transparent 80%, rgba(18,12,29,.7) 100%);
}
.hero__fx { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }

.hero__content { position: relative; z-index: 5; width: min(var(--wrap), 92%); margin-inline: auto; cursor: auto; }
.hero__eyebrow {
  display: inline-block;
  color: var(--gold); font-weight: 800; letter-spacing: .22em; text-transform: uppercase;
  font-size: .8rem; margin-bottom: 18px;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(253,208,35,.12); border: 1px solid rgba(253,208,35,.35);
}
.hero__title { font-size: clamp(3.2rem, 10.5vw, 7.5rem); text-shadow: 0 6px 30px rgba(0,0,0,.45); }
.hero__title span { color: var(--gold); }
.hero__tag { max-width: 540px; margin-top: 22px; font-size: 1.15rem; color: #efe9fb; text-shadow: 0 2px 12px rgba(0,0,0,.5); }
.hero__cta { margin-top: 34px; display: flex; gap: 22px; flex-wrap: wrap; align-items: center; }
.hero__hint { margin-top: 26px; font-size: .82rem; color: rgba(255,255,255,.7); letter-spacing: .04em; }
.hero__hint span { color: var(--leather-hi); animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .2; } }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.4); border-radius: 14px; z-index: 5;
}
.hero__scroll span { position: absolute; top: 8px; left: 50%; width: 4px; height: 8px; background: var(--gold); border-radius: 2px; transform: translateX(-50%); animation: scrolldot 1.6s ease infinite; }
@keyframes scrolldot { 0% { opacity: 0; top: 8px; } 40% { opacity: 1; } 80% { opacity: 0; top: 22px; } }

/* ============================================================
   SCOREBOARD STATS
   ============================================================ */
.stats { background: linear-gradient(180deg, var(--ink), #160f24); padding: 50px 0; }
.board {
  background: var(--board);
  border-radius: 14px;
  padding: 18px 22px 26px;
  border: 6px solid #2a1d12;
  box-shadow: inset 0 0 0 2px #4a3520, 0 30px 60px -30px rgba(0,0,0,.8);
}
.board__head {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  font: 700 .82rem/1 "Oswald", sans-serif; letter-spacing: .28em; color: #e9e2c6;
  padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px dashed rgba(233,226,198,.25);
}
.board__lamp { width: 10px; height: 10px; border-radius: 50%; background: var(--led); box-shadow: 0 0 10px var(--led); animation: blink 2s ease-in-out infinite; }
.board__lamp:last-child { animation-delay: -1s; }
.board__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.sb__label { font: 500 .78rem/1.2 "Oswald", sans-serif; letter-spacing: .16em; text-transform: uppercase; color: #cfc8ad; margin-bottom: 10px; }
.sb__digits { display: flex; justify-content: center; gap: 5px; perspective: 400px; }
.sb__d {
  position: relative;
  width: clamp(30px, 4.4vw, 46px);
  padding: 8px 0;
  border-radius: 5px;
  background: linear-gradient(180deg, #121614, var(--board-tile));
  box-shadow: inset 0 0 0 1px #1f2a23, inset 0 -6px 10px rgba(0,0,0,.6);
  font: 700 clamp(1.7rem, 3.6vw, 2.7rem)/1 "Oswald", sans-serif;
  color: var(--led);
  text-shadow: 0 0 12px rgba(255,216,74,.55);
}
.sb__d::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,.7); }
.sb__d.flip { animation: flip .35s ease-out; }
@keyframes flip { from { transform: rotateX(-90deg); } to { transform: rotateX(0); } }

/* ============================================================
   ABOUT
   ============================================================ */
.about__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.about__text h2 { font-size: clamp(2rem, 5vw, 3rem); color: var(--purple); margin-bottom: 20px; }
.about__text p { margin-bottom: 16px; color: #3a3350; }
.vision {
  margin-top: 24px; padding: 18px 22px;
  border-left: 4px solid var(--gold);
  background: linear-gradient(90deg, rgba(253,208,35,.14), transparent);
  border-radius: 8px; font-weight: 600; color: var(--purple);
}
.about__media { position: relative; }
.about__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4/3; }
.about__badge {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--purple); color: #fff; padding: 16px 22px; border-radius: 14px;
  box-shadow: var(--shadow); text-align: center;
}
.about__badge b { font-family: "Anton", sans-serif; font-size: 1.9rem; color: var(--gold); display: block; }
.about__badge span { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }

/* ============================================================
   PITCH DIVIDER — ball is bowled, bails fly
   ============================================================ */
.pitchline { position: relative; width: min(var(--wrap), 92%); height: 96px; margin: 0 auto; }
.pitchline__strip {
  position: absolute; left: 0; right: 0; top: 62%; height: 22px; transform: translateY(-50%);
  border-radius: 4px;
  background:
    radial-gradient(circle at 20% 40%, rgba(0,0,0,.05) 0 2px, transparent 3px) 0 0 / 22px 14px,
    linear-gradient(180deg, var(--clay), var(--clay-lo));
  box-shadow: inset 0 2px 0 rgba(255,255,255,.35), 0 8px 18px -10px rgba(110,80,30,.6);
}
.crease { position: absolute; top: -3px; bottom: -3px; width: 3px; background: #fff; opacity: .9; border-radius: 2px; }
.crease--l { left: 6%; }
.crease--r { right: 13%; }
.pitchline__ball { position: absolute; top: 62%; left: -3%; width: 26px; height: 26px; transform: translateY(-150%); opacity: 0; filter: drop-shadow(0 4px 4px rgba(0,0,0,.35)); }
.stumps { position: absolute; right: 9%; bottom: calc(38% + 4px); display: flex; gap: 5px; }
.stumps i {
  display: block; width: 6px; height: 50px; border-radius: 3px 3px 1px 1px;
  background: linear-gradient(90deg, #fff7e6, #e6cfa3 60%, #b99a62);
  transform-origin: bottom center;
}
.bail { position: absolute; top: -4px; width: 12px; height: 4px; border-radius: 2px; background: linear-gradient(180deg, #fff3d4, #c9a15e); }
.bail--1 { left: 0; }
.bail--2 { left: 11px; }
.pitchline--bowled .stumps::after {
  content: "BOWLED!"; position: absolute; left: 50%; top: -34px; transform: translate(-50%, 6px) scale(.6);
  font: 400 1.1rem/1 "Anton", sans-serif; letter-spacing: .06em; color: var(--tiger); opacity: 0; white-space: nowrap;
}

.pitchline--bowled.in .pitchline__ball { animation: bowl 1.05s cubic-bezier(.35,.1,.55,1) forwards; }
.pitchline--bowled.in .stumps i:nth-child(2) { animation: knock .6s 1s cubic-bezier(.2,1.6,.4,1) forwards; }
.pitchline--bowled.in .stumps i:nth-child(3) { animation: knock2 .6s 1.05s ease-out forwards; }
.pitchline--bowled.in .bail--1 { animation: bail1 .9s 1s cubic-bezier(.2,.7,.4,1) forwards; }
.pitchline--bowled.in .bail--2 { animation: bail2 .9s 1s cubic-bezier(.2,.7,.4,1) forwards; }
.pitchline--bowled.in .stumps::after { animation: bowled 1.6s 1.05s ease forwards; }

@keyframes bowl {
  0% { left: -3%; transform: translateY(-260%) rotate(0); opacity: 1; }
  50% { transform: translateY(-50%) rotate(380deg); }       /* pitches */
  100% { left: calc(91% - 44px); transform: translateY(-140%) rotate(820deg); opacity: 1; }
}
@keyframes knock { to { transform: rotate(16deg); } }
@keyframes knock2 { to { transform: rotate(7deg); } }
@keyframes bail1 { to { transform: translate(-34px, -58px) rotate(-260deg); opacity: 0; } }
@keyframes bail2 { to { transform: translate(40px, -66px) rotate(300deg); opacity: 0; } }
@keyframes bowled {
  0% { opacity: 0; transform: translate(-50%, 6px) scale(.6); }
  20% { opacity: 1; transform: translate(-50%, 0) scale(1.1); }
  80% { opacity: 1; transform: translate(-50%, -4px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -10px) scale(1); }
}

/* ============================================================
   PITCH DIVIDER — two batsmen run two
   ============================================================ */
.pitchline--runs { height: 150px; }
.pitchline--runs .pitchline__strip { top: 74%; }
.crease--l2 { left: 11%; }
.crease--r2 { right: 11%; }
.pitchline--runs .stumps { bottom: calc(26% + 4px); }
.stumps--l { left: 5%; right: auto; }
.stumps--r { right: 5%; }
.runner { position: absolute; width: 58px; height: 84px; }
.runner svg { width: 100%; height: 100%; overflow: visible; }
.runner--a { left: 9%; bottom: calc(26% + 2px); z-index: 2; }
.runner--b { left: calc(89% - 58px); bottom: calc(26% + 12px); transform: scaleX(-1) scale(.9); z-index: 1; }
.runner .leg { transform-box: view-box; }
.runner .leg--front { transform-origin: 22px 36px; }
.runner .leg--back { transform-origin: 19px 36px; }
.runner .bob { transform-box: view-box; }

.pitchline--runs.in .runner--a { animation: runA 3.4s ease-in-out forwards; }
.pitchline--runs.in .runner--b { animation: runB 3.4s ease-in-out forwards; }
.pitchline--runs.in .leg--front { animation: stride .26s ease-in-out 13 alternate; }
.pitchline--runs.in .leg--back { animation: stride .26s ease-in-out 13 alternate-reverse; }
.pitchline--runs.in .bob { animation: bob .13s ease-in-out 26 alternate; }

@keyframes runA {
  0% { left: 9%; transform: scaleX(1); }
  46% { left: calc(89% - 58px); transform: scaleX(1); }
  54% { left: calc(89% - 58px); transform: scaleX(-1); }
  100% { left: 9%; transform: scaleX(-1); }
}
@keyframes runB {
  0% { left: calc(89% - 58px); transform: scaleX(-1) scale(.9); }
  46% { left: 9%; transform: scaleX(-1) scale(.9); }
  54% { left: 9%; transform: scaleX(1) scale(.9); }
  100% { left: calc(89% - 58px); transform: scaleX(1) scale(.9); }
}
@keyframes stride { from { transform: rotate(26deg); } to { transform: rotate(-26deg); } }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-1.6px); } }

.runs-pop {
  position: absolute; left: 50%; top: 2px;
  font: 400 1.25rem/1 "Anton", sans-serif; letter-spacing: .06em; color: var(--tiger);
  opacity: 0; transform: translate(-50%, 8px) scale(.6); white-space: nowrap;
}
.runs-pop--2 { color: var(--purple); font-size: 1.4rem; }
.pitchline--runs.in .runs-pop--1 { animation: popRun 1s 1.45s ease forwards; }
.pitchline--runs.in .runs-pop--2 { animation: popRun2 1.8s 3.3s ease forwards; }
@keyframes popRun {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(.6); }
  25% { opacity: 1; transform: translate(-50%, 0) scale(1.1); }
  70% { opacity: 1; transform: translate(-50%, -4px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -10px) scale(1); }
}
@keyframes popRun2 {
  0% { opacity: 0; transform: translate(-50%, 8px) scale(.6); }
  20% { opacity: 1; transform: translate(-50%, 0) scale(1.12); }
  85% { opacity: 1; transform: translate(-50%, -2px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -8px) scale(1); }
}

/* ============================================================
   SEASON
   ============================================================ */
.season { background: linear-gradient(180deg, #f4f0fc, var(--paper)); }
.season__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.card {
  background: var(--card); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.card__title { color: var(--purple); font-size: 1.5rem; margin-bottom: 18px; }

.livescore {
  position: relative; overflow: hidden; border: 0; color: #fff;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 38px, transparent 38px 76px),
    linear-gradient(160deg, #1d5a2c, #0f3a1b);
}
.livescore::after {
  content: ""; position: absolute; right: -40px; bottom: -40px; width: 160px; height: 160px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.12);
}
.livescore__head { display: flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: .12em; font-size: .78rem; color: var(--gold); }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: #ff4d4d; animation: pulse 1.6s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(255,77,77,.6);} 70%{box-shadow:0 0 0 10px rgba(255,77,77,0);} 100%{box-shadow:0 0 0 0 rgba(255,77,77,0);} }
.livescore__body { margin-top: 16px; position: relative; z-index: 1; }
.livescore__body .ls-match { font-size: 1.2rem; font-weight: 700; }
.livescore__body .ls-score { font: 700 1.9rem/1.15 "Oswald", sans-serif; color: var(--led); margin-top: 8px; text-shadow: 0 0 14px rgba(255,216,74,.4); }
.livescore__note { margin-top: 16px; font-size: .78rem; color: rgba(255,255,255,.65); position: relative; z-index: 1; }

.results { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.results li { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.results li:last-child { border-bottom: 0; }
.res-badge { flex: none; font-weight: 800; font-size: .72rem; padding: 4px 10px; border-radius: 999px; }
.res-badge.won { background: #e4f8ec; color: #15803d; }
.res-badge.lost { background: #fde8e8; color: #b91c1c; }
.res-badge.tie { background: #fef3d6; color: #a16207; }
.res-main b { display: block; color: var(--text); }
.res-main span { font-size: .85rem; color: var(--muted); }
.res-date { margin-left: auto; font-size: .78rem; color: var(--muted); white-space: nowrap; }

.form-guide { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.form-guide i {
  font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font-size: .72rem; color: #fff;
}
.form-guide i.w { background: #16a34a; }
.form-guide i.l { background: #dc2626; }
.form-guide i.t { background: #ca8a04; }

/* ============================================================
   SQUAD
   ============================================================ */
.squad__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; perspective: 900px; }
.player {
  position: relative; background: var(--card); border-radius: var(--radius);
  border: 1px solid var(--line); padding: 26px 18px 22px; text-align: center;
  overflow: hidden; transition: transform .25s ease, box-shadow .25s ease;
  transform-style: preserve-3d;
}
.player::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 5px;
  background: linear-gradient(90deg, var(--purple), var(--tiger), var(--gold));
}
/* a ball rolls along the bottom on hover */
.player__roll { position: absolute; left: -24px; bottom: 8px; width: 16px; height: 16px; opacity: 0; }
.player:hover { box-shadow: var(--shadow); }
.player:hover .player__roll { animation: roll 1.1s ease-out forwards; }
@keyframes roll { 0% { left: -24px; opacity: 1; transform: rotate(0); } 100% { left: calc(100% + 8px); opacity: 1; transform: rotate(720deg); } }
.player__avatar {
  width: 68px; height: 68px; margin: 6px auto 14px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: "Anton", sans-serif; font-size: 1.6rem; color: #fff;
  background: linear-gradient(135deg, var(--purple-light), var(--purple));
  box-shadow: 0 0 0 4px #f1ebfb;
}
.player__name { font-weight: 700; font-size: 1.05rem; }
.player__role { font-size: .82rem; color: var(--muted); margin-top: 3px; }
.player__tag {
  display: inline-block; margin-top: 10px; font-size: .68rem; font-weight: 800;
  letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  background: var(--gold); color: var(--ink);
}
.player__tag.vc { background: var(--purple); color: #fff; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.gallery__item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__cap {
  position: absolute; inset: auto 0 0 0; padding: 26px 16px 14px;
  background: linear-gradient(transparent, rgba(18,12,29,.85));
  color: #fff; font-size: .9rem; font-weight: 600;
  transform: translateY(100%); transition: transform .3s ease;
}
.gallery__item:hover .gallery__cap { transform: translateY(0); }

/* ============================================================
   ALUMNI + THANKS
   ============================================================ */
.alumni { background: linear-gradient(180deg, #f4f0fc, var(--paper)); }
.alumni__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.alum {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 12px; text-align: center; transition: transform .2s;
}
.alum:hover { transform: translateY(-4px); }
.alum__badge {
  width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 50%;
  display: grid; place-items: center; font-family: "Anton", sans-serif; color: var(--purple);
  background: linear-gradient(135deg, var(--gold), #fff3c4); font-size: 1.3rem;
}
.alum__name { font-weight: 600; font-size: .95rem; }

.thanks__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.thank {
  background: linear-gradient(160deg, var(--ink-2), var(--purple-deep));
  color: #fff; border-radius: var(--radius-lg); padding: 30px; text-align: center;
}
.thank__name { font-family: "Anton", sans-serif; font-size: 1.5rem; color: var(--gold); }
.thank__note { color: #cfc5e6; font-size: .92rem; margin-top: 6px; }

.sponsors { margin-top: 60px; text-align: center; }
.sponsors__label { color: var(--muted); font-weight: 800; letter-spacing: .16em; text-transform: uppercase; font-size: .78rem; margin-bottom: 20px; }
.sponsors__grid { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.sponsor {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; width: 260px; box-shadow: var(--shadow);
}
.sponsor img { border-radius: 10px; width: 100%; height: 150px; object-fit: cover; }
.sponsor b { display: block; margin-top: 12px; color: var(--purple); }
.sponsor span { font-size: .85rem; color: var(--muted); }

/* ============================================================
   DONATE — under the floodlights
   ============================================================ */
.donate { position: relative; background: radial-gradient(120% 90% at 50% 0%, #3b1870, var(--ink) 75%); color: #fff; overflow: hidden; }
.donate__beams span {
  position: absolute; top: -6%; width: 46%; height: 120%;
  background: linear-gradient(180deg, rgba(255,246,214,.22), rgba(255,246,214,.04) 60%, transparent);
  transform-origin: top center;
  animation: sweep 8s ease-in-out infinite alternate;
  pointer-events: none;
}
.donate__beams span:nth-child(1) { left: -6%; clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); }
.donate__beams span:nth-child(2) { right: -6%; clip-path: polygon(40% 0, 60% 0, 100% 100%, 0 100%); animation-delay: -4s; animation-direction: alternate-reverse; }
@keyframes sweep { from { transform: rotate(-14deg); } to { transform: rotate(10deg); } }

.donate__inner { position: relative; text-align: center; }
.donate__inner h2 { font-size: clamp(2.2rem, 6vw, 3.6rem); color: var(--gold); }
.donate__body { margin: 18px auto 40px; color: #e9e2f7; font-size: 1.1rem; max-width: 640px; }

.tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; text-align: center; }
.tier {
  position: relative; cursor: pointer;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 26px 16px 22px; color: #fff;
  font: inherit;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tier:hover { transform: translateY(-6px); background: rgba(255,255,255,.1); }
.tier.is-picked { border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold), 0 20px 40px -18px rgba(253,208,35,.6); }
.tier--featured { background: linear-gradient(180deg, rgba(253,208,35,.16), rgba(255,255,255,.05)); border-color: rgba(253,208,35,.55); }
.tier__ribbon {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--ink); font-size: .66rem; font-weight: 800; letter-spacing: .12em;
  padding: 5px 12px; border-radius: 999px; white-space: nowrap;
}
.tier__runs { display: flex; justify-content: center; gap: 4px; margin-bottom: 14px; }
.tier__runs .sb__d { width: 40px; font-size: 2rem; }
.tier__name { font: 700 .95rem/1.2 "Oswald", sans-serif; letter-spacing: .14em; text-transform: uppercase; color: #e9e2c6; }
.tier__amt { font-family: "Anton", sans-serif; font-size: 2.2rem; color: var(--gold); margin: 6px 0 4px; }
.tier__funds { font-size: .86rem; color: #cfc5e6; }
.tiers__picked { min-height: 1.6em; margin: 22px 0 10px; font-weight: 700; color: var(--gold); }

.donate__methods { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 8px; }
.donate__method {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 18px 24px; min-width: 190px;
}
.donate__method b { display: block; color: var(--gold); font-size: 1.05rem; }
.donate__method span { font-size: .92rem; word-break: break-word; }

/* ============================================================
   JOIN / CONTACT
   ============================================================ */
.join__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.join__grid h2 { color: var(--purple); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 10px 0 14px; }
.join__contact { margin-top: 20px; display: flex; gap: 22px; flex-wrap: wrap; }
.join__contact a { color: var(--purple-light); font-weight: 700; }
.join__form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.join__form label { display: flex; flex-direction: column; gap: 6px; font-weight: 600; font-size: .9rem; color: var(--text); }
.join__form input, .join__form select, .join__form textarea {
  font: inherit; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px; background: #fcfbff;
}
.join__form input:focus, .join__form select:focus, .join__form textarea:focus { outline: 2px solid var(--purple-light); border-color: transparent; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: #cbbfe3; padding: 48px 0 28px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__brand .brand__text { font-size: 1.5rem; color: #fff; }
.footer__brand p { font-size: .9rem; margin-top: 6px; max-width: 320px; }
.footer__nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__nav a { font-weight: 600; opacity: .85; }
.footer__nav a:hover { color: var(--gold); opacity: 1; }
.footer__copy { text-align: center; margin-top: 30px; font-size: .82rem; opacity: .6; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .about__grid, .season__grid, .join__grid { grid-template-columns: 1fr; gap: 36px; }
  .squad__grid, .gallery__grid { grid-template-columns: repeat(3, 1fr); }
  .alumni__grid { grid-template-columns: repeat(3, 1fr); }
  .thanks__grid { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; }
  .about__badge { left: 0; }
  .nav__links { gap: 18px; }
}

@media (max-width: 760px) {
  .nav__links {
    position: fixed; inset: var(--nav-h) 0 auto 0;
    flex-direction: column; gap: 4px; align-items: stretch;
    background: rgba(18,12,29,.97); backdrop-filter: blur(10px);
    padding: 16px 22px 24px; transform: translateY(-120%); transition: transform .3s ease;
  }
  .nav__links.open { transform: none; }
  .nav__links > a:not(.btn-ball) { padding: 12px 6px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav__links .btn-ball { margin-top: 12px; align-self: flex-start; }
  .nav { background: rgba(18,12,29,.92); backdrop-filter: blur(10px); }
  .nav__toggle { display: flex; }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(4,28,40,.35) 0%, rgba(8,44,24,.42) 45%, rgba(6,26,16,.85) 100%);
  }
  .hero__cta { gap: 16px; }
  .board__grid { grid-template-columns: repeat(2, 1fr); gap: 22px 12px; }
  .board__head { font-size: .66rem; letter-spacing: .16em; }
  .squad__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery__item:first-child { grid-column: span 2; grid-row: span 1; }
  .alumni__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { flex-direction: column; text-align: center; }
}

@media (max-width: 420px) {
  .tiers { grid-template-columns: 1fr 1fr; gap: 20px 10px; }
  .tier { padding: 22px 10px 18px; }
  .tier__runs .sb__d { width: 30px; font-size: 1.5rem; }
  .tier__amt { font-size: 1.8rem; }
  .btn-bat__blade { padding: 0 30px 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .pitchline__ball { opacity: 1; left: calc(91% - 44px); transform: translateY(-140%); }
}
