/* Home, Pledge Board and Event page styles */

/* Home hero stats */
.hero-stats { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); }
.hero-stats .stat-value { font-size: 30px; }

.quick-prop { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px; margin-top: 4px; background: var(--bg-2); border-radius: 10px; }
.quick-prop .pledge-btn { min-width: 110px; height: 48px; background: var(--surface); }

/* How it works */
.how { background: linear-gradient(180deg, var(--bg) 0%, var(--navy-deep) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.how-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; display: flex; flex-direction: column; gap: 10px; position: relative; }
.how-step h3 { font-size: 22px; }
.how-step p { color: var(--muted); }
.how-step-hit { background: linear-gradient(160deg, rgba(242,101,34,.22), var(--surface) 70%); border-color: rgba(242,101,34,.45); }
.how-n { width: 40px; height: 40px; border-radius: 10px; background: var(--navy); border: 1px solid var(--line-2); display: grid; place-items: center; font: 700 20px var(--font-display); color: var(--orange); }

/* Players */
.player .media::after { background: linear-gradient(180deg, rgba(10,22,40,0) 45%, rgba(10,22,40,.96) 100%); }
.player img { transition: transform .5s var(--ease); }
.player:hover img { transform: scale(1.04); }
.player-name { font: 700 24px/1.05 var(--font-display); text-transform: uppercase; margin: 2px 0 4px; }
.player-num { position: absolute; right: 0; bottom: 38px; font: 700 76px/1 var(--font-display); color: transparent; -webkit-text-stroke: 1.5px rgba(242,101,34,.8); }

/* Season card */
.home-split { grid-template-columns: 1.5fr 1fr; }
.mini-board { display: flex; flex-direction: column; gap: 4px; margin-top: 14px; }
.mini-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; }
.mini-rank { width: 24px; font: 700 20px var(--font-display); color: var(--muted); text-align: center; }
.mini-row.me-row .mini-rank { color: var(--orange); }

/* Schedule strip */
.sched-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.sched-card { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--orange); border-radius: 12px; padding: 14px 16px; display: flex; flex-direction: column; gap: 5px; transition: border-color .2s, transform .2s var(--ease); }
.sched-card:hover { transform: translateY(-2px); border-color: rgba(242,101,34,.6); }
.sched-card .badge { align-self: flex-start; margin-top: 6px; }
.sched-date { font: 700 20px var(--font-display); text-transform: uppercase; }
.sched-opp { font-weight: 600; }

/* Pride band */
.pride { position: relative; isolation: isolate; overflow: hidden; margin: 24px 0; }
.pride::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,43,92,.97) 0%, rgba(0,43,92,.8) 50%, rgba(0,43,92,.35) 100%); }
.pride-inner { padding: 80px 24px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.pride h2 { font-size: clamp(38px, 6vw, 72px); line-height: .95; }
.pride p { max-width: 520px; color: #d7e0ec; font-size: 17px; }

.news { display: flex; flex-direction: column; }

/* Pledge Board */
.board-group { margin-top: 30px; }
.board-group-head { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 14px; }
.board-group-head h2 { font-size: 26px; }
.game-card {
  display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 1.25fr); gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 14px; transition: border-color .2s;
}
.game-card:hover { border-color: var(--line-2); }
.game-card.is-live { border-color: rgba(0,178,255,.45); box-shadow: 0 0 0 1px rgba(0,178,255,.15), 0 0 30px rgba(0,178,255,.08); }
.game-thumb { border-radius: 10px; overflow: hidden; aspect-ratio: 4/3; }
.game-thumb img { width: 100%; height: 100%; object-fit: cover; }
.game-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.game-main .ev-meta svg, .ev-meta svg { width: 14px; height: 14px; vertical-align: -2px; }
.game-props { display: flex; flex-direction: column; gap: 8px; }
.game-prop { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.game-prop-label { font-size: 14px; font-weight: 500; }
.game-prop .pledge-btn { min-width: 118px; height: 44px; }
.game-more { font-size: 13px; align-self: flex-end; }

/* Event page */
.event-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--navy); }
.event-hero .hero-bg img { opacity: .55; }
.event-hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,22,40,.97) 0%, rgba(0,43,92,.82) 55%, rgba(0,43,92,.45) 100%); }
.event-hero-inner { padding: 30px 24px 34px; display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.event-title { font-size: clamp(34px, 5.4vw, 60px); }
.event-title .vs { font-size: .55em; }
.event-headline { font: 500 18px var(--font-display); text-transform: uppercase; letter-spacing: .1em; color: var(--orange-2); }
.cutoff { background: rgba(10,22,40,.75); border: 1px solid var(--line-2); border-top: 3px solid var(--orange); border-radius: var(--r); padding: 16px 22px; display: flex; flex-direction: column; gap: 4px; min-width: 240px; backdrop-filter: blur(6px); }
.cutoff.is-closed { border-top-color: var(--faint); }
.cutoff.is-live { border-top-color: var(--live); }
.cutoff-clock { font: 700 44px/1.05 var(--font-display); font-variant-numeric: tabular-nums; }
.cutoff-clock.urgent, .cutoff .countdown.urgent { color: var(--orange-2); }
.event-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; padding-top: 28px; }
.event-side { position: sticky; top: calc(var(--topbar-h) + 16px); gap: 16px; }
.live-block { border: 1px solid rgba(0,178,255,.3); border-radius: calc(var(--r) + 6px); padding: 14px; display: flex; flex-direction: column; gap: 14px; background: rgba(0,178,255,.04); }
.live-block:not(.is-on) { opacity: .75; }
.live-block .market { background: var(--bg-2); }
.lab { border-style: dashed; border-color: rgba(255,194,74,.4); }
.lab svg { color: var(--gold); }
.perk { background: linear-gradient(160deg, rgba(242,101,34,.18), var(--surface) 65%); }

@media (max-width: 1100px) {
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .game-card { grid-template-columns: 120px minmax(0, 1fr); }
  .game-props { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .home-split, .event-layout { grid-template-columns: minmax(0, 1fr); }
  .event-side { position: static; }
  .hero-stats { gap: 22px; }
  .hero-stats .stat-value { font-size: 24px; }
}
@media (max-width: 600px) {
  .how-grid { grid-template-columns: 1fr; }
  .game-card { grid-template-columns: 1fr; }
  .game-thumb { aspect-ratio: 21/9; }
  .game-prop { flex-direction: column; align-items: stretch; gap: 6px; }
  .game-prop .pledge-btn { width: 100%; }
  .cutoff { width: 100%; }
  .event-hero-inner { padding: 22px 16px 26px; }
  .pride-inner { padding: 56px 16px; }
}
