:root {
  color-scheme: dark;
  --bg: #080b12;
  --panel: rgba(20, 25, 38, 0.82);
  --panel-strong: #151b29;
  --text: #f6f8ff;
  --muted: #aeb7cc;
  --brand: #f4bd24;
  --brand-2: #3f82ff;
  --line: rgba(255, 255, 255, 0.1);
  --ok: #42d392;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 5%, rgba(63, 130, 255, 0.17), transparent 30rem),
    radial-gradient(circle at 10% 20%, rgba(244, 189, 36, 0.13), transparent 26rem),
    var(--bg);
}

a { color: inherit; }

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 11, 18, 0.8);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { font-size: 1.35rem; font-weight: 900; letter-spacing: 0.04em; text-decoration: none; }
.brand span { color: var(--brand); }
.navlinks { display: flex; gap: 20px; color: var(--muted); font-weight: 650; }
.navlinks a { text-decoration: none; }
.navlinks a:hover, .navlinks a:focus-visible { color: var(--text); }

.hero { padding: 104px 0 72px; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center; }
.eyebrow { color: var(--brand); font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; }
h1 { margin: 14px 0 20px; font-size: clamp(2.6rem, 7vw, 5.7rem); line-height: 0.96; letter-spacing: -0.055em; }
.lead { max-width: 700px; color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 14px; border: 1px solid var(--line); background: var(--panel-strong); text-decoration: none; font-weight: 800; }
.button.primary { color: #10131a; background: var(--brand); border-color: var(--brand); }
.button:hover { transform: translateY(-2px); }

.match-card { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: 26px; background: linear-gradient(145deg, rgba(27, 34, 51, 0.95), rgba(13, 17, 27, 0.9)); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.match-card::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(120deg, rgba(244,189,36,.7), transparent 35%, rgba(63,130,255,.65)); mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude; pointer-events: none; }
.teams { display: flex; justify-content: space-between; align-items: center; gap: 14px; font-weight: 850; }
.score { color: var(--brand); font-size: 1.2rem; }
.metric { margin-top: 22px; }
.metric-head { display: flex; justify-content: space-between; color: var(--muted); font-size: .9rem; }
.bar { height: 8px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.08); }
.bar span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 20px 0 86px; }
.card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.card h2, .card h3 { margin-top: 0; }
.card p { margin-bottom: 0; color: var(--muted); line-height: 1.65; }

.page { padding: 72px 0 100px; }
.page-header { max-width: 760px; margin-bottom: 34px; }
.page h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.article { max-width: 880px; display: grid; gap: 16px; }
.article section { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); }
.article h2 { margin: 0 0 12px; font-size: 1.25rem; }
.article p, .article li { color: var(--muted); line-height: 1.7; }
.article p:last-child { margin-bottom: 0; }
.article strong { color: var(--text); }
.article a { color: #89b5ff; }
.notice { border-left: 3px solid var(--brand) !important; }
.lang-note { margin: 26px 0; color: var(--muted); }
.faq details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq details:first-of-type { border-top: 0; }
.faq summary { cursor: pointer; font-weight: 800; }

footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { min-height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }

@media (max-width: 760px) {
  .nav { align-items: flex-start; padding: 18px 0; }
  .navlinks { gap: 12px; font-size: .88rem; flex-wrap: wrap; justify-content: flex-end; }
  .hero { grid-template-columns: 1fr; padding-top: 72px; }
  .grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .match-card { animation: float 6s ease-in-out infinite; }
  .button { transition: transform .2s ease, background .2s ease; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}
