/* Winter Springs Flag Football */
:root {
  --red: #e8192c;
  --black: #000;
  --white: #fff;
  --sans: "Geist", "Geist Fallback", system-ui, sans-serif;
  --serif: "Lora", "Lora Fallback", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; }
a { color: inherit; }

/* Fixed stadium-lights background (a fixed layer, not background-attachment, so it works on phones) */
.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  height: 100vh;
  height: 100dvh;
  background: url("/images/stadium.jpeg") center / cover no-repeat;
}
main, .footer { position: relative; z-index: 1; }

/* ---------- Top nav bar ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .3s, border-color .3s;
}
.site-header.scrolled, .site-header.open {
  background: var(--black);
  border-bottom-color: rgba(255, 255, 255, .1);
}
.nav {
  max-width: 80rem;
  height: 6rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .5rem;
  text-decoration: none;
  min-width: 0;
}
.brand-logo { height: 2.25rem; width: auto; flex-shrink: 0; }
.brand-name {
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: .05em;
}
.nav-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.nav-link {
  display: inline-block;
  padding: .25rem 0;
  border-bottom: 2px solid transparent;
  font-size: .875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .025em;
  text-decoration: none;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
}
.nav-link:hover { color: var(--red); border-color: var(--red); }
/* Current page: red underline */
.nav-link[aria-current="page"] { border-color: var(--red); }
.nav-cta {
  display: inline-block;
  background: var(--red);
  padding: .625rem 1rem;
  font-size: .8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity .15s;
}
.nav-cta:hover { opacity: .9; }

/* Phones + tablets (under 1024px): Registration button + ☰ menu in the bar */
.nav-mobile { display: none; align-items: center; gap: .75rem; flex-shrink: 0; }
.menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: .5rem;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-btn span { display: block; height: 2px; background: var(--white); border-radius: 1px; transition: transform .2s, opacity .2s; }
.site-header.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header.open .menu-btn span:nth-child(2) { opacity: 0; }
.site-header.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-mobile { display: flex; }
  .nav-links { display: none; }
  .site-header.open .nav-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    top: 6rem;
    left: 0;
    right: 0;
    padding: .5rem 1.5rem 1rem;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .site-header.open .nav-links li { border-bottom: 1px solid rgba(255, 255, 255, .05); }
  .site-header.open .nav-links li:last-child { border-bottom: 0; }
  .site-header.open .nav-link { display: block; padding: 1rem 0 1rem .75rem; font-size: 1rem; border: 0; border-left: 3px solid transparent; }
  .site-header.open .nav-link[aria-current="page"] { border-left-color: var(--red); color: var(--white); }
  .site-header.open .nav-links .nav-cta { display: block; margin: .75rem 0 0; padding: .875rem 1.25rem; text-align: center; font-size: 1rem; }
}

@media (max-width: 400px) {
  .nav { padding: 0 1rem; gap: .5rem; }
  .brand-name { font-size: .75rem; }
  .nav-mobile { gap: .25rem; }
  .nav-mobile .nav-cta { font-size: .75rem; padding: .625rem .75rem; }
}
@media (min-width: 640px) {
  .brand-name { font-size: 1rem; }
  .nav-cta { font-size: .875rem; padding: .625rem 1.25rem; }
}
@media (min-width: 1024px) {
  .nav { padding: 0 2.5rem; }
}
/* Narrower desktops: smaller links, and the name wraps onto two lines so everything fits */
@media (min-width: 1024px) and (max-width: 1279px) {
  .brand-name { font-size: .875rem; max-width: 10rem; }
  .nav-links { gap: 1rem; }
  .nav-link { font-size: .8125rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6rem 1.5rem;
}
.hero-fade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.25) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 48rem;
  margin: 6rem auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero-logo {
  width: 220px;
  height: auto;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, .6));
}
/* Dark rounded see-through box behind the headline + scripture */
.hero-panel {
  margin-top: 2.5rem;
  padding: 2rem 1.5rem;
  border-radius: .875rem;
  background: rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.hero h1 {
  margin: 0;
  font-family: var(--sans);
  font-size: 2.25rem;
  line-height: calc(2.5 / 2.25);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.025em;
  text-wrap: balance;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
}
.scripture {
  margin: 2rem 0 0;
  max-width: 42rem;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, .75);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .6);
}
.scripture cite {
  display: block;
  margin-top: 1rem;
  font-size: 1rem;
  line-height: 1.5;
  font-style: normal;
  letter-spacing: .025em;
  color: rgba(255, 255, 255, .7);
}
.btn-register {
  margin-top: 2rem;
  display: inline-block;
  background: var(--red);
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .1em;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(232, 25, 44, .35);
  transition: opacity .15s, transform .15s;
}
.btn-register:hover { opacity: .9; transform: translateY(-1px); }

