/* gamefilmlive.com — colors pulled from the 21st Century Game Film Live logo */
:root{
  --navy:#0E1C47;      /* logo outline */
  --navy-2:#182C66;
  --yellow:#FFD31A;    /* "21st Century Game Film" lettering */
  --orange:#F27A1A;    /* "Live" script + sun */
  --turf:#2E8A3C;      /* field */
  --sky:#EEF5FB;       /* page */
  --ink:#0E1C47;
  --muted:#4A5878;
  --line:#D5DFEC;
  --white:#FFFFFF;
  --red:#E0332B;
  --display:'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --body:'Figtree', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{font-family:var(--body);background:var(--sky);color:var(--ink);line-height:1.6;font-size:1.0625rem}
img{display:block;max-width:100%;height:auto}
a{color:var(--navy-2)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--orange);outline-offset:2px}
.wrap{width:min(1120px,92vw);margin-inline:auto}

/* ---------- header ---------- */
.top{background:var(--navy);color:var(--white);position:sticky;top:0;z-index:20;border-bottom:4px solid var(--yellow)}
.top-in{display:flex;align-items:center;gap:1.5rem;padding:.6rem 0}
.brand{display:flex;align-items:center;gap:.7rem;text-decoration:none;color:var(--white)}
.brand img{width:52px;height:52px;border-radius:50%;border:2px solid var(--yellow)}
.brand span{font-family:var(--display);font-weight:800;font-size:1.05rem;line-height:1.05;letter-spacing:.01em}
.nav{display:flex;gap:1.6rem;margin-left:auto}
.nav a{color:#D9E2F5;text-decoration:none;font-weight:600;font-size:.98rem;padding:.3rem 0;border-bottom:2px solid transparent}
.nav a:hover{color:var(--white)}
.nav a[aria-current="page"]{color:var(--yellow);border-bottom-color:var(--yellow)}
.top-phone{color:var(--yellow);font-weight:700;text-decoration:none;white-space:nowrap}
.notice{background:var(--yellow);color:var(--navy);font-weight:600;padding:.7rem 0}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-family:var(--display);font-weight:800;font-size:1.25rem;letter-spacing:.02em;text-decoration:none;border-radius:999px;padding:.85rem 1.7rem;border:3px solid transparent;cursor:pointer;line-height:1.1;text-align:center}
.btn-live{background:var(--orange);color:var(--white);border-color:var(--orange)}
.btn-live:hover{background:#DD6A0C;border-color:#DD6A0C}
.btn-order{background:transparent;color:var(--white);border-color:var(--yellow)}
.btn-order:hover{background:var(--yellow);color:var(--navy)}
.btn-navy{background:var(--navy);color:var(--white)}
.btn-navy:hover{background:var(--navy-2)}
.btn-sm{font-size:1rem;padding:.5rem 1.1rem}

/* ---------- hero ---------- */
.hero{background:var(--navy);color:var(--white);overflow:hidden;position:relative}
.hero::after{content:"";position:absolute;left:0;right:0;bottom:0;height:56px;
  background:repeating-linear-gradient(90deg,var(--turf) 0 90px,#287A34 90px 180px);border-top:3px solid var(--white)}
.hero-in{display:grid;grid-template-columns:1.15fr .85fr;gap:2.5rem;align-items:center;padding:3.5rem 0 5.5rem;position:relative;z-index:1}
.hero h1{font-family:var(--display);font-weight:900;color:var(--yellow);font-size:clamp(2.8rem,6.2vw,5.2rem);line-height:.95;letter-spacing:.005em}
.hero p{color:#D9E2F5;font-size:1.15rem;max-width:34em;margin:1.2rem 0 1.8rem}
.hero-cta{display:flex;flex-wrap:wrap;gap:.9rem}
.hero-logo{justify-self:center;width:min(400px,100%);border-radius:50%;border:6px solid var(--yellow);box-shadow:0 0 0 6px var(--navy),0 0 0 10px var(--orange)}
.hero-logo img{border-radius:50%}

/* ---------- sections ---------- */
.sec{padding:3.5rem 0}
.sec h2{font-family:var(--display);font-weight:900;font-size:clamp(2rem,4vw,2.9rem);line-height:1;color:var(--navy);margin-bottom:.6rem}
.sec .lede{color:var(--muted);max-width:42em;margin-bottom:2rem}

/* ---------- scoreboard (game days) ---------- */
.board{background:#0A1433;border-radius:18px;padding:1.2rem;border:4px solid #26386F;box-shadow:inset 0 0 0 2px #050B1F}
.board-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.8rem}
.tile{background:#101D45;border-radius:10px;padding:1rem 1rem 1.1rem;color:#C9D4F2;border:2px solid #1D2E63;display:flex;flex-direction:column;gap:.35rem;text-decoration:none}
.tile .wd{font-family:var(--display);font-weight:800;font-size:1.05rem;color:#8FA2D6}
.tile .num{font-family:var(--display);font-weight:900;font-size:3.4rem;line-height:.9;color:var(--yellow);text-shadow:0 0 14px rgba(255,211,26,.35)}
.tile .num small{font-size:1.4rem;margin-right:.3rem;color:var(--orange);text-shadow:none}
.tile .what{color:var(--white);font-weight:600;font-size:.95rem;line-height:1.3}
.tile .st{margin-top:auto;padding-top:.5rem;font-size:.85rem;font-weight:700;color:#8FA2D6}
.tile.today{border-color:var(--orange);background:#16245A}
.tile.today .st{color:var(--white)}
.tile.done{opacity:.55}
.dot{display:inline-block;width:.6rem;height:.6rem;border-radius:50%;background:var(--red);margin-right:.4rem;vertical-align:.05em}
.tile.today .dot{animation:pulse 1.6s ease-in-out infinite}
@keyframes pulse{0%,100%{box-shadow:0 0 0 0 rgba(224,51,43,.7)}50%{box-shadow:0 0 0 7px rgba(224,51,43,0)}}
@media (prefers-reduced-motion:reduce){.tile.today .dot{animation:none}}

/* ---------- passes ---------- */
.passes{display:grid;grid-template-columns:1fr 1fr;gap:1.2rem}
.pass{background:var(--white);border:2px solid var(--line);border-radius:16px;padding:1.6rem 1.7rem;position:relative;overflow:hidden}
.pass::before{content:"";position:absolute;left:0;top:0;bottom:0;width:8px;background:var(--orange)}
.pass.best::before{background:var(--turf)}
.pass h3{font-family:var(--display);font-weight:800;font-size:1.6rem;line-height:1.05}
.pass .price{font-family:var(--display);font-weight:900;font-size:3.6rem;line-height:1;color:var(--navy);margin:.4rem 0 .5rem}
.pass p{color:var(--muted)}
.pass p b{color:var(--ink)}
.giveback{display:flex;align-items:center;gap:1rem;margin-top:1.4rem;background:var(--white);border-radius:14px;padding:1rem 1.2rem;border:2px dashed var(--line)}
.giveback img{width:56px;flex:none}

/* ---------- rules / callouts ---------- */
.rule{background:#FFF6D6;border:2px solid var(--yellow);border-radius:14px;padding:1.2rem 1.4rem;color:#3E3510}
.rule h3{font-family:var(--display);font-weight:800;font-size:1.4rem;color:var(--navy);margin-bottom:.3rem}
.rule p+p{margin-top:.5rem}

/* ---------- steps ---------- */
.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;counter-reset:s;list-style:none}
.steps li{background:var(--white);border:2px solid var(--line);border-radius:14px;padding:1.2rem 1.3rem;counter-increment:s}
.steps li::before{content:counter(s);display:grid;place-items:center;width:2.4rem;height:2.4rem;border-radius:50%;background:var(--navy);color:var(--yellow);font-family:var(--display);font-weight:900;font-size:1.4rem;margin-bottom:.6rem}
.steps b{display:block;font-size:1.05rem}
.steps span{color:var(--muted);font-size:.97rem}

/* ---------- live players ---------- */
.game{background:var(--white);border:2px solid var(--line);border-radius:18px;padding:1.4rem;margin-bottom:1.6rem}
.game.today{border-color:var(--orange);box-shadow:0 0 0 4px rgba(242,122,26,.15)}
.game-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap;margin-bottom:1rem}
.game-head h3{font-family:var(--display);font-weight:900;font-size:1.9rem;line-height:1}
.game-head .when{color:var(--muted);font-weight:600}
.chip{display:inline-flex;align-items:center;font-size:.85rem;font-weight:700;padding:.25rem .7rem;border-radius:999px;background:var(--sky);color:var(--navy)}
.chip.today{background:var(--red);color:var(--white)}
.chip.today .dot{background:var(--white)}
.player{position:relative;width:100%;aspect-ratio:16/9;background:#000;border-radius:12px;overflow:hidden}
.player > *{position:absolute;inset:0;width:100%!important;height:100%!important}
.player-wait{aspect-ratio:16/9;border-radius:12px;background:var(--navy);color:#D9E2F5;display:grid;place-items:center;text-align:center;padding:1.5rem}
.player-wait b{display:block;font-family:var(--display);font-weight:800;font-size:1.6rem;color:var(--yellow);margin-bottom:.3rem}
.game-note{color:var(--muted);font-size:.95rem;margin-top:.7rem}

/* ---------- orders ---------- */
.split{display:grid;grid-template-columns:1fr 1fr;gap:2.5rem;align-items:center}
.split img{border-radius:16px;border:4px solid var(--white);box-shadow:0 10px 30px -12px rgba(14,28,71,.4)}
.gets{list-style:none;display:grid;gap:.55rem;margin:1.2rem 0}
.gets li{padding-left:1.8rem;position:relative}
.gets li::before{content:"";position:absolute;left:0;top:.45em;width:1rem;height:.6rem;border-left:3px solid var(--turf);border-bottom:3px solid var(--turf);transform:rotate(-45deg)}
.products{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:1.2rem}
.product{background:var(--white);border:2px solid var(--line);border-radius:16px;padding:1.5rem;display:flex;flex-direction:column;gap:.5rem}
.product h3{font-family:var(--display);font-weight:800;font-size:1.5rem;line-height:1.05}
.product .price{font-family:var(--display);font-weight:900;font-size:2.4rem;color:var(--navy);line-height:1}
.product p{color:var(--muted)}
.product .buy{margin-top:auto;padding-top:.8rem}
.buy-wait{background:var(--sky);border-radius:10px;padding:.8rem 1rem;color:var(--muted);font-size:.95rem}

/* ---------- photo strip ---------- */
.photos{display:grid;grid-template-columns:2fr 2fr 1fr;gap:1rem}
.photos img{width:100%;height:240px;object-fit:cover;border-radius:14px}

/* ---------- footer ---------- */
.foot{background:var(--navy);color:#C9D4F2;margin-top:2rem;border-top:4px solid var(--yellow);font-size:.95rem}
.foot a{color:var(--yellow)}
.foot b{color:var(--white)}
.foot-in{display:flex;justify-content:space-between;gap:2rem;flex-wrap:wrap;padding:2rem 0 1rem}
.foot-links{display:flex;flex-direction:column;gap:.4rem}
.foot-copy{padding:0 0 1.6rem;color:#8FA2D6;font-size:.85rem}

/* ---------- admin ---------- */
.admin{padding:2.5rem 0}
.admin h1{font-family:var(--display);font-weight:900;font-size:2.6rem;line-height:1;margin-bottom:1rem}
.panel{background:var(--white);border:2px solid var(--line);border-radius:16px;padding:1.5rem 1.6rem;margin-bottom:1.6rem}
.panel h2{font-family:var(--display);font-weight:800;font-size:1.7rem;margin-bottom:.3rem}
.panel > p{color:var(--muted);margin-bottom:1rem;max-width:60em}
.field{margin-bottom:.9rem}
.field label{display:block;font-weight:700;font-size:.92rem;margin-bottom:.3rem}
.field input,.field textarea{width:100%;font:inherit;font-size:.98rem;padding:.6rem .75rem;border:2px solid var(--line);border-radius:8px;background:var(--white);color:var(--ink)}
.field textarea{min-height:90px;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:.85rem}
.field small{color:var(--muted);display:block;margin-top:.25rem}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.check{display:flex;align-items:center;gap:.5rem;font-weight:600;margin-bottom:.9rem}
.msg{border-radius:10px;padding:.8rem 1rem;margin-bottom:1rem;font-weight:600}
.msg.ok{background:#E3F4E6;color:#1D5E28}
.msg.err{background:#FDE5E3;color:#8C1D17}
.item{border:2px solid var(--line);border-radius:12px;margin-bottom:.8rem}
.item > summary{list-style:none;cursor:pointer;padding:.9rem 1.1rem;display:flex;gap:1rem;align-items:center;flex-wrap:wrap}
.item > summary::-webkit-details-marker{display:none}
.item > summary b{font-size:1.02rem}
.item > summary .meta{color:var(--muted);font-size:.9rem}
.item > summary .edit{margin-left:auto;color:var(--navy-2);font-weight:700;font-size:.9rem}
.item[open] > summary{border-bottom:2px solid var(--line)}
.item-body{padding:1.1rem}
.tag{font-size:.78rem;font-weight:700;padding:.15rem .55rem;border-radius:999px;background:var(--sky)}
.tag.ok{background:#E3F4E6;color:#1D5E28}
.tag.no{background:#FDE5E3;color:#8C1D17}
.inline{display:inline}
.btn-danger{background:var(--white);color:#B42318;border-color:#F2B8B2}
.btn-danger:hover{background:#FDE5E3}
.actions{display:flex;gap:.6rem;flex-wrap:wrap;align-items:center}
.login{max-width:420px;margin:3rem auto}

/* ---------- mobile page switcher (shown under 760px) ---------- */
.mnav{display:none;gap:.5rem;padding:.6rem 0;overflow-x:auto}
.mnav a{flex:none;background:var(--navy-2);color:var(--white);text-decoration:none;font-weight:600;font-size:.9rem;padding:.4rem .9rem;border-radius:999px}
.mnav a[aria-current="page"]{background:var(--yellow);color:var(--navy)}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .hero-in,.split{grid-template-columns:1fr}
  .hero-logo{width:min(280px,80%);order:-1}
  .hero-in{padding-top:2rem;text-align:center}
  .hero p{margin-inline:auto}
  .hero-cta{justify-content:center}
  .steps{grid-template-columns:1fr}
  .photos{grid-template-columns:1fr 1fr}
  .photos img:last-child{display:none}
}
@media (max-width:760px){
  .nav{display:none}
  .top-phone{margin-left:auto}
  .passes,.row2{grid-template-columns:1fr}
  .mnav{display:flex}
  .board-grid{grid-template-columns:repeat(2,1fr)}
  .tile .num{font-size:2.8rem}
}

/* ---------- live page: compact schedule ---------- */
.schedule{background:var(--white);border:2px solid var(--line);border-radius:16px;overflow:hidden}
.sched-row{display:flex;align-items:center;gap:1rem;padding:.9rem 1.2rem;border-top:1px solid var(--line);flex-wrap:wrap}
.sched-row:first-child{border-top:none}
.sched-date{font-family:var(--display);font-weight:800;font-size:1.35rem;min-width:7.5rem;color:var(--navy)}
.sched-title{flex:1;min-width:12rem;font-weight:600}
.sched-row.today{background:#FFF1E4}
.sched-row.done{color:var(--muted)}
.sched-row.done .sched-date{color:var(--muted)}
