:root {
  --green: #009a49;
  --green-dark: #00783a;
  --black: #141414;
  --ink: #222;
  --muted: #6b7280;
  --line: #e7e7e7;
  --paper: #fff;
  --bg: #f3f5f4;
  --danger: #d71920;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }
.topbar { background: var(--black); color: #fff; border-bottom: 5px solid var(--green); }
.topbar-inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; gap: 14px; align-items: center; }
.brand-mark { width: 54px; height: 54px; border-radius: 8px; background: var(--green); display: grid; place-items: center; font-weight: 900; font-size: 20px; transform: skew(-6deg); }
.brand-title { font-size: 24px; font-weight: 900; letter-spacing: .03em; }
.brand-subtitle { font-size: 13px; opacity: .72; margin-top: 2px; }
.source-pill { font-size: 12px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; background: rgba(255,255,255,.06); }

.hero { background: linear-gradient(115deg, #0e1511 0%, #183125 100%); color: #fff; padding: 58px 0 54px; }
.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.eyebrow { color: #8fe0b3; font-size: 12px; font-weight: 800; letter-spacing: .15em; }
h1 { font-size: clamp(42px, 7vw, 78px); line-height: .98; margin: 14px 0 14px; letter-spacing: -.045em; max-width: 760px; }
.lead { margin: 0; color: rgba(255,255,255,.74); font-size: 18px; max-width: 670px; }
.match-date { padding: 12px 16px; border-left: 4px solid var(--green); background: rgba(255,255,255,.08); font-weight: 800; white-space: nowrap; }

.content-grid, .lower-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, .85fr); gap: 24px; margin-top: 28px; }
.lower-grid { margin-bottom: 42px; }
.card { background: var(--paper); border-radius: 14px; box-shadow: 0 8px 30px rgba(0,0,0,.055); border: 1px solid #eceeed; overflow: hidden; }
.score-card { padding: 28px; }
.match-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.status { background: #ecf7f1; color: var(--green-dark); border-radius: 999px; padding: 8px 10px; font-weight: 900; }
.status.live { background: #ffe9ea; color: var(--danger); }

.scoreboard { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; min-height: 245px; }
.team { text-align: center; }
.team h2 { margin: 12px auto 0; font-size: clamp(20px, 2.6vw, 31px); line-height: 1.05; max-width: 260px; }
.team-badge { width: 66px; height: 66px; border-radius: 50%; margin: 0 auto; display: grid; place-items: center; background: var(--green); color: #fff; font-size: 27px; font-weight: 900; }
.team-badge.neutral { background: #efefef; color: #222; }
.score-center { text-align: center; min-width: 170px; }
.score { display: flex; justify-content: center; gap: 10px; align-items: center; font-size: clamp(54px, 7vw, 86px); font-weight: 950; letter-spacing: -.06em; color: var(--black); }
.score .colon { color: var(--green); font-size: .72em; transform: translateY(-3px); }
.clock { margin-top: -3px; color: var(--muted); font-weight: 800; }
.match-details { display: grid; grid-template-columns: 1.35fr 1fr 1fr; gap: 16px; border-top: 1px solid var(--line); padding-top: 20px; }
.match-details div { display: flex; flex-direction: column; gap: 4px; }
.detail-label { text-transform: uppercase; letter-spacing: .08em; font-size: 10px; color: var(--muted); font-weight: 800; }

.info-card, .collector-card { padding: 26px; }
.section-title { color: var(--green); text-transform: uppercase; font-size: 12px; letter-spacing: .12em; font-weight: 900; }
.info-card .big-status { font-size: 30px; font-weight: 900; margin: 10px 0; line-height: 1.05; }
.info-card p, .collector-card p { color: var(--muted); line-height: 1.6; }
.countdown { font-weight: 900; font-size: 18px; margin: 22px 0; }
.button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; font-weight: 800; border-radius: 9px; padding: 12px 16px; }
.button.secondary { background: #f0f3f1; color: #222; }

.ticker-card { padding: 0; }
.section-head { padding: 24px 26px 18px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border-bottom: 1px solid var(--line); }
.section-head h3, .collector-card h3 { margin: 5px 0 0; font-size: 26px; }
.live-dot-wrap { font-size: 12px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.live-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 5px rgba(0,154,73,.10); }
.events { min-height: 190px; }
.empty-state { padding: 30px 26px; color: var(--muted); line-height: 1.55; }
.event { display: grid; grid-template-columns: 86px 1fr; gap: 14px; padding: 15px 26px; border-bottom: 1px solid var(--line); }
.event:last-child { border-bottom: 0; }
.event time { color: var(--green-dark); font-weight: 900; }
.event strong { display: block; margin-bottom: 3px; }
.event span { color: #4b5563; line-height: 1.45; }

.stats { display: grid; gap: 0; margin: 22px 0 0; }
.stats div { padding: 13px 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; }
.stats dt { color: var(--muted); }
.stats dd { margin: 0; font-weight: 900; text-align: right; }
.hash { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

footer { background: #0f1110; color: rgba(255,255,255,.67); font-size: 12px; }
.footer-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }

@media (max-width: 880px) {
  .hero-grid, .content-grid, .lower-grid { grid-template-columns: 1fr; }
  .match-date { justify-self: start; }
  .scoreboard { grid-template-columns: 1fr; gap: 14px; padding: 28px 0; }
  .score-center { order: -1; }
  .match-details { grid-template-columns: 1fr; }
  .team-badge { width: 48px; height: 48px; font-size: 20px; }
  .team h2 { margin-top: 7px; }
}

@media (max-width: 560px) {
  .wrap { width: min(100% - 20px, 1180px); }
  .topbar-inner { min-height: 74px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-title { font-size: 20px; }
  .source-pill { display: none; }
  .hero { padding: 38px 0; }
  h1 { font-size: 46px; }
  .score-card, .info-card, .collector-card { padding: 20px; }
  .section-head { padding: 20px; }
  .event { grid-template-columns: 72px 1fr; padding: 14px 20px; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; padding: 18px 0; }
}
