@import url("https://fonts.googleapis.com/css2?family=Anton&family=Bebas+Neue&family=Inter:wght@400;500;600;700;800&display=swap");

:root {
  --ink: #0b0b0f;
  --panel: #16141c;
  --panel-soft: #1e1b26;
  --paper: #fbf3de;
  --text: #f1ece0;
  --muted: #a79f92;
  --gold: #e8b84b;
  --blood: #c81d25;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  background:
    repeating-linear-gradient(135deg, rgba(200,29,37,0.05) 0 2px, transparent 2px 34px),
    radial-gradient(circle at 15% 0%, rgba(200,29,37,0.22), transparent 40rem),
    radial-gradient(circle at 85% 10%, rgba(232,184,75,0.14), transparent 34rem),
    var(--ink);
  color: var(--text);
  min-height: 100vh;
}

a { color: inherit; }

.shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* ---------- header/nav ---------- */

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(11, 11, 15, 0.85);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  font-family: "Anton", Impact, sans-serif;
  letter-spacing: 0.03em;
  font-size: 1.5rem;
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
}

.brand b { color: var(--gold); }
.brand small {
  font-family: Inter, sans-serif;
  font-weight: 500;
  font-size: 0.7rem;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* ---------- hero ---------- */

.hero {
  padding: 64px 0 40px;
  text-align: center;
}

.hero h1 {
  font-family: "Anton", Impact, sans-serif;
  font-size: clamp(3rem, 9vw, 6rem);
  letter-spacing: 0.01em;
  margin: 0 0 6px;
  line-height: 0.95;
  color: var(--paper);
  text-shadow: 0 4px 0 var(--blood), 0 14px 30px rgba(200,29,37,0.35);
}

.hero .tagline {
  font-family: "Bebas Neue", "Anton", sans-serif;
  letter-spacing: 0.16em;
  color: var(--gold);
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero p.lede {
  max-width: 640px;
  margin: 0 auto 26px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.date-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line);
  background: var(--panel-soft);
  border-radius: 999px;
  padding: 10px 18px;
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 30px;
}
.date-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blood); box-shadow: 0 0 12px var(--blood); }

.cta-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blood), #8f1319);
  color: #fff5f2;
  box-shadow: 0 14px 30px rgba(200,29,37,0.35);
}
.btn-primary:hover { filter: brightness(1.08); }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- panels / sections ---------- */

section { padding: 34px 0; }

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px clamp(18px, 4vw, 40px);
}

.panel + .panel { margin-top: 22px; }

h2.section-title {
  font-family: "Anton", Impact, sans-serif;
  letter-spacing: 0.02em;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--paper);
  margin: 0 0 6px;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 22px;
  font-size: 0.98rem;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px;
}
@media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }

ol.timeline, ul.rules-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

ol.timeline li, ul.rules-list li {
  position: relative;
  padding-left: 42px;
  line-height: 1.55;
  color: var(--text);
}

ol.timeline { counter-reset: step; }
ol.timeline li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blood);
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
  display: grid;
  place-items: center;
}

ul.rules-list li::before {
  content: "🥊";
  position: absolute;
  left: 0;
  top: 0;
}

.callout {
  border-left: 3px solid var(--gold);
  background: rgba(232,184,75,0.08);
  padding: 14px 18px;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.96rem;
  line-height: 1.55;
}

.callout.danger {
  border-left-color: var(--blood);
  background: rgba(200,29,37,0.1);
}

.prize-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 8px;
}
@media (max-width: 760px) { .prize-row { grid-template-columns: repeat(2,1fr); } }

.prize-card {
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 18px;
  text-align: center;
}
.prize-card .rank {
  font-family: "Anton", sans-serif;
  font-size: 1.6rem;
  color: var(--gold);
}
.prize-card .desc { color: var(--muted); font-size: 0.85rem; margin-top: 4px; }

/* ---------- roster grid ---------- */

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.thumb {
  background: var(--panel-soft);
  border: 1px solid var(--frame, var(--line));
  border-radius: 14px;
  padding: 10px;
  text-align: center;
}

.thumb-art {
  aspect-ratio: 3/4;
  border-radius: 10px;
  overflow: hidden;
  background: #000;
  margin-bottom: 8px;
}
.thumb-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

