/* ==============================================================
   GameDay & Broadcast — page-specific decoration

   Bespoke broadcast illustration for /platform/gameday-broadcast:
   the hero scene, the live scoreboard mock, the Showtime cue board,
   goal-horn buttons, the livestream beats and the highlight grid.

   Reusable pieces (dark surfaces, panels, dividers, live dots) live
   in /assets/css/xsyte-ds/xsyte-ds.css.

   Requires: tokens.css + xsyte-ds.css, inside a `.xs-page` wrapper.
   ============================================================== */

@keyframes gd-glow{0%,100%{opacity:.4;transform:scale(1)}50%{opacity:.85;transform:scale(1.05)}}
@keyframes gd-ripple{0%{transform:scale(.6);opacity:.7}100%{transform:scale(2.4);opacity:0}}

@media (prefers-reduced-motion:reduce){
	.xs-page [class*="gd-"]{animation:none !important}
}

/* ---------- HERO ---------- */

.gd-hero{position:relative;min-height:88vh;display:flex;align-items:center;overflow:hidden}
.gd-hero__img{position:absolute;top:0;right:0;bottom:0;width:min(70%,900px)}
.gd-hero__img img{width:100%;height:100%;object-fit:cover;object-position:center right}
/* layered fades so the photo reads as one continuous dark scene */
.gd-hero__fade{position:absolute;inset:0;background:linear-gradient(90deg,var(--ink-900) 0%,var(--ink-900) 34%,rgba(4,7,15,.72) 52%,rgba(4,7,15,.25) 78%,rgba(4,7,15,.55) 100%)}
/* The site header is fixed and transparent over the hero. Hold solid black for the
   header's height (~121px rendered) before fading, so the nav always sits on black
   rather than on the busy arena photo. */
.gd-hero{--gd-navband:130px}
.gd-hero__fade--top{
	inset:0 0 auto 0;height:300px;
	background:linear-gradient(180deg,var(--ink-900) 0,var(--ink-900) var(--gd-navband),transparent 100%);
}
.gd-hero__fade--bottom{inset:auto 0 0 0;height:220px;background:linear-gradient(0deg,var(--ink-900),transparent)}
.gd-hero__glow{
	position:absolute;bottom:-160px;right:-120px;width:520px;height:520px;border-radius:50%;
	background:radial-gradient(circle,rgba(204,0,0,.35),transparent 62%);filter:blur(24px);
	animation:gd-glow 7s ease-in-out infinite;pointer-events:none;
}
.gd-hero__inner{position:relative;max-width:1200px;margin-inline:auto;padding:calc(var(--gd-navband) + clamp(2.5rem,5vw,4.5rem)) 1.5rem clamp(4rem,8vw,7rem);width:100%}

/* ---------- GUT PUNCH ---------- */

