:root {
  --bg: #05060a;
  --bg-alt: #101422;
  --accent: #1ea0ff;
  --accent-soft: rgba(30, 160, 255, 0.18);
  --text: #f7f7f7;
  --muted: #a0a4b5;
  --border: #24293a;
  --success: #52c41a;
  --danger: #ff4d4f;
  --maxw: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #171d33 0, #05060a 50%);
  color: var(--text);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5,6,10,0.95), rgba(5,6,10,0.88));
}
.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 0;
  flex-wrap: wrap;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.logo-text span:first-child {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.logo-text span:last-child {
  font-size: 16px;
  font-weight: 600;
}
nav ul {
  display: flex;
  gap: 14px;
  font-size: 14px;
  flex-wrap: wrap;
}
nav a {
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--muted);
  transition: 0.15s ease;
  border: 1px solid transparent;
}
nav a:hover {
  color: var(--text);
  border-color: var(--accent-soft);
  background: rgba(255,255,255,0.02);
}
nav a.active {
  color: var(--text);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #000;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.18s ease;
  white-space: nowrap;
}
.btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.45);
}
.btn-outline {
  border-color: var(--accent-soft);
  background: transparent;
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}

main { padding-bottom: 56px; }

.hero {
  padding: 28px 0 22px;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid var(--accent-soft);
  background: rgba(9, 12, 20, 0.9);
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}
.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(82,196,26,0.2);
}
.hero-title {
  font-size: clamp(26px, 3.1vw, 34px);
  font-weight: 700;
  margin-bottom: 8px;
}
.hero-subtitle {
  font-size: 14px;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 16px;
}
.hero-tags,
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}
.hero-tags span,
.pill-row span {
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(8, 11, 19, 0.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.hero-note {
  font-size: 12px;
  color: var(--muted);
}

.hero-panel {
  border-radius: 22px;
  border: 1px solid var(--border);
  background: radial-gradient(circle at top, #202744 0, #05060a 60%);
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
}
.hero-panel h3 {
  font-size: 14px;
  margin-bottom: 6px;
}
.hero-panel p {
  color: var(--muted);
}
.hero-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
}
.hero-chip {
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(30,160,255,0.12);
  border: 1px solid rgba(30,160,255,0.5);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section {
  padding: 20px 0;
  border-top: 1px solid rgba(32,35,50,0.9);
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.section-title {
  font-size: 18px;
  font-weight: 600;
}
.section-subtitle {
  font-size: 13px;
  color: var(--muted);
  max-width: 520px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.card {
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 12px 12px 10px;
  font-size: 13px;
}
.card h3 {
  font-size: 14px;
  margin-bottom: 4px;
}
.card p {
  color: var(--muted);
  margin-bottom: 4px;
}

.match-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}
.match-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(8, 11, 19, 0.9);
}
.match-side {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.match-teams {
  font-weight: 500;
}
.match-meta {
  font-size: 12px;
  color: var(--muted);
}
.match-score {
  font-weight: 600;
  font-size: 14px;
  min-width: 56px;
  text-align: right;
}
.match-score.win { color: var(--success); }
.match-score.loss { color: var(--danger); }

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table th, .table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border);
  text-align: left;
}
.table th {
  font-weight: 500;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--border);
  padding: 16px 0 22px;
  font-size: 12px;
  color: var(--muted);
  background: linear-gradient(to top, #05060a, rgba(5,6,10,0.95));
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-links a {
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  nav ul {
    display: none;
  }
  .header-inner {
    justify-content: space-between;
  }
}
@media (max-width: 700px) {
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-panel {
    order: -1;
  }
  .match-item {
    flex-direction: column;
    align-items: flex-start;
  }
}