.thumb-name { font-weight: 800; font-size: 0.92rem; }
.thumb-sponsor { color: var(--muted); font-size: 0.75rem; margin-top: 2px; }

/* ---------- noob cards (Pokemon-TCG style) ---------- */

.noob-card {
  --frame: #e8b84b;
  --glow: rgba(232,184,75,0.35);
  width: min(320px, 100%);
  background: var(--paper);
  color: #1b1608;
  border-radius: 18px;
  border: 6px solid var(--frame);
  box-shadow: 0 0 0 2px rgba(0,0,0,0.25), 0 20px 40px var(--glow);
  padding: 12px;
  font-family: Inter, sans-serif;
}

.noob-card-custom { padding: 0; overflow: hidden; border-width: 0; }
.custom-art { width: 100%; display: block; }

.card-top {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}

.basic-badge {
  background: #e5e5e5;
  border: 1px solid #999;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 6px;
  color: #333;
}

.card-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  margin: 0;
  flex: 1;
}

.card-hp { font-size: 0.78rem; font-weight: 700; color: #444; }
.card-hp b { font-size: 1.05rem; margin-left: 3px; color: #1b1608; }

.card-art {
  aspect-ratio: 4/3;
  border-radius: 10px;
  overflow: hidden;
  background: #333;
  border: 1px solid #00000022;
}
.card-art img { width: 100%; height: 100%; object-fit: cover; display: block; }
.art-fallback { width:100%; height:100%; display:grid; place-items:center; color:#888; font-size:2rem; }

.card-caption {
  font-size: 0.68rem;
  color: #6b5f3f;
  background: #f1e6c4;
  border-radius: 6px;
  padding: 3px 8px;
  margin: 6px 0 10px;
}

.pill {
  display: inline-block;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 0.66rem;
  font-weight: 800;
  color: #fff;
}
.pill-ability { background: var(--blood); }

.ability-name { font-weight: 800; margin-left: 6px; }
.ability-text { font-size: 0.78rem; margin: 6px 0 12px; line-height: 1.4; color: #3a3320; }

.card-move {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}
.move-cost { font-size: 0.85rem; }
.move-name { flex: 1; font-size: 0.95rem; }
.move-power { font-size: 1.1rem; }

.stat-bullets {
  margin: 6px 0 10px 18px;
  padding: 0;
  font-size: 0.76rem;
  color: #3a3320;
  line-height: 1.5;
}

.card-foot { border-top: 1px solid #00000022; padding-top: 8px; }
.wrr {
  display: flex;
  justify-content: space-between;
  font-size: 0.62rem;
  color: #6b5f3f;
  flex-wrap: wrap;
  gap: 4px;
}
.wrr b { color: #1b1608; }

/* ---------- game page ---------- */

.arena {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  justify-items: center;
}
@media (max-width: 760px) {
  .arena { grid-template-columns: 1fr; }
  .vs-badge { order: 2; }
}

.vs-badge {
  font-family: "Anton", sans-serif;
  font-size: 2rem;
  color: var(--blood);
  text-shadow: 0 0 20px rgba(200,29,37,0.5);
}

.fighter-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 100%;
}

.pick-btn {
  width: min(320px, 100%);
}

.fighter-slot.picked .noob-card { box-shadow: 0 0 0 3px var(--gold), 0 20px 40px var(--glow); }
.fighter-slot.not-picked .noob-card { opacity: 0.55; filter: grayscale(0.3); }

.reveal-panel {
  margin-top: 26px;
  text-align: center;
}

.reveal-line {
  font-size: 0.98rem;
  color: var(--text);
  margin-bottom: 6px;
}
.reveal-line b { color: var(--gold); }

.session-tally {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.85rem;
}

.vote-pill {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 700;
}

.leaderboard {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.leaderboard-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 0.92rem;
}

.leaderboard-rank { flex: none; width: 28px; font-weight: 800; text-align: center; }
.leaderboard-name { font-weight: 800; flex: 1; }
.leaderboard-sponsor { color: var(--muted); font-size: 0.8rem; }
.leaderboard-count { color: var(--gold); font-weight: 800; white-space: nowrap; }

footer.site {
  padding: 40px 0 60px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
footer.site a { color: var(--gold); text-decoration: none; }
