:root {
  color-scheme: dark;
  --bg: #05070b;
  --panel: rgba(12, 18, 30, 0.84);
  --panel2: rgba(23, 32, 51, 0.78);
  --text: #eef4ff;
  --muted: #aab7cf;
  --gold: #f7c948;
  --green: #4ade80;
  --fel: #82ff5c;
  --border: rgba(255,255,255,.11);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 82% 12%, rgba(130,255,92,.20), transparent 24%),
    radial-gradient(circle at 18% 0%, rgba(247,201,72,.22), transparent 26%),
    radial-gradient(circle at 50% 90%, rgba(47,88,179,.24), transparent 34%),
    linear-gradient(145deg, #05070b 0%, #08101d 45%, #020307 100%);
  color: var(--text);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.45), transparent 75%);
}

.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 36px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;
  align-items: center;
  margin-bottom: 28px;
}

.eyebrow {
  color: var(--gold);
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: .78rem;
  margin: 0 0 10px;
}

h1 {
  font-size: clamp(2.45rem, 8vw, 6rem);
  line-height: .9;
  margin: 0;
  letter-spacing: -.065em;
  max-width: 820px;
}

.sub {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 690px;
  line-height: 1.55;
}

.glaive-art {
  position: relative;
  width: 260px;
  height: 260px;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.glaive-art::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(130,255,92,.25), rgba(247,201,72,.11) 36%, transparent 68%);
  filter: blur(6px);
}

.glaive-art img {
  width: 94px;
  height: 94px;
  border-radius: 18px;
  border: 1px solid rgba(247,201,72,.45);
  box-shadow: 0 0 34px rgba(130,255,92,.22), 0 18px 70px rgba(0,0,0,.48);
  z-index: 2;
}

.blade-glow {
  position: absolute;
  width: 220px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(130,255,92,.78), rgba(247,201,72,.75), transparent);
  filter: blur(.2px) drop-shadow(0 0 18px rgba(130,255,92,.38));
  opacity: .86;
}

.blade-left { transform: rotate(-42deg); }
.blade-right { transform: rotate(42deg); }

.winner-card,
.card,
.timeline-card,
.table-card {
  background: linear-gradient(180deg, rgba(255,255,255,.088), rgba(255,255,255,.035));
  border: 1px solid var(--border);
  box-shadow: 0 22px 90px rgba(0,0,0,.38);
  border-radius: 26px;
  backdrop-filter: blur(10px);
}

.winner-card {
  padding: 30px;
  margin: 28px 0;
  position: relative;
  overflow: hidden;
}

.winner-card::after {
  content: "";
  position: absolute;
  inset: auto -80px -120px auto;
  width: 310px;
  height: 310px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(247,201,72,.20), transparent 66%);
}

.winner-kicker,
.label {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .78rem;
}

.winner-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  position: relative;
  z-index: 1;
}

.winner {
  font-size: clamp(3.2rem, 10vw, 7.3rem);
  font-weight: 950;
  letter-spacing: -.075em;
  color: var(--gold);
  text-shadow: 0 0 42px rgba(247,201,72,.24), 0 0 70px rgba(130,255,92,.12);
}

.meta {
  color: var(--muted);
  font-size: 1.05rem;
}

.meta strong { color: var(--text); }

.badge {
  border: 1px solid rgba(247,201,72,.38);
  color: var(--gold);
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(247,201,72,.09);
  font-weight: 900;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 16px 0;
}

.card { padding: 22px; }
.card h2,
.table-card h2 { margin: 0 0 10px; font-size: 1.05rem; }
.card p { color: var(--muted); margin: 0; line-height: 1.55; }
.card strong { color: #fff; }

.table-card { padding: 22px; margin-top: 16px; }
.timeline-card { padding: 24px; margin-top: 16px; }
.timeline-intro { color: var(--muted); margin: 0 0 18px; max-width: 780px; line-height: 1.55; }
.phase-rows { display: grid; gap: 12px; }
.phase-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.09);
  border-radius: 18px;
  background: rgba(0,0,0,.18);
}
.leader-row { background: linear-gradient(90deg, rgba(247,201,72,.13), rgba(130,255,92,.07)); }
.phase-player { display: block; font-weight: 950; font-size: 1.22rem; color: var(--text); }
.phase-note { display: block; color: var(--muted); font-size: .92rem; margin-top: 3px; }
.phase-values { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 10px; color: var(--muted); }
.phase-values strong { color: var(--text); font-size: 1.16rem; }
.arrow { color: var(--gold); font-weight: 950; }
.delta { font-weight: 950; padding: 4px 8px; border-radius: 999px; }
.delta.positive { color: #061006; background: rgba(130,255,92,.86); }
.delta.negative { color: #1f0707; background: rgba(255,125,125,.88); }
.lead-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(247,201,72,.08);
  color: var(--muted);
}
.lead-strip strong { color: var(--gold); font-size: 1.2rem; }
.table-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; margin-bottom: 8px; }
.table-head span { color: var(--muted); font-size: .92rem; }
.table-scroll { overflow: auto; }

table { width: 100%; border-collapse: collapse; min-width: 760px; }
th,
td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--border); }
th { font-size: .78rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); }
td { color: #dce7fb; }
.leader td { background: linear-gradient(90deg, rgba(247,201,72,.13), rgba(130,255,92,.06)); }
.rank,
.score { font-weight: 950; }
.name { font-weight: 900; color: var(--text); }
.score { color: var(--green); }

footer {
  color: rgba(170,183,207,.76);
  font-size: .9rem;
  margin-top: 22px;
  line-height: 1.55;
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; }
  .glaive-art { width: 190px; height: 190px; justify-self: center; }
  .grid { grid-template-columns: 1fr; }
  .winner-row { flex-direction: column; }
  .phase-row { align-items: flex-start; flex-direction: column; }
  .phase-values { justify-content: flex-start; }
}
