:root {
  --bg: #0b0f18;
  --bg2: #121827;
  --bg3: #1a2234;
  --line: rgba(255, 255, 255, 0.08);
  --line2: rgba(255, 255, 255, 0.14);
  --text: #eef1f6;
  --dim: #98a2b3;
  --gold: #ffd76a;
  --gold2: #f3b941;
  --win: #5fd38d;
  --loss: #ef6a6a;
  --tie: #9aa4b2;
  --r: 14px;
  --maxw: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
code { font-family: ui-monospace, Consolas, monospace; font-size: .9em; background: var(--bg3); padding: 1px 6px; border-radius: 5px; }

/* ------------------------------------------------------------------ header */
.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--maxw); margin: 0 auto; padding: 14px 20px;
  background: linear-gradient(var(--bg) 60%, transparent);
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: .01em; }
.brand img { border-radius: 7px; }
.top nav { display: flex; gap: 22px; font-size: 14px; color: var(--dim); }
.top nav a:hover { color: var(--text); }

/* -------------------------------------------------------------------- hero */
.hero {
  position: relative;
  min-height: calc(100vh - 60px);
  min-height: calc(100svh - 60px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px 120px;
}
.glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 340px at 50% 48%, rgba(255, 215, 106, .13), transparent 70%),
    radial-gradient(900px 500px at 50% 110%, rgba(79, 179, 232, .08), transparent 70%);
}
.eyebrow { margin: 0 0 14px; color: var(--gold); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
h1 {
  margin: 0; max-width: 820px;
  font-size: clamp(38px, 6.4vw, 72px); line-height: 1.04; letter-spacing: -.025em; font-weight: 800;
}
h1 em { font-style: normal; color: var(--gold); }
.lead { max-width: 600px; margin: 22px auto 0; color: var(--dim); font-size: clamp(16px, 2vw, 18px); }

/* ---------------------------------------------------------- download (CTA) */
.cta { margin-top: 40px; display: flex; flex-direction: column; align-items: center; }
.split { position: relative; display: inline-flex; border-radius: 16px; box-shadow: 0 10px 40px rgba(243, 185, 65, .25), 0 0 0 1px rgba(255, 215, 106, .35) inset; }
.dl {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 16px 26px 16px 22px;
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  color: #1b1300; border-radius: 16px 0 0 16px;
  transition: filter .15s ease, transform .15s ease;
}
.dl:hover { filter: brightness(1.06); }
.dl:active { transform: translateY(1px); }
.dl .os { width: 26px; height: 26px; fill: currentColor; flex: none; }
.dl-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.dl strong { font-size: 18px; font-weight: 800; }
.dl small { font-size: 12.5px; opacity: .75; font-weight: 600; }
.more {
  width: 52px; border: 0; cursor: pointer;
  border-left: 1px solid rgba(27, 19, 0, .2);
  background: linear-gradient(180deg, var(--gold), var(--gold2));
  border-radius: 0 16px 16px 0; color: #1b1300;
  display: flex; align-items: center; justify-content: center;
  transition: filter .15s ease;
}
.more:hover, .more[aria-expanded="true"] { filter: brightness(1.08); }
.more svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.more[aria-expanded="true"] svg { transform: rotate(180deg); }
.hint { margin: 14px 0 0; color: var(--dim); font-size: 13px; }

.menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  width: min(420px, 92vw); z-index: 30; text-align: left;
  background: var(--bg2); border: 1px solid var(--line2); border-radius: var(--r);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .55); padding: 8px;
  animation: pop .14s ease-out;
}
@keyframes pop { from { opacity: 0; transform: translate(-50%, -4px); } to { opacity: 1; transform: translate(-50%, 0); } }
.menu h4 { margin: 8px 10px 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.menu a, .menu .soon {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 12px; border-radius: 10px; font-size: 14px;
}
.menu a:hover, .menu a:focus-visible { background: var(--bg3); outline: none; }
.menu a > span, .menu .soon > span { white-space: nowrap; }
.menu a small, .menu .soon small { color: var(--dim); font-size: 12px; white-space: nowrap; }
.menu .rec { color: var(--gold); font-size: 10.5px; font-weight: 700; margin-left: 8px; white-space: nowrap; letter-spacing: .04em; }
.menu .soon { color: var(--dim); cursor: default; }
.menu hr { border: 0; border-top: 1px solid var(--line); margin: 6px 4px; }

/* ------------------------------------------------------ counter bar visual */
.stage { position: absolute; left: 0; right: 0; bottom: 34px; display: flex; justify-content: center; padding: 0 20px; pointer-events: none; }
.tribebar {
  display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: center;
  padding: 7px 12px; border-radius: 12px;
  background: rgba(14, 18, 28, .9); border: 1px solid var(--line2);
  box-shadow: 0 10px 40px rgba(0, 0, 0, .5);
  font-size: 14px; font-weight: 600;
}
.tribebar .ti { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 8px; background: rgba(255, 255, 255, .05); white-space: nowrap; }
.tribebar .ti i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.tribebar .ti b { color: var(--gold); font-weight: 700; }
.tribebar .ti.dim { color: var(--dim); }
.tribebar .tot { color: var(--dim); font-size: 12px; font-weight: 500; padding-left: 4px; }
.tribebar.small { font-size: 13px; }

/* ---------------------------------------------------------------- features */
.features { max-width: var(--maxw); margin: 0 auto; padding: 40px 20px 20px; display: flex; flex-direction: column; gap: 110px; }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.feat.rev .txt { order: 2; }
.num { color: var(--gold); font-weight: 800; font-size: 13px; letter-spacing: .12em; }
.feat h2 { margin: 6px 0 12px; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.12; letter-spacing: -.02em; }
.feat p { margin: 0; color: var(--dim); }
.feat p em { font-style: normal; color: var(--text); font-weight: 600; }
.feat ul { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
.feat li { position: relative; padding-left: 22px; font-size: 15px; }
.feat li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--gold); opacity: .85; }

