:root {
	--royal: #082595;
	--royal-2: #1438c8;
	--navy: #061a5c;
	--ink: #0d1530;
	--red: #e3262f;
	--red-2: #c11c24;
	--turf: #16a34a;
	--sky: #eaf0ff;
	--bg: #f6f8fc;
	--card: #ffffff;
	--line: #e3e8f2;
	--muted: #5d6783;
	--radius: 18px;
	--shadow: 0 1px 2px rgba(13, 21, 48, .05), 0 10px 30px rgba(13, 21, 48, .07);
	--display: 'Poppins', system-ui, sans-serif;
	--body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 16px/1.55 var(--body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--royal-2); }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0; letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.kicker { font: 700 .76rem/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: #ffd5d7; margin-bottom: .8rem; }
.kicker.dark { color: var(--red); }
.pill { display: inline-block; padding: .25rem .6rem; border-radius: 999px; background: var(--red); color: #fff; font: 700 .7rem var(--display); letter-spacing: .04em; vertical-align: middle; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; padding: .85rem 1.35rem; border-radius: 12px; font: 700 .95rem/1 var(--display); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-sm { padding: .6rem .95rem; font-size: .85rem; border-radius: 10px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(227, 38, 47, .28); }
.btn-red:hover { background: var(--red-2); }
.btn-blue { background: var(--royal); color: #fff; }
.btn-blue:hover { background: var(--royal-2); }
.btn-line { border-color: var(--royal); color: var(--royal); background: transparent; }
.btn-line:hover { background: var(--royal); color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .25); backdrop-filter: blur(6px); }
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.cta-row { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }

/* Header */
.top { position: sticky; top: 0; z-index: 40; background: rgba(8, 37, 149, .96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.top-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font: 800 1.15rem/1 var(--display); letter-spacing: -.02em; }
.brand img { width: 52px; height: auto; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.brand small { display: block; font: 600 .7rem/1.3 var(--display); letter-spacing: .2em; text-transform: uppercase; color: #ffd5d7; }
.top-nav { display: flex; align-items: center; gap: 1.4rem; }
.top-nav > a:not(.btn) { color: rgba(255, 255, 255, .85); text-decoration: none; font: 600 .92rem var(--display); }
.top-nav > a:not(.btn):hover, .top-nav > a.on { color: #fff; }
.fac-switch { background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font: 600 .85rem var(--display); padding: .45rem .8rem; border-radius: 999px; cursor: pointer; }
.fac-switch:hover { background: rgba(255, 255, 255, .2); }

/* Home hero */
.hero { position: relative; min-height: min(78svh, 720px); display: flex; align-items: center; color: #fff; background: var(--navy); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 26, 92, .95) 0%, rgba(8, 37, 149, .78) 42%, rgba(8, 37, 149, .15) 75%), linear-gradient(0deg, rgba(6, 26, 92, .5), transparent 40%); }
.hero-body { position: relative; padding: 72px 0 96px; }
.hero h1 { font: italic 800 clamp(3.4rem, 10vw, 7.5rem)/.9 var(--display); letter-spacing: -.04em; }
.hero h1 span { color: var(--red); text-shadow: 0 4px 30px rgba(227, 38, 47, .35); }
.lede { max-width: 32rem; margin-top: 1.2rem; font-size: 1.15rem; color: rgba(255, 255, 255, .88); }
.finder { margin-top: 2rem; max-width: 30rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); border-radius: 18px; padding: 1.1rem; backdrop-filter: blur(10px); }
.finder label { display: block; font: 700 .85rem var(--display); margin-bottom: .6rem; }
.finder-row { display: flex; gap: .5rem; }
.finder input { flex: 1; min-width: 0; padding: .85rem 1rem; border-radius: 12px; border: 0; font: 500 1rem var(--body); color: var(--ink); }
.finder input:focus { outline: 3px solid rgba(227, 38, 47, .45); }
.near { margin-top: .7rem; background: none; border: 0; color: rgba(255, 255, 255, .85); font: 600 .85rem var(--body); cursor: pointer; padding: 0; }
.near:hover { color: #fff; text-decoration: underline; }

/* Stats */
.stats { position: relative; z-index: 2; margin-top: -48px; display: grid; grid-template-columns: repeat(4, 1fr); background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stats div { padding: 1.4rem 1.5rem; border-right: 1px solid var(--line); }
.stats div:last-child { border-right: 0; }
.stats strong { display: block; font: 800 clamp(1.6rem, 3vw, 2.2rem)/1 var(--display); color: var(--royal); letter-spacing: -.03em; }
.stats span { font-size: .85rem; color: var(--muted); }

/* Sections */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.head { margin-bottom: 2rem; }
.band { background: #fff; }

/* Facility list */
.fac-group + .fac-group { margin-top: 2rem; }
.fac-group h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
.fac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: .8rem; }
.fac { position: relative; display: flex; flex-direction: column; gap: .25rem; padding: 1.15rem 1.25rem; border-radius: 14px; background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform .15s, border-color .15s, box-shadow .15s; }
.fac:hover { transform: translateY(-2px); border-color: var(--royal-2); box-shadow: var(--shadow); }
.fac strong { font: 700 1.15rem var(--display); }
.fac strong span { font-weight: 600; color: var(--muted); margin-left: .4rem; font-size: .9rem; }
.fac small { color: var(--muted); }
.fac-meta { margin-top: .4rem; font: 600 .78rem var(--body); color: var(--royal-2); }
.fac .pill { position: absolute; top: -.55rem; right: .9rem; }
.fac.soon { background: transparent; border-style: dashed; }
.fac.soon:hover { transform: none; box-shadow: none; border-color: var(--line); }
.pill.gray { background: var(--muted); }

/* How it works */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.steps { counter-reset: s; list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1rem; }
.steps li { counter-increment: s; position: relative; padding-left: 3.1rem; color: var(--muted); }
.steps li strong { color: var(--ink); }
.steps li::before { content: counter(s); position: absolute; left: 0; top: -.15rem; width: 2.1rem; height: 2.1rem; display: grid; place-items: center; border-radius: 10px; background: var(--sky); color: var(--royal); font: 800 .95rem var(--display); }

/* CTA cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding-bottom: clamp(56px, 8vw, 96px); }
.card-cta { position: relative; min-height: 260px; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none; display: flex; align-items: flex-end; background: var(--navy); }
.card-cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card-cta:hover img { transform: scale(1.05); }
.card-cta::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 26, 92, .95), rgba(6, 26, 92, .1) 70%); }
.card-cta div { position: relative; z-index: 1; padding: 1.4rem; display: grid; gap: .3rem; }
.card-cta strong { font: 800 1.3rem var(--display); }
.card-cta span { color: rgba(255, 255, 255, .85); font-size: .92rem; }

/* Facility page */
.fac-hero { background: linear-gradient(120deg, var(--navy), var(--royal) 60%, #2348e0); color: #fff; padding-top: 1.6rem; position: relative; overflow: hidden; }
.fac-hero::before { content: ''; position: absolute; right: -80px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(227, 38, 47, .35), transparent 65%); }
.fac-hero .wrap { position: relative; }
.back { color: rgba(255, 255, 255, .8); text-decoration: none; font: 600 .88rem var(--display); }
.back:hover { color: #fff; }
.back.dark { color: var(--royal-2); display: inline-block; margin-bottom: 1rem; }
.fac-hero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin: 1.2rem 0 1.6rem; }
.fac-hero h1 { font: 800 clamp(2.4rem, 6vw, 4rem)/1 var(--display); letter-spacing: -.03em; }
.fac-addr { margin-top: .6rem; color: rgba(255, 255, 255, .8); }
.fac-addr a { color: #fff; }
.fac-actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.tabs { display: flex; gap: .3rem; overflow-x: auto; scrollbar-width: none; }
.tabs a { padding: .9rem 1.2rem; color: rgba(255, 255, 255, .75); text-decoration: none; font: 700 .95rem var(--display); border-radius: 12px 12px 0 0; white-space: nowrap; }
.tabs a:hover { color: #fff; }
.tabs a.on { background: var(--bg); color: var(--royal); }
.fac-body { padding: 2rem 0 4rem; min-height: 50vh; }
.loading { padding: 3rem 0; text-align: center; color: var(--muted); }
.empty { padding: 2.5rem; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); display: grid; gap: .6rem; justify-items: start; }

/* Day picker */
.day-bar { display: flex; align-items: center; gap: .5rem; background: var(--card); border-radius: 16px; padding: .5rem; box-shadow: var(--shadow); }
.day-step { width: 40px; height: 52px; display: grid; place-items: center; border-radius: 10px; text-decoration: none; font: 700 1.5rem var(--display); color: var(--royal); flex: none; }
.day-step:hover { background: var(--sky); }
.day-step.off { opacity: .25; pointer-events: none; }
.day-strip { flex: 1; display: flex; gap: .35rem; overflow-x: auto; scrollbar-width: none; justify-content: center; }
.day-strip a { flex: 1 0 64px; max-width: 110px; padding: .45rem .3rem; text-align: center; border-radius: 10px; text-decoration: none; color: var(--ink); display: grid; }
.day-strip a small { font: 600 .72rem var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.day-strip a b { font: 800 1.3rem/1.1 var(--display); }
.day-strip a:hover { background: var(--sky); }
.day-strip a.today small { color: var(--red); }
.day-strip a.on { background: var(--royal); color: #fff; }
.day-strip a.on small { color: rgba(255, 255, 255, .75); }
.day-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin: 1.8rem 0 1rem; }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.chips button { border: 1px solid var(--line); background: var(--card); padding: .45rem .9rem; border-radius: 999px; font: 600 .85rem var(--display); color: var(--ink); cursor: pointer; }
.chips button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Games */
.games { list-style: none; margin: 0 0 1.2rem; padding: 0; display: grid; gap: .45rem; }
.game { display: grid; grid-template-columns: 110px 1fr 170px; align-items: center; gap: 1rem; padding: .8rem 1.1rem; background: var(--card); border-radius: 14px; border: 1px solid var(--line); }
.g-time { display: grid; line-height: 1.25; }
.g-time em { font: 600 .74rem var(--display); font-style: normal; text-transform: uppercase; letter-spacing: .05em; color: var(--red); }
.g-time strong { font: 700 1rem var(--display); }
.g-time span { font-size: .78rem; color: var(--muted); }
.g-match { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .9rem; font-weight: 600; }
.g-match .home { text-align: right; }
.game > *, .g-match > * { min-width: 0; }
.g-match .t { overflow-wrap: break-word; }
.games.compact .g-match { font-size: .9rem; gap: .6rem; }
.t.win { color: var(--royal); font-weight: 800; }
.t.me { background: #fff4c7; border-radius: 6px; padding: .1rem .4rem; box-shadow: inset 0 -2px 0 #ffd84d; }
.g-match .home.me { justify-self: end; }
.g-match .away.me { justify-self: start; }
.vs { font: 700 .72rem var(--display); color: var(--muted); text-transform: uppercase; }
.score { font: 800 1.05rem var(--display); background: var(--ink); color: #fff; padding: .25rem .6rem; border-radius: 8px; white-space: nowrap; }
.score i { font-style: normal; opacity: .5; margin: 0 .2rem; }
.g-div { justify-self: end; font: 600 .78rem var(--display); color: var(--royal-2); background: var(--sky); padding: .3rem .65rem; border-radius: 999px; text-decoration: none; text-align: center; }
.g-div:hover { background: var(--royal); color: #fff; }
.games.compact .game { grid-template-columns: 1fr; gap: .45rem; padding: .7rem .95rem; }
.games.compact .g-time { grid-auto-flow: column; justify-content: start; align-items: baseline; gap: .6rem; }

/* Standings */
.standings-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; align-items: start; }
.div-picker { position: sticky; top: 90px; max-height: calc(100vh - 110px); overflow: auto; background: var(--card); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); }
.div-picker select { display: none; width: 100%; padding: .8rem; border-radius: 12px; border: 1px solid var(--line); font: 600 1rem var(--display); background: var(--card); }
.div-list h4 { font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 1rem .5rem .4rem; }
.div-list div:first-child h4 { margin-top: .2rem; }
.div-list a { display: block; padding: .45rem .6rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .9rem; }
.div-list a:hover { background: var(--sky); }
.div-list a.on { background: var(--royal); color: #fff; font-weight: 600; }
.div-main { min-width: 0; }
.div-games > div { min-width: 0; }
.div-title { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.2rem; }
.table-wrap { overflow-x: auto; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table th { font: 700 .72rem var(--display); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: .9rem .5rem; border-bottom: 2px solid var(--line); text-align: center; }
.table td { padding: .75rem .5rem; border-bottom: 1px solid var(--line); text-align: center; }
.table tr:last-child td { border-bottom: 0; }
.table .l { text-align: left; }
.table td.l a { color: var(--ink); font-weight: 600; text-decoration: none; }
.table td.l a:hover { color: var(--royal-2); text-decoration: underline; }
.pos { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--bg); font: 800 .8rem var(--display); }
.pos.p1 { background: #ffd84d; }
.pos.p2 { background: #e3e8f2; }
.pos.p3 { background: #f6d2b5; }
.how-points { margin: .8rem 0 0; font-size: .88rem; color: var(--muted); }
.how-points summary { cursor: pointer; font-weight: 600; color: var(--royal-2); }
.how-points p { margin-top: .4rem; }
.div-games { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.div-games h3 { margin-bottom: .7rem; }

/* Team */
.team-search { max-width: 760px; }
.team-search input { width: 100%; margin: 1.2rem 0 1rem; padding: 1rem 1.2rem; border-radius: 14px; border: 2px solid var(--line); font: 500 1.05rem var(--body); background: var(--card); }
.team-search input:focus { outline: none; border-color: var(--royal-2); }
.team-hits { display: flex; flex-wrap: wrap; gap: .45rem; }
.team-hits a { padding: .5rem .85rem; background: var(--card); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font: 600 .88rem var(--display); }
.team-hits a:hover { border-color: var(--royal-2); color: var(--royal-2); }
.team-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.record { margin-top: .5rem; color: var(--muted); }
.record b { color: var(--ink); font-family: var(--display); font-size: 1.1rem; margin-left: .3rem; }
.next-game { background: var(--royal); color: #fff; border-radius: 16px; padding: 1rem 1.3rem; display: grid; gap: .15rem; min-width: 240px; }
.next-game small { font: 700 .7rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: #ffd5d7; }
.next-game strong { font: 700 1.15rem var(--display); }
.next-game span { color: rgba(255, 255, 255, .85); font-size: .92rem; }
.cta-band { margin-top: 2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 1.6rem; background: var(--navy); color: #fff; border-radius: var(--radius); }
.cta-band strong { display: block; font: 700 1.15rem var(--display); }
.cta-band span { color: rgba(255, 255, 255, .78); font-size: .92rem; }

/* Info */
.info-grid { display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 1rem; }
.info-card { background: var(--card); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); display: grid; gap: .8rem; align-content: start; }
.info-card a { text-decoration: none; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.2rem; margin: 0; font-size: .92rem; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; color: var(--muted); }
.contact { display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; margin: 0; font-size: .92rem; }
.contact dt { font: 600 .72rem/1.9 var(--display); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; gap: .4rem; }
.socials a { padding: .35rem .75rem; border-radius: 999px; background: var(--sky); font: 600 .8rem var(--display); }
.map { border-radius: var(--radius); overflow: hidden; min-height: 340px; box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; display: block; }

/* Footer */
.foot { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 2.2rem 0; }
.foot-inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.5rem; align-items: center; }
.foot-inner > div { display: flex; align-items: center; gap: .8rem; }
.foot a { color: #fff; font-weight: 600; }

/* Responsive */
@media (max-width: 980px) {
	.standings-layout { grid-template-columns: 1fr; }
	.div-picker { position: static; max-height: none; padding: 0; background: none; box-shadow: none; }
	.div-picker select { display: block; }
	.div-list { display: none; }
	.info-grid { grid-template-columns: 1fr 1fr; }
	.map { grid-column: 1 / -1; }
	.split { grid-template-columns: 1fr; }
	.cards { grid-template-columns: 1fr; }
	.card-cta { min-height: 200px; }
	.foot-inner { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
	.top-nav > a:not(.btn) { display: none; }
	.fac-switch { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
	.top-nav .btn { padding: .55rem .8rem; font-size: .8rem; }
	.brand span { display: none; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stats div:nth-child(2) { border-right: 0; }
	.stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.game { grid-template-columns: 1fr; gap: .5rem; }
	.g-time { grid-auto-flow: column; justify-content: start; gap: .6rem; align-items: baseline; }
	.g-div { justify-self: start; }
	.games.compact .game { grid-template-columns: 1fr; }
	.div-games { grid-template-columns: 1fr; }
	.info-grid { grid-template-columns: 1fr; }
	.fac-actions .btn { flex: 1; }
	.day-strip { justify-content: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	* { transition: none !important; }
}
