/* Home page */

.hero { position: relative; padding: 32px 0 8px; overflow: hidden; isolation: isolate; }
.hero::before {
	content: ""; position: absolute; z-index: -1; inset: -20% -10% auto auto; width: 80vw; max-width: 900px; aspect-ratio: 1;
	background: radial-gradient(closest-side, rgba(25, 230, 140, .16), transparent 70%);
	pointer-events: none;
}
.hero::after {
	content: ""; position: absolute; z-index: -1; inset: auto auto -30% -20%; width: 70vw; max-width: 760px; aspect-ratio: 1;
	background: radial-gradient(closest-side, rgba(245, 196, 81, .08), transparent 70%);
	pointer-events: none;
}
.hero__grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) {
	.hero { padding: 56px 0 16px; }
	.hero__grid { grid-template-columns: 1.15fr .85fr; gap: 48px; }
}
.hero__title { margin: 0 0 16px; font-size: var(--fs-hero); line-height: 1.25; letter-spacing: -.01em; max-width: 14ch; }
.hero__text { color: var(--text-2); font-size: var(--fs-lg); max-width: 52ch; margin-bottom: 24px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero__actions .btn { min-height: 50px; padding-inline: 24px; font-size: var(--fs-md); }

.hero__pitch { position: absolute; z-index: -1; inset: 0; width: 100%; height: 100%; color: rgba(25, 230, 140, .07); pointer-events: none;
	-webkit-mask-image: radial-gradient(80% 90% at 30% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(80% 90% at 30% 40%, #000 30%, transparent 80%); }
.hero__title { font-size: clamp(2.1rem, 1rem + 5vw, 4.25rem); line-height: 1.18; }

/* Odds ticker: the one moving thing on the page */
.ticker { position: relative; margin-top: 32px; border-block: 1px solid var(--line); background: rgba(0, 0, 0, .35); overflow: hidden;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__track { display: flex; width: max-content; animation: ba-ticker 45s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
@keyframes ba-ticker { to { transform: translateX(50%); } }
.ticker__list { display: flex; margin: 0; padding: 0; list-style: none; }
.ticker__list li { border-inline-start: 1px solid var(--line); }
.ticker__list a { display: flex; align-items: center; gap: 12px; height: 52px; padding: 0 22px; white-space: nowrap; font-size: var(--fs-sm); }
.ticker__list a:hover .ticker__teams { color: var(--green); }
.ticker__teams { font-weight: 700; }
.ticker__teams i { font-style: normal; color: var(--muted); margin: 0 2px; }
.ticker__time { color: var(--muted); font-size: var(--fs-xs); }
.ticker__odd { min-width: 52px; padding: 3px 10px; border-radius: 8px; background: var(--gold-soft); color: var(--gold); font-weight: 900; text-align: center; font-variant-numeric: tabular-nums; }
.ticker__live { padding: 1px 8px; border-radius: 6px; background: rgba(255, 77, 94, .14); color: var(--live); font-size: 11px; font-weight: 700; }
@media (prefers-reduced-motion: reduce) {
	.ticker { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.ticker__track { animation: none; }
	.ticker__list[aria-hidden] { display: none; }
}

/* Scoreboard */
.hero__board { position: relative; }
.hero__curve { position: absolute; inset: auto 4% -18px 4%; width: 92%; height: 64%; z-index: -1; opacity: .5; }
.hero__curve path { stroke-dasharray: 700; stroke-dashoffset: 700; animation: ba-draw 1.6s .2s var(--ease) forwards; }
@keyframes ba-draw { to { stroke-dashoffset: 0; } }
.board {
	display: flex; flex-direction: column; gap: 16px; padding: 20px;
	background: linear-gradient(160deg, rgba(25, 230, 140, .08), transparent 40%), var(--surface);
	border: 1px solid var(--line-2); border-radius: var(--r-xl);
	box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), inset 0 1px 0 rgba(255, 255, 255, .04);
	transition: border-color .2s;
}
a.board:hover { border-color: var(--green); }
@media (min-width: 900px) { .board { padding: 24px; } }
.board__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.board__label { color: var(--gold); font-weight: 700; font-size: var(--fs-sm); }
.board__league { color: var(--muted); font-size: var(--fs-sm); margin-top: -8px; }
.board__teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px; text-align: center; }
.board__team { display: flex; flex-direction: column; align-items: center; gap: 10px; min-width: 0; }
.board__team b { font-size: var(--fs-lg); line-height: 1.5; overflow-wrap: anywhere; }
.board__crest { width: 68px; height: 68px; padding: 8px; border-radius: 50%; object-fit: contain; background: var(--surface-2); border: 1px solid var(--line); }
.board__crest--ph { display: grid; place-items: center; color: var(--muted); font-weight: 900; font-size: 1.5rem; }
.board__time { padding: 8px 10px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); color: var(--text); font-weight: 700; font-size: var(--fs-sm); white-space: nowrap; }
.board__row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: stretch; }
.board__pick, .board__odd { display: grid; gap: 2px; padding: 12px 14px; border-radius: 14px; background: var(--surface-2); }
.board__pick small, .board__odd small, .board__conf small { color: var(--muted); font-size: var(--fs-xs); }
.board__pick strong { line-height: 1.6; }
.board__odd { text-align: center; min-width: 96px; background: var(--gold-soft); }
.board__odd strong { color: var(--gold); font-size: 1.75rem; font-weight: 900; line-height: 1.2; font-variant-numeric: tabular-nums; }
.board__conf { display: grid; gap: 6px; }
.board__conf b { color: var(--text); }
.board__more { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 700; font-size: var(--fs-sm); }
.board--empty p { color: var(--muted); margin: 0; }

/* Topic chips */
.topics { display: flex; gap: 10px; margin-top: 28px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.topics::-webkit-scrollbar { display: none; }
.topic {
	flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px;
	background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-weight: 500; font-size: var(--fs-sm); white-space: nowrap;
}
.topic .ic { color: var(--green); }
.topic:hover { border-color: var(--green); }
@media (min-width: 1025px) { .topics { flex-wrap: wrap; overflow: visible; } }

.sec--tint { background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .015) 20%, rgba(255, 255, 255, .015) 80%, transparent); }

/* News */
.newsgrid { display: grid; gap: 16px; }
@media (min-width: 900px) {
	.newsgrid { grid-template-columns: 1.3fr 1fr; grid-template-rows: repeat(4, auto); gap: 14px 20px; }
	.newsgrid .pcard--lead { grid-row: 1 / span 4; }
}
.pcard--lead .pcard__title { font-size: var(--fs-xl); }
.pcard--row { flex-direction: row; align-items: stretch; }
.pcard--row .pcard__media { flex: none; width: 120px; aspect-ratio: auto; }
@media (min-width: 600px) { .pcard--row .pcard__media { width: 160px; } }
.pcard--row .pcard__body { padding: 12px 14px; gap: 4px; }
.pcard--row .pcard__title { font-size: var(--fs-md); }

/* Tools + video */
.tools { display: grid; gap: 24px; align-items: start; }
@media (min-width: 900px) { .tools { grid-template-columns: 1fr 1fr; gap: 40px; } }
.tools__side .sec-lead { margin-bottom: 20px; }
.ytlite { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; }
.ytlite img { width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.ytlite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ytlite__play {
	position: absolute; inset: 50% 50% auto auto; transform: translate(50%, -50%); display: grid; place-items: center;
	width: 68px; height: 68px; border: 0; border-radius: 50%; background: var(--green); color: var(--green-ink);
	box-shadow: 0 0 0 10px rgba(25, 230, 140, .18);
}
.ytlite__play .ic { width: 28px; height: 28px; margin-inline-start: -3px; }
.ytlite__cap { position: absolute; inset: auto 0 0; padding: 28px 16px 12px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); font-size: var(--fs-sm); font-weight: 500; }

/* FAQ */
.faq { display: grid; gap: 20px; }
@media (min-width: 900px) { .faq { grid-template-columns: 1fr 2fr; gap: 40px; } }
