/* Back-to-home link (GOAT page) */
#goat-home {
  position: fixed; top: 18px; left: 18px; z-index: 60;
  font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .04em;
  color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 100px;
  background: rgba(10,10,12,.55); border: 1px solid rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: .85; transition: opacity .2s, border-color .2s;
}
#goat-home:hover { opacity: 1; border-color: var(--gold); color: var(--gold); }

/* ============ Loader ============ */
#loader {
  position: fixed; inset: 0; z-index: 100; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  font-family: var(--display); letter-spacing: .14em; color: var(--text);
  font-size: clamp(15px, 2.4vw, 24px); text-transform: uppercase;
}
#loader::after {
  content: ""; width: 120px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  background-size: 200% 100%; animation: loadersheen 1.1s ease-in-out infinite;
}
@keyframes loadersheen { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
body[data-ready="true"] #loader.hidden { display: none; }

/* ============ Stat card ============ */
.stat-card {
  background: linear-gradient(180deg, rgba(20,20,23,.92), rgba(11,11,13,.94));
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 16px; padding: 20px 22px;
  box-shadow: 0 14px 38px rgba(0,0,0,.42);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: transform .3s cubic-bezier(.22,1,.36,1), border-color .3s, box-shadow .3s;
}
.stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 22px 50px rgba(0,0,0,.55);
}
.stat-label {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-size: 11px; letter-spacing: .09em; color: var(--muted);
  text-transform: uppercase; font-weight: 600; margin-bottom: 15px;
}
.stat-card .row { display: flex; justify-content: space-between; align-items: baseline; }
.stat-card .who { font-size: 13px; opacity: .75; font-weight: 500; }
.stat-card .val { font-variant-numeric: tabular-nums; font-size: 17px; font-weight: 700; color: #efeae1; }
.stat-card .val.win { color: var(--win); }
.stat-card .bar { height: 6px; background: rgba(255,255,255,.06); border-radius: 99px; margin: 7px 0 14px; overflow: hidden; }
.stat-card .bar:last-of-type { margin-bottom: 4px; }
.stat-card .fill { display: block; height: 100%; border-radius: 99px; transition: width 1.1s cubic-bezier(.22,1,.36,1); }
.fill-cr { background: linear-gradient(90deg, #e11d2a, #b00d18); box-shadow: 0 0 14px rgba(193,18,31,.45); }
.fill-messi { background: linear-gradient(90deg, #3a93c9, #2a6f97); box-shadow: 0 0 14px rgba(42,111,151,.45); }
.stat-note { font-size: 13px; color: #c7c2b8; margin: 12px 0 14px; line-height: 1.62; }
.stat-src { display: inline-block; font-size: 10.5px; letter-spacing: .03em; color: #837d72; text-decoration: none; transition: color .2s; }
.stat-src:hover { color: var(--gold); }

/* Narrative / subjective cards: note is the content, give it more presence */
.stat-card[data-type="narrative"] .stat-note,
.stat-card[data-type="subjective"] .stat-note { font-size: 14px; color: #d8d3c9; margin-top: 6px; }

/* Badges */
.badge { font-size: 9.5px; font-weight: 700; letter-spacing: .07em; padding: 3px 9px; border-radius: 99px; text-transform: uppercase; }
.badge-subjective { background: rgba(124,192,255,.13); color: #9fccff; border: 1px solid rgba(124,192,255,.2); }
.badge-narrative { background: rgba(217,184,115,.13); color: #e3c282; border: 1px solid rgba(217,184,115,.2); }

@media (prefers-reduced-motion: reduce) {
  .stat-card .fill { transition: none; }
  .stat-card { transition: none; }
}

/* ============ Split versus rows ============ */
.versus { position: relative; z-index: 3; width: 100%; max-width: 1080px; margin: 0 auto; }
.vnames {
  display: flex; justify-content: space-between; font-family: var(--serif); font-style: italic;
  font-size: clamp(12px, 1.4vw, 15px); margin-bottom: 16px; opacity: .92;
}
.vn-cr { color: #ff8f96; } .vn-messi { color: #8fd0ff; }

.vrow { padding: 18px 0; border-top: 1px solid rgba(255,255,255,.08); }
.vrow:first-of-type { border-top: none; }
.vmain { display: grid; grid-template-columns: 1fr minmax(110px, auto) 1fr; align-items: center; gap: clamp(14px, 3vw, 44px); }
.vside { min-width: 0; }
.vside.cr { text-align: right; }
.vside.messi { text-align: left; }

/* stat numbers */
.vrow.stat .vnum {
  display: block; font-family: var(--display); font-weight: 400;
  font-size: clamp(32px, 5vw, 62px); line-height: .9; color: #f0ebe2;
}
.vside.win .vnum { color: var(--win); text-shadow: 0 0 28px rgba(124,252,155,.45); }
.vlead {
  display: inline-block; margin-top: 8px; font-size: 9px; font-weight: 700; letter-spacing: .13em;
  text-transform: uppercase; color: var(--win); border: 1px solid rgba(124,252,155,.4);
  border-radius: 99px; padding: 2px 9px;
}

/* centre label pill */
.vlabel {
  text-align: center; font-size: 11px; letter-spacing: .05em; text-transform: uppercase;
  color: #e2ddd3; font-weight: 600; line-height: 1.35; max-width: 220px;
  background: rgba(10,10,12,.62); border: 1px solid rgba(255,255,255,.13); border-radius: 16px;
  padding: 9px 15px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.vlabel .badge { display: inline-block; margin-top: 6px; }

/* comparative note + source under a stat row */
.vnote { text-align: center; font-size: 12.5px; color: #cfcabf; opacity: .9; max-width: 620px; margin: 14px auto 0; line-height: 1.55; }
.vsrc { display: block; text-align: center; font-size: 10px; color: #8a8479; text-decoration: none; margin-top: 9px; letter-spacing: .02em; }
.vsrc:hover { color: var(--gold); }

/* story rows: opposing narratives */
.vrow.story .vstory { margin: 0; font-size: clamp(13px, 1.35vw, 15px); line-height: 1.62; color: #ebe6dc; }
.vrow.story .vside.cr { padding-left: 3%; } .vrow.story .vside.messi { padding-right: 3%; }

@media (max-width: 720px) {
  .vmain { gap: 10px; }
  .vrow.stat .vnum { font-size: clamp(24px, 9vw, 40px); }
  .vlabel { font-size: 9px; padding: 6px 9px; max-width: 96px; border-radius: 12px; }
  .vrow.story .vstory { font-size: 12px; line-height: 1.5; }
  .vnames { font-size: 11px; }
}

/* Closing declaration: a solid premium card so the split line never cuts the text */
.declaration {
  position: relative; z-index: 4; max-width: 1120px; margin: 56px auto 14px; text-align: center;
  background: linear-gradient(180deg, rgba(14,14,17,.96), rgba(7,7,10,.975));
  border: 1px solid rgba(255,255,255,.1); border-radius: 22px;
  padding: clamp(30px, 3.4vw, 46px) clamp(34px, 5vw, 72px);
  box-shadow: 0 40px 100px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
}
.declaration::before {
  content: ""; position: absolute; left: 50%; top: 26px; width: 34px; height: 2px; transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.decl-kicker {
  display: inline-block; font-family: var(--sans); font-size: 11px; letter-spacing: .34em;
  text-transform: uppercase; font-weight: 700; color: var(--gold); margin: 14px 0 24px;
}
.decl-lead {
  font-family: var(--sans); font-weight: 800; font-size: clamp(23px, 3vw, 36px); line-height: 1.18;
  letter-spacing: -.025em; color: #fff; margin-bottom: 22px; max-width: 900px; margin-left: auto; margin-right: auto;
}
.decl-body {
  font-family: var(--sans); font-weight: 400; font-size: clamp(15px, 1.45vw, 17.5px); line-height: 1.7;
  letter-spacing: -.003em; color: #b4afa6; max-width: 940px; margin: 0 auto 24px;
}
.decl-punch {
  font-family: var(--sans); font-weight: 700; font-size: clamp(18px, 2.1vw, 25px);
  line-height: 1.32; letter-spacing: -.018em; color: var(--gold);
}
.verdict-tag {
  font-family: var(--sans); font-weight: 600; letter-spacing: -.01em;
  font-size: clamp(15px, 1.7vw, 20px); color: var(--gold); margin: 4px 0 8px;
}

/* ============ Hero copy ============ */
.hero .headline { margin-bottom: 30px; }
.hero-copy { position: relative; z-index: 4; text-align: center; margin-top: 10px; }
.hero-kicker {
  display: inline-block; font-size: 12px; letter-spacing: .22em; font-weight: 700; text-transform: uppercase;
  color: #ffd87e;
  text-shadow: 0 2px 14px rgba(0,0,0,.95), 0 0 4px rgba(0,0,0,.8);
  background: rgba(7,7,7,.42); border: 1px solid rgba(255,216,126,.28);
  padding: 7px 16px; border-radius: 99px;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero-headline { font-family: var(--serif); font-weight: 400; font-style: italic; font-size: clamp(18px, 2.6vw, 27px); margin: 14px 0 22px; color: #fff; text-shadow: 0 2px 16px rgba(0,0,0,.8); }
.hero-cta {
  display: inline-block; background: #0a0a0a; color: #fff; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; font-size: 12px; padding: 13px 26px; border-radius: 100px;
  border: 1px solid rgba(255,255,255,.18); text-decoration: none; transition: background .25s, color .25s, transform .25s;
}
.hero-cta:hover { background: var(--gold); color: #150f00; transform: translateY(-2px); }

.hero-swap { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 400; color: #fff; pointer-events: none;
  font-size: clamp(64px, 15vw, 190px); line-height: .82; text-shadow: 0 10px 50px rgba(0,0,0,.45); }

/* ============ Verdict ============ */
.verdict { align-items: center; text-align: center; }
.verdict-tally { position: relative; z-index: 4; display: flex; align-items: baseline; gap: 36px; font-size: clamp(30px, 6vw, 60px); font-family: var(--serif); margin: 4px 0 22px; }
.verdict-tally b { font-weight: 600; }
.verdict-tally .vt-cr b { color: #ff5b64; } .verdict-tally .vt-messi b { color: #5fb0ec; }
.verdict-copy { position: relative; z-index: 4; max-width: 640px; }
.verdict-copy h3 { font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 4vw, 44px); color: var(--gold); margin-bottom: 4px; }
.verdict-copy p { color: var(--text); opacity: .9; line-height: 1.7; font-size: clamp(14px, 1.5vw, 16px); margin: 14px 0 22px; }
.verdict-cta { display: inline-block; color: var(--gold); text-decoration: none; border: 1px solid rgba(202,162,74,.5); padding: 12px 22px; border-radius: 100px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; transition: background .25s, color .25s; }
.verdict-cta:hover { background: var(--gold); color: #150f00; }
