:root {
  --bg: #0a0c12;
  --panel: #121722;
  --panel-2: #1a2030;
  --text: #f7f7f3;
  --muted: #b9c0cf;
  --line: #2b3344;
  --accent: #ffcc00;
  --accent-dark: #b98500;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

a { color: inherit; text-decoration: none; }

img { display: block; width: 100%; height: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: rgba(10, 12, 18, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--accent);
}

.brand-mark { font-size: 26px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted);
}

.main-nav a:hover,
.main-nav a:focus {
  color: var(--bg);
  background: var(--accent);
}

.nav-toggle { display: none; }

.burger {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.burger span {
  width: 20px;
  height: 2px;
  background: var(--accent);
}

.section-band {
  padding: clamp(54px, 8vw, 92px) 0;
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  background:
    linear-gradient(115deg, rgba(255, 204, 0, 0.13), transparent 38%),
    radial-gradient(circle at 80% 20%, rgba(255, 204, 0, 0.12), transparent 34%),
    var(--bg);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(30px, 6vw, 70px);
  align-items: center;
}

.kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

h1, h2, h3, p { overflow-wrap: anywhere; }

h1 {
  max-width: 900px;
  margin: 0 0 20px;
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  color: var(--muted);
  font-size: 18px;
  max-width: 780px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.hero-stats div,
.team-card,
.prediction-list article,
.moment-grid article,
.table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats div {
  padding: 16px;
  min-height: 94px;
}

.hero-stats strong {
  display: block;
  color: var(--accent);
  font-size: 30px;
  line-height: 1.1;
}

.hero-stats span { color: var(--muted); font-size: 14px; }

.visual-card,
.wide-visual {
  margin: 0;
  border: 1px solid rgba(255, 204, 0, 0.38);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.34);
}

.visual-card img { aspect-ratio: 1.28 / 1; object-fit: cover; }

.wide-visual { margin: 28px 0; }

.section-heading {
  max-width: 860px;
  margin-bottom: 22px;
}

.section-heading p:not(.kicker) { color: var(--muted); font-size: 17px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.team-card,
.prediction-list article,
.moment-grid article {
  padding: 22px;
}

.team-card strong,
.prediction-list strong,
.moment-grid strong {
  color: var(--accent);
}

.team-card p,
.prediction-list p,
.moment-grid p { margin: 0; color: var(--muted); }

.table-band { background: #0d1018; }

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

th, td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

th {
  color: var(--accent);
  background: var(--panel-2);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

td:first-child,
td:last-child { font-weight: 900; color: var(--accent); }

tr:last-child td { border-bottom: 0; }

.prediction-list {
  display: grid;
  gap: 16px;
}

.moment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.final-band {
  background:
    linear-gradient(180deg, rgba(255, 204, 0, 0.08), transparent),
    var(--bg);
}

.prompt-band {
  background: #0d1018;
}

.prompt-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding-left: 24px;
  color: var(--muted);
}

.prompt-list li::marker { color: var(--accent); font-weight: 900; }

.site-footer {
  padding: 26px 0;
  background: #07090e;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.footer-grid nav {
  display: flex;
  gap: 14px;
  font-weight: 700;
}

.legal-page {
  padding: 58px 0 86px;
}

.legal-hero {
  padding: 72px 0 42px;
  background: linear-gradient(120deg, rgba(255, 204, 0, 0.14), transparent 45%), var(--bg);
  border-bottom: 1px solid var(--line);
}

.legal-section {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.legal-section p,
.legal-section li { color: var(--muted); }

@media (max-width: 860px) {
  .burger { display: inline-flex; }

  .main-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 66px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .nav-toggle:checked ~ .main-nav { display: flex; }

  .main-nav a { padding: 12px; }

  .hero-grid,
  .team-grid,
  .moment-grid {
    grid-template-columns: 1fr;
  }

  .hero { min-height: auto; }

  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .site-header { padding-inline: 14px; }
  .section-inner { width: min(100% - 28px, 1180px); }
  .hero-stats { grid-template-columns: 1fr; }
  .team-card, .prediction-list article, .moment-grid article { padding: 18px; }
  th, td { padding: 12px; }
}
