/* Champions pages (tracker + leaderboard): the Weekend League clock, the real overlay demo on the
   Champions tab, the four steps and the feature cards – the overlay's FC language. */
.ct { max-width: 1160px; margin: 0 auto; padding: 0 24px 56px; }

.ct-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); gap: 48px; align-items: center; padding: 48px 0 40px; }
.ct-hero h1 { margin-bottom: 0.35em; }
.ct-hero .lead { margin-bottom: 0; }
.ct-hero .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.06em; }
.ct-hero .w > span { display: inline-block; transform: translateY(105%); transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1) calc(var(--k) * 70ms + 120ms); }
.ct-hero.in .w > span { transform: none; }

/* the clock: big, in the display font – the urgency of a weekend that ends */
.ct-clock {
  margin: 0; padding: 26px 28px 24px; display: grid; gap: 6px;
  background: linear-gradient(160deg, var(--surface-hi), var(--surface)); border-left: 4px solid var(--accent);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
}
.ct-clock.live { border-left-color: var(--mint); background: linear-gradient(160deg, rgba(63, 224, 184, 0.16), var(--surface)); }
.ct-clock p { margin: 0; }
.ct-clock-label { display: flex; align-items: center; gap: 10px; font: 700 0.95rem/1.2 var(--display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ct-clock-time { font: 700 clamp(3.4rem, 7vw, 5.2rem)/0.95 var(--display); letter-spacing: 0.01em; font-variant-numeric: tabular-nums; }
.ct-clock-note { color: var(--muted); font-size: 0.9rem; }
.ct-clock-board { color: var(--mint); font-weight: 700; font-size: 0.95rem; min-height: 1.4em; }
.ct-dot { width: 10px; height: 10px; flex: none; background: var(--accent); transform: rotate(45deg); }
.ct-clock.live .ct-dot, .ct-demo-title .ct-dot { background: var(--mint); box-shadow: 0 0 12px var(--mint); animation: ct-pulse 1.6s cubic-bezier(0.22, 1, 0.36, 1) infinite; }
@keyframes ct-pulse { 50% { opacity: 0.35; transform: rotate(45deg) scale(0.7); } }

/* the real overlay, opened on its Champions tab */
.ct-demo { margin: 8px 0 48px; }
.ct-demo-title { margin: 0 0 12px; display: flex; align-items: center; gap: 10px; font: 700 1.1rem/1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.ct-frame { position: relative; aspect-ratio: 1180 / 760; overflow: hidden; clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.ct-frame iframe { position: absolute; left: 0; top: 0; width: 1180px; height: 760px; border: 0; transform-origin: 0 0; }
.ct-demo-hint { margin: 12px 0 0; color: var(--muted); font-size: 0.95rem; }

/* four steps, none of them a button to press in the game */
.ct-steps { margin: 0 0 48px; }
.ct-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.ct-steps li { display: flex; gap: 14px; align-items: flex-start; padding: 18px 18px 16px; background: var(--surface); clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); }
.ct-steps h3 { margin: 0 0 4px; font-size: 1.25rem; text-transform: uppercase; }
.ct-steps p { margin: 0; color: #c9cfec; font-size: 0.95rem; line-height: 1.5; }
.ct-n { flex: none; width: 34px; height: 34px; display: grid; place-items: center; background: var(--accent); color: #fff; font: 700 1.1rem/1 var(--display); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

.ct-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.ct-cards .card { grid-column: span 2; }
.ct-cards .card:nth-child(n + 4) { grid-column: span 3; }
.ct-cards .card p + p { margin-top: 0.8em; }
.ct-cta .btn + .btn { margin-left: 8px; }

/* the leaderboard page gets the same clock above its table */
.champs-page .ct-clock { margin: 8px 0 28px; max-width: 520px; }

@media (max-width: 900px) {
  .ct-hero { grid-template-columns: 1fr; gap: 28px; padding-top: 24px; }
  .ct-steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ct-cards { grid-template-columns: minmax(0, 1fr); }
  .ct-cards .card, .ct-cards .card:nth-child(n + 4) { grid-column: auto; }
}
@media (max-width: 560px) {
  .ct { padding: 0 16px 40px; }
  .ct-steps ol { grid-template-columns: 1fr; }
  .ct-cta .btn + .btn { margin: 10px 0 0; }
}
@media (prefers-reduced-motion: reduce) {
  .ct-hero .w > span { transform: none; transition: none; }
  .ct-dot { animation: none !important; }
}