@media (min-width: 640px) {
  .hero-logo { width: 260px; }
  .hero-panel { padding: 2rem 2.5rem; }
  .hero h1 { font-size: 3rem; line-height: 1; }
  .scripture { font-size: 1.25rem; }
  .scripture cite { font-size: 1.125rem; line-height: calc(1.75 / 1.125); }
  .btn-register { font-size: 1.25rem; padding: 1.25rem 3rem; }
}
@media (min-width: 1024px) {
  .hero h1 { font-size: 3.75rem; line-height: 1; }
}

/* ---------- Flyer ---------- */
.flyer { padding: 3rem 1.5rem 4rem; }
.flyer-link {
  display: block;
  max-width: 42rem;
  margin: 0 auto;
  transition: opacity .15s;
}
.flyer-link:hover { opacity: .9; }
.flyer-link img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, .1);
}
@media (min-width: 1024px) { .flyer { padding-left: 2.5rem; padding-right: 2.5rem; } }

/* ---------- Footer ---------- */
.footer {
  border-top: 2px solid var(--red);
  background: rgba(10, 15, 28, .8);
}
.footer p {
  margin: 0 auto;
  max-width: 80rem;
  padding: 1.5rem;
  text-align: center;
  font-size: .75rem;
  color: rgba(255, 255, 255, .4);
}

/* =====================================================================
   Inner pages
   ===================================================================== */
.page-main { position: relative; z-index: 1; min-height: 100vh; min-height: 100dvh; }

/* ---------- Schedule + Standings: stadium photo with navy wash ---------- */
body.page-live { background: #050C22; }
.lv-stage { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #050C22; }
.lv-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.lv-photo-overlay { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(5,12,34,0) 0%, rgba(5,12,34,0) 26%, rgba(5,12,34,.35) 72%, rgba(5,12,34,.8) 100%); }
.lv-tint { position: absolute; inset: 0; background: rgba(5, 12, 34, .45); }
.lv-content { padding-top: 6rem; }
.lv-wrap { max-width: 48rem; margin: 0 auto; padding: 1.5rem 1rem 6rem; }
.lv-wrap.wide { max-width: 64rem; }
.cond-title {
  margin: 0;
  font-family: "Barlow Condensed", var(--sans);
  font-weight: 700;
  font-style: italic;
  font-size: 2.25rem;
  line-height: 1;
  letter-spacing: .025em;
  text-transform: uppercase;
}
.lv-glass {
  position: relative;
  margin-top: 1.5rem;
  padding: 2.5rem 1.5rem;
  text-align: center;
  background: linear-gradient(160deg, rgba(27,95,191,.72), rgba(14,47,99,.72));
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .75);
  border-radius: 22px;
  overflow: hidden;
}
.lv-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 45%, rgba(217,21,43,.85) 46.5%, rgba(217,21,43,.85) 49.5%, transparent 51%);
  opacity: .45;
}
.lv-glass > * { position: relative; }
@media (min-width: 640px) {
  .cond-title { font-size: 3rem; }
  .lv-glass { padding: 3rem 2.5rem; }
}

/* ---------- Coach's Corner + Team Shop: black page, header block ---------- */
body.page-plain { background: var(--black); }
.page-header { border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 8rem 1.5rem 3rem; }
.page-section { padding: 3rem 1.5rem; }
.page-inner { max-width: 80rem; margin: 0 auto; }
.tag {
  display: inline-block;
  margin-bottom: 1rem;
  background: #1b6fbf;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.page-title {
  margin: 0;
  font-size: 2.25rem;
  line-height: 1.1;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.025em;
  text-wrap: balance;
}
.page-sub { margin: 1rem 0 0; font-size: 1.125rem; color: rgba(255, 255, 255, .6); }
.soon-card { border-left: 4px solid var(--red); background: #111; padding: 2rem; max-width: 42rem; }
@media (min-width: 640px) { .page-title { font-size: 3rem; line-height: 1; } }
@media (min-width: 1024px) {
  .page-header { padding-left: 2.5rem; padding-right: 2.5rem; }
  .page-section { padding-left: 2.5rem; padding-right: 2.5rem; }
  .page-title { font-size: 3.75rem; }
}

/* Shared "coming soon" text */
.soon-text { margin: 0; font-size: 1.25rem; font-weight: 700; line-height: 1.4; }
.soon-card .btn-register, .lv-glass .btn-register { margin-top: 1.5rem; }