.vis {
  position: relative; min-height: 360px;
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(400px 260px at 50% 40%, rgba(255, 215, 106, .07), transparent 70%),
    var(--bg2);
  border: 1px solid var(--line); border-radius: 22px; padding: 32px; overflow: hidden;
}
.vis-shot img { width: 340px; max-width: 100%; height: auto; border-radius: 12px; border: 1px solid var(--line2); box-shadow: 0 24px 70px rgba(0, 0, 0, .6); }
.vis-shot { padding-bottom: 0; align-items: flex-end; }
.vis-shot img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; }

.vis-bar { flex-direction: column; gap: 34px; }
.fake-board { display: flex; gap: 12px; }
.fake-board span { width: 54px; height: 72px; border-radius: 40% 40% 12px 12px; background: linear-gradient(180deg, #2a3348, #1a2131); border: 1px solid var(--line2); }

/* mock panels */
.mock { width: 100%; max-width: 380px; background: #0e121c; border: 1px solid var(--line2); border-radius: 14px; padding: 12px; box-shadow: 0 24px 70px rgba(0, 0, 0, .55); font-size: 13px; }
.opp-row { display: grid; grid-template-columns: 16px 30px 1fr auto; align-items: center; gap: 10px; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); margin-bottom: 6px; background: #151b29; }
.opp-row b { color: var(--dim); font-weight: 600; }
.opp-row .av { width: 30px; height: 30px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; color: #0e121c; }
.opp-row .nm { display: flex; flex-direction: column; font-weight: 600; line-height: 1.25; }
.opp-row small { color: var(--dim); font-weight: 400; font-size: 11.5px; }
.opp-row .tag { color: var(--dim); font-size: 12px; }
.opp-row .res { display: flex; flex-direction: column; align-items: flex-end; font-weight: 700; font-size: 12px; line-height: 1.25; }
.opp-row .res.w { color: var(--win); } .opp-row .res.t { color: var(--tie); }
.opp-row.me { border-color: rgba(255, 215, 106, .5); }
.opp-row.next { border-color: rgba(255, 215, 106, .8); box-shadow: 0 0 0 1px rgba(255, 215, 106, .35) inset; }
.opp-row.hover { background: #1d2536; border-color: var(--line2); }
.opp-detail { margin-top: 10px; padding: 10px 6px 2px; border-top: 1px solid var(--line); }
.opp-detail p { margin: 0 0 6px; }
.opp-detail .t { color: var(--tie); font-weight: 700; }
.opp-detail .cap { color: var(--dim); font-size: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chips span { padding: 2px 8px; border-radius: 6px; background: #1d2536; border: 1px solid var(--line); font-size: 12px; font-weight: 600; white-space: nowrap; }
.chips b { color: var(--gold); }
.chips .g { border-color: rgba(255, 215, 106, .55); background: rgba(255, 215, 106, .1); }

.dash .tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.dash .tiles div { background: #151b29; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; }
.dash .tiles b { display: block; color: var(--gold); font-size: 20px; line-height: 1.2; }
.dash .tiles span { color: var(--dim); font-size: 11.5px; }
.drow { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 10px; padding: 9px 6px; border-top: 1px solid var(--line); }
.drow .dn { display: flex; flex-direction: column; font-weight: 600; line-height: 1.3; }
.drow small { color: var(--dim); font-weight: 400; font-size: 11.5px; }
.pl { width: 28px; height: 28px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.p-top { background: rgba(95, 211, 141, .18); color: var(--win); }
.p-low { background: rgba(239, 106, 106, .18); color: var(--loss); }
.dd { font-weight: 800; } .dd.up { color: var(--win); } .dd.down { color: var(--loss); }

.toggle-mock { display: inline-flex; gap: 4px; padding: 4px; border-radius: 12px; background: rgba(14, 18, 28, .95); border: 1px solid var(--line2); box-shadow: 0 20px 60px rgba(0, 0, 0, .55); font-size: 15px; font-weight: 700; }
.toggle-mock span { padding: 7px 13px; border-radius: 9px; color: var(--dim); }
.toggle-mock .on { background: var(--gold); color: #1b1300; }
.toggle-mock .up { display: inline-flex; align-items: center; padding: 7px 9px; background: var(--win); color: #04140a; animation: pulse 2.4s ease-in-out infinite; }
.toggle-mock .up svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.toggle-wrap { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.tip-mock { max-width: 300px; padding: 10px 13px; border-radius: 10px; background: #151b29; border: 1px solid var(--line2); box-shadow: 0 12px 40px rgba(0,0,0,.5); font-size: 13px; line-height: 1.45; }
.tip-mock b { display: block; color: var(--win); }
.tip-mock small { display: block; color: var(--dim); margin-top: 2px; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(95, 211, 141, .5); } 50% { box-shadow: 0 0 0 8px rgba(95, 211, 141, 0); } }

/* ------------------------------------------------------------- trust / faq */
.trust, .faq, .again { max-width: var(--maxw); margin: 0 auto; padding: 110px 20px 0; }
.trust h2, .faq h2, .again h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -.02em; margin: 0 0 30px; text-align: center; }
.cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cols > div { background: var(--bg2); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; }
.cols h3 { margin: 0 0 6px; font-size: 17px; }
.cols p { margin: 0; color: var(--dim); font-size: 15px; }

.faq { max-width: 760px; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-weight: 600; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 22px; color: var(--gold); transition: transform .2s ease; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--dim); }

.again { text-align: center; padding-bottom: 40px; }
.dl-solo { border-radius: 16px; flex-direction: column; gap: 0; padding: 14px 30px; box-shadow: 0 10px 40px rgba(243, 185, 65, .2); }
.dl-solo small { min-height: 1em; }

footer { max-width: var(--maxw); margin: 80px auto 0; padding: 30px 20px 50px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; text-align: center; }
footer p { margin: 0 0 6px; }
footer .ver { opacity: .7; }

/* ------------------------------------------------------------------ mobile */
@media (max-width: 860px) {
  .feat { grid-template-columns: 1fr; gap: 28px; }
  .feat.rev .txt { order: 0; }
  .vis { min-height: 0; padding: 24px 16px; }
  .vis-shot { padding-bottom: 0; }
  .cols { grid-template-columns: 1fr; }
  .features { gap: 80px; }
  .top nav { display: none; }
  .stage { position: static; margin-top: 50px; }
  .hero { padding-bottom: 40px; }
}
@media (max-width: 420px) {
  .dl { padding: 14px 16px; gap: 10px; }
  .dl strong { font-size: 16px; }
  .opp-row { grid-template-columns: 14px 26px 1fr auto; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toggle-mock .up, .menu { animation: none; }
}

/* colours (no inline styles: the page has a strict CSP) */
.c-pirate { background: #e8b84a; } .c-quilboar { background: #d9768c; } .c-beast { background: #c98b3c; }
.c-elemental { background: #4fb3e8; } .c-murloc { background: #3fc4a3; }
.av.a1 { background: hsl(32, 55%, 62%); } .av.a2 { background: hsl(40, 55%, 62%); }
.av.a3 { background: hsl(215, 55%, 62%); } .av.a4 { background: hsl(235, 55%, 66%); }
