* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(180deg, #020817 0%, #071339 100%);
  color: #f8fafc;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 22px 24px 60px;
}
.hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}
.eyebrow {
  color: #57a0ff;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin: 0 0 8px;
}
h1 { margin: 0 0 8px; font-size: 56px; line-height: 1.05; }
.subtitle { color: #b8c7e0; margin: 0; max-width: 720px; font-size: 16px; }
.hero-badge {
  border: 1px solid #275a9b;
  color: #d7e8ff;
  background: rgba(24, 58, 109, .45);
  border-radius: 999px;
  padding: 16px 22px;
  white-space: nowrap;
}
.card {
  background: rgba(15, 25, 60, .82);
  border: 1px solid rgba(88, 116, 181, .28);
  border-radius: 24px;
  box-shadow: 0 12px 32px rgba(2, 7, 23, .35);
}
.filters, .summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 24px;
  margin-bottom: 18px;
}
.filter-group { display: flex; flex-direction: column; gap: 10px; }
label { color: #bcd0ee; font-size: 14px; }
select {
  min-width: 260px;
  background: rgba(26, 40, 82, .95);
  border: 1px solid rgba(92, 117, 180, .32);
  color: #fff;
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 16px;
}
.date-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.date-pill {
  border: 1px solid rgba(92, 117, 180, .32);
  color: #d7e8ff;
  background: rgba(26, 40, 82, .78);
  border-radius: 999px;
  padding: 10px 16px;
  cursor: pointer;
}
.date-pill.active {
  background: #4ca3ff;
  border-color: #4ca3ff;
  color: #07152f;
  font-weight: 700;
}
.secondary-button {
  border: 1px solid rgba(92, 117, 180, .32);
  color: #fff;
  background: rgba(26, 40, 82, .95);
  border-radius: 16px;
  padding: 12px 18px;
  cursor: pointer;
}
.match-group { margin-top: 26px; }
.group-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 8px 14px;
}
.group-header h2 { margin: 0; font-size: 22px; }
.group-count {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(26, 40, 82, .95);
  color: #dce8ff;
  border: 1px solid rgba(92, 117, 180, .32);
}
.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 18px;
}
.match-card { padding: 18px; }
.match-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.match-meta { color: #d5e1f5; font-size: 15px; }
.match-round { color: #9fb2d3; margin-top: 4px; font-size: 14px; }
.match-time { font-size: 22px; font-weight: 800; color: #fff; }
.teams { display: grid; gap: 14px; }
.team-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 20px;
  background: rgba(28, 41, 79, .9);
  border: 1px solid rgba(90, 109, 160, .22);
}
.team-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.team-logo-wrap {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(180deg, #1f2f62, #273978);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(138, 163, 222, .2);
}
.team-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  display: none;
}
.team-fallback {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(180deg, #742ed3, #3d62e0);
}
.team-name {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-score {
  font-size: 24px;
  font-weight: 900;
  color: #f8fafc;
  min-width: 24px;
  text-align: right;
}
.match-footer {
  margin-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 12px;
}
.footer-label { color: #a8b8d8; margin-bottom: 10px; }
.channels-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.channel-badge {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(56, 82, 136, .35);
  border: 1px solid rgba(104, 128, 187, .28);
  color: #e8f0ff;
  font-size: 14px;
  font-weight: 700;
}
.channel-badge.muted {
  opacity: .8;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}
.status-pill[data-status="live"] {
  background: rgba(194, 26, 61, .18);
  border: 1px solid rgba(231, 72, 109, .35);
  color: #ff8ca5;
}
.status-pill[data-status="finished"] {
  background: rgba(12, 102, 73, .22);
  border: 1px solid rgba(46, 170, 125, .35);
  color: #9af0c7;
}
.status-pill[data-status="postponed"] {
  background: rgba(139, 92, 24, .24);
  border: 1px solid rgba(225, 161, 57, .35);
  color: #ffd58a;
}
.status-pill[data-status="scheduled"] {
  background: rgba(12, 102, 73, .22);
  border: 1px solid rgba(46, 170, 125, .35);
  color: #9af0c7;
}
.loading-card,
.empty-state {
  padding: 26px;
  color: #dce8ff;
}
@media (max-width: 900px) {
  h1 { font-size: 42px; }
  .hero, .filters, .summary { flex-direction: column; }
  .hero-badge { align-self: flex-start; }
  select { width: 100%; min-width: 0; }
}
