/* ── Winners Wall (promotional) ─────────────────────────────────
   Grouped by sport only. Cards flash in and pile up as you scroll.
   All motion is gated behind prefers-reduced-motion. */

.ww { margin-top: calc(var(--ticker-h) + var(--topbar-h) + var(--header-h)); }

/* Hero */
.ww-hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--border); min-height: 340px; display: flex; align-items: center; }
.ww-hero-bg { position: absolute; inset: 0; background: center/cover no-repeat; transform: scale(1.03); }
.ww-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,10,24,.94) 0%, rgba(8,10,24,.78) 55%, rgba(8,10,24,.5) 100%); }
.ww-hero-inner { position: relative; z-index: 1; max-width: var(--content-w); margin: 0 auto; padding: 48px var(--content-px); width: 100%; }
.ww-eyebrow { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #ffd166; margin-bottom: 12px; }
.ww-hero h1 { color: #fff; font-size: clamp(2.1rem, 1rem + 3.8vw, 3.8rem); line-height: 1.04; margin: 0 0 10px; }
.ww-hero h1 em { font-style: normal; color: #ffd166; }
.ww-hero p { color: rgba(255,255,255,.8); margin: 0 0 22px; max-width: 48ch; }

.ww-stats { display: flex; gap: 34px; margin-bottom: 22px; }
.ww-num { display: block; font-size: clamp(1.8rem, 1rem + 2vw, 2.6rem); font-weight: 800; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.ww-lbl { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ww-cta { display: inline-block; background: #ffd166; color: #1a1400; font-weight: 800; padding: 12px 22px; border-radius: 999px; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.ww-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,209,102,.35); }

/* Body */
.ww-wrap { max-width: var(--content-w); margin: 0 auto; padding: 34px var(--content-px) 72px; }
.ww-lead { font-size: 1.05rem; color: var(--text-2); margin: 0 0 30px; }

.ww-sec { margin: 0 0 44px; }
.ww-sec-hd { display: flex; align-items: baseline; gap: 14px; margin-bottom: 16px; padding-bottom: 8px; border-bottom: 2px solid var(--brand); }
.ww-sec-hd h2 { font-size: 1.5rem; font-weight: 800; margin: 0; }
.ww-sec-count { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); display: flex; align-items: baseline; gap: 5px; }
.ww-sec-count .ww-num { display: inline; font-size: .95rem; color: var(--brand); }

/* The pile */
.ww-stack { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.ww-card {
  margin: 0; flex: 0 0 auto; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border-card, rgba(0,0,0,.1));
  background: var(--bg-card, #fff);
  box-shadow: 0 2px 10px rgba(0,0,0,.10);
  opacity: 0; transform: translateY(22px) scale(.94) rotate(-1.2deg);
  transition: box-shadow .18s ease, transform .18s ease;
}
.ww-card img { display: block; max-width: 260px; max-height: 400px; width: auto; height: auto; }
.ww-card.is-void img { opacity: .38; filter: grayscale(1); }

/* flash in, then settle — stagger comes from --i */
.ww-stack.in .ww-card { animation: wwDeal .52s cubic-bezier(.2,.9,.25,1.2) forwards; animation-delay: calc(var(--i) * 70ms); }
@keyframes wwDeal {
  0%   { opacity: 0; transform: translateY(22px) scale(.94) rotate(-1.2deg); }
  55%  { opacity: 1; transform: translateY(-4px) scale(1.03) rotate(.6deg); filter: brightness(1.25); }
  100% { opacity: 1; transform: translateY(0) scale(1) rotate(0deg); filter: brightness(1); }
}
.ww-card:hover { transform: translateY(-4px) scale(1.02); box-shadow: 0 14px 32px rgba(0,0,0,.2); z-index: 2; }

@media (max-width: 640px) {
  /* The card is `flex: 0 0 auto`, so it has no width of its own to resolve a
     percentage against — `max-width:100%` on the image alone fell back to the
     file's intrinsic width and pushed the page 355px wide. Bound the card. */
  .ww-card { max-width: 100%; min-width: 0; }
  .ww-card img { width: 100%; max-width: 100%; height: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .ww-card { opacity: 1; transform: none; }
  .ww-stack.in .ww-card { animation: none; }
  .ww-cta:hover { transform: none; }
}