.gd-pain{background:#0b1120;border:1px solid rgba(255,255,255,.08);border-radius:14px;padding:26px}
.gd-pain__icon{font-size:2.6rem;color:rgba(255,255,255,.25)}
.gd-pain__title{font-family:var(--font-display);font-size:1.3rem;margin:.7rem 0 .3rem;color:#fff}
.gd-pain__text{color:rgba(255,255,255,.6);line-height:1.55}
.gd-dim{color:rgba(255,255,255,.4)}

/* ---------- LIVE SCOREBOARD MOCK ---------- */

.gd-board{background:var(--ink-900);border:1px solid rgba(255,255,255,.14);border-radius:16px;overflow:hidden;box-shadow:0 30px 70px rgba(0,0,0,.6)}
.gd-board__bar{display:flex;justify-content:space-between;align-items:center;padding:10px 16px;background:#0b1120;border-bottom:1px solid rgba(255,255,255,.1);font-size:.72rem;color:rgba(255,255,255,.55)}
.gd-board__url{display:inline-flex;align-items:center;gap:.4rem}
.gd-board__face{padding:26px 22px;background:radial-gradient(circle at 50% 0%,#0d1a33,var(--ink-900))}
.gd-board__row{display:flex;align-items:center;justify-content:space-between;gap:1rem}
.gd-board__side{text-align:center;flex:1}
.gd-board__badge{width:54px;height:54px;margin-inline:auto;border-radius:12px;display:flex;align-items:center;justify-content:center;font-family:var(--font-display);font-size:1.4rem;color:#fff}
.gd-board__badge--home{background:var(--navy-700)}
.gd-board__badge--away{background:var(--red-600)}
.gd-board__team{font-family:var(--font-display);font-size:1rem;margin-top:.5rem;color:rgba(255,255,255,.8);letter-spacing:.05em}
.gd-board__score{font-family:var(--font-display);font-size:clamp(3rem,7vw,4.6rem);line-height:1;color:#fff}
.gd-board__period{font-size:.66rem;letter-spacing:.14em;color:var(--red-500);font-weight:700}
.gd-board__clock{font-family:var(--font-display);font-size:clamp(1.8rem,4vw,2.6rem);color:#fff;background:#0b1120;border:1px solid rgba(255,255,255,.12);border-radius:8px;padding:.2rem .7rem;margin-top:.4rem}
.gd-board__shots{font-size:.66rem;color:rgba(255,255,255,.45);margin-top:.5rem;text-transform:uppercase}
.gd-board__ticker{margin-top:1rem;height:34px;border-radius:6px;background:#0b1120;border:1px solid rgba(255,255,255,.1);display:flex;align-items:center;padding:0 12px;overflow:hidden;font-size:.78rem;color:rgba(255,255,255,.7)}
.gd-board__ticker b{color:var(--red-500);font-weight:700;margin-right:.5rem}
.gd-board__screens{display:flex;justify-content:center;gap:.7rem;margin-top:1rem;flex-wrap:wrap}

/* ---------- SHOWTIME CUE BOARD ---------- */

.gd-cues{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
/* scoped + explicit :hover background — the theme's `button:hover{background:#0060ff}`
   (specificity 0,1,1) would otherwise turn these tiles brand-blue on hover */
.xs-page .gd-cue,
.xs-page .gd-cue:hover,
.xs-page .gd-cue:focus{
	text-align:left;background:#0f1830;border:1px solid rgba(255,255,255,.12);border-radius:10px;
	padding:14px 12px;cursor:pointer;font-family:var(--font-body);
	transition:border-color .15s var(--ease),transform .15s var(--ease);
}
.xs-page .gd-cue:hover{border-color:var(--blue-500);transform:translateY(-2px)}
.gd-cue__top{display:flex;justify-content:space-between;align-items:center}
.gd-cue__dot{display:none}
.xs-page .gd-cue.is-live .gd-cue__dot{display:block}
.xs-page .gd-cue.is-live{border-color:rgba(204,0,0,.5)}
.gd-cue__label{font-family:var(--font-display);color:#fff;font-size:1rem;margin-top:.6rem}
.gd-cue__sub{font-size:.72rem;color:rgba(255,255,255,.5);margin-top:.15rem}
.gd-cue__icon--red{color:var(--red-600)}
.gd-cue__icon--blue{color:var(--blue-500)}
.gd-cue__icon--green{color:var(--success)}
.gd-nowlive{margin-top:14px;background:var(--ink-900);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:12px 14px;display:flex;align-items:center;gap:.7rem;color:rgba(255,255,255,.75);font-size:.85rem}
.gd-nowlive strong{color:#fff}

/* ---------- ATMOSPHERE / GOAL HORNS ---------- */

.gd-ripples{position:absolute;inset:0;pointer-events:none}
.gd-ripple{position:absolute;left:50%;top:38%;width:120px;height:120px;margin:-60px 0 0 -60px;border-radius:50%;animation:gd-ripple .9s ease-out forwards;pointer-events:none}
.gd-ripple--home{border:3px solid var(--blue-500)}
.gd-ripple--away{border:3px solid var(--red-600)}

.xs-page .gd-horn{
	position:relative;border:1px solid rgba(255,255,255,.16);border-radius:14px;
	padding:1.1rem 1.6rem;cursor:pointer;font-family:var(--font-body);color:#fff;min-width:200px;
	transition:transform .15s var(--ease);
}
.xs-page .gd-horn:hover{transform:translateY(-3px)}
/* keep each team's colour through hover/focus (see the button:hover note above) */
.xs-page .gd-horn--home,
.xs-page .gd-horn--home:hover,
.xs-page .gd-horn--home:focus{background:var(--navy-700)}
.xs-page .gd-horn--away,
.xs-page .gd-horn--away:hover,
.xs-page .gd-horn--away:focus{background:var(--red-600)}
.gd-horn__top{display:flex;align-items:center;gap:.7rem;justify-content:center}
.gd-horn__name{font-family:var(--font-display);font-size:1.2rem}
.gd-horn__hint{font-size:.76rem;color:rgba(255,255,255,.55);margin-top:.35rem}
.gd-horn--away .gd-horn__hint{color:rgba(255,255,255,.7)}
.gd-callout{margin-top:1.4rem;min-height:2rem;font-family:var(--font-display);font-size:1.4rem;color:var(--red-500);letter-spacing:.04em}

/* ---------- PROOF ---------- */

.gd-proof__card{background:var(--navy-900);border-radius:16px;padding:26px;box-shadow:var(--shadow-lg)}
.gd-proof__logo{display:flex;align-items:center;justify-content:center;height:90px}
.gd-proof__logo img{max-height:60px;width:auto}
.gd-proof__stats{display:flex;gap:1.2rem;margin-top:1.4rem;flex-wrap:wrap;justify-content:center}
.gd-proof__note{margin-top:1.4rem;display:inline-flex;align-items:center;gap:.6rem;background:#fff;border:var(--border-card);border-radius:10px;padding:.7rem 1rem;font-size:.92rem;color:var(--navy-700)}

/* ---------- OBJECTION / CLOSE ---------- */

.gd-quote__mark{font-size:2.4rem;color:rgba(255,255,255,.2)}
.gd-quote__text{font-family:var(--font-display);font-size:clamp(1.6rem,4vw,2.4rem);color:#fff;margin:.6rem 0 0;line-height:1.2}
.gd-close__glow{
	position:absolute;top:-120px;left:50%;transform:translateX(-50%);width:640px;height:420px;
	background:radial-gradient(circle,rgba(204,0,0,.35),transparent 65%);filter:blur(24px);pointer-events:none;
}
.gd-horn__icon{font-size:1.4rem}

/* ---------- Showtime cross-link to the Livestream page ---------- */
/* The two pages share Showtime, so each one points at the other's half
   of it. Mirrors .ls-xlink on /platform/livestream. */
.gd-xlink{margin-top:1.6rem;display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;background:#0b1120;
	border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:.8rem 1rem;
	font-size:.92rem;color:rgba(255,255,255,.8)}
.gd-xlink>i{flex:none}
.xs-page .gd-xlink a,
.xs-page .gd-xlink a:link,
.xs-page .gd-xlink a:visited{color:var(--blue-500);text-decoration:none;font-weight:700}
.xs-page .gd-xlink a:hover{text-decoration:underline}
.gd-xlink a i{font-size:.8rem}

/* ---------- hand-off block to Livestream ---------- */
.gd-handoff{background:#0b1120;border:1px solid rgba(33,153,232,.35);border-radius:18px;
	padding:clamp(1.8rem,4vw,2.6rem);display:flex;flex-wrap:wrap;align-items:center;gap:1.6rem;
	justify-content:space-between}
.gd-handoff__k{display:inline-flex;align-items:center;gap:.5rem;font-size:.72rem;font-weight:700;
	letter-spacing:.12em;text-transform:uppercase;color:var(--blue-500);margin-bottom:.6rem}
.gd-handoff__h{font-family:var(--font-display);font-size:clamp(1.4rem,3vw,2rem);color:#fff;
	line-height:1.1;text-transform:uppercase}
.xs-page .gd-handoff__body{font-size:1rem;line-height:1.55;color:rgba(255,255,255,.7);
	margin:.7rem 0 0;max-width:40rem}
