* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  color: #fff;
  background:
    radial-gradient(circle at top, rgba(0, 140, 255, .35), transparent 35%),
    linear-gradient(135deg, #020617, #061733 50%, #020617);
}

.app {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(70, 150, 255, .35);
  border-radius: 18px;
  background: rgba(4, 12, 30, .78);
  box-shadow: 0 0 30px rgba(0, 120, 255, .18);
}

.brand {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #ffd24a;
  text-shadow: 0 0 18px rgba(255, 210, 74, .55);
}

.subbrand {
  margin-top: 4px;
  color: #8fc7ff;
  font-weight: 700;
}

.status {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(0, 255, 150, .1);
  border: 1px solid rgba(0, 255, 150, .35);
  color: #9dffd2;
  font-weight: 700;
}

.player-section {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(280px, .8fr);
  gap: 16px;
  margin-top: 16px;
}

.player-box {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  border: 1px solid rgba(70, 150, 255, .45);
  box-shadow: 0 0 40px rgba(0, 120, 255, .22);
}

.player-box iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}

.empty-player {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8fc7ff;
  font-size: 20px;
  font-weight: 800;
}

.match-info {
  border: 1px solid rgba(255, 210, 74, .35);
  border-radius: 18px;
  padding: 18px;
  background: rgba(8, 18, 40, .78);
}

.small-title {
  color: #ffd24a;
  font-size: 20px;
  font-weight: 900;
}

.info-row {
  margin-top: 12px;
  padding: 10px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .06);
  color: #d9ecff;
}

.info-label {
  color: #8fc7ff;
  font-size: 12px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.open-link {
  display: block;
  margin-top: 14px;
  padding: 11px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  color: white;
  text-align: center;
  text-decoration: none;
  font-weight: 900;
}

.controls {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 0;
}

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tab {
  border: 1px solid rgba(70, 150, 255, .35);
  background: rgba(8, 18, 40, .78);
  color: #dbeafe;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 900;
  cursor: pointer;
}

.tab.active {
  background: linear-gradient(135deg, #ffd24a, #ff9d00);
  color: #111827;
}

.search {
  min-width: 280px;
  border: 1px solid rgba(70, 150, 255, .35);
  background: rgba(8, 18, 40, .78);
  color: #fff;
  border-radius: 999px;
  padding: 10px 16px;
  outline: none;
  font-weight: 700;
}

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

.card {
  border: 1px solid rgba(70, 150, 255, .28);
  border-radius: 18px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(12, 28, 60, .95), rgba(3, 10, 25, .95));
  cursor: pointer;
  transition: .15s ease;
}

.card:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 210, 74, .7);
  box-shadow: 0 0 24px rgba(255, 210, 74, .12);
}

.league {
  color: #ffd24a;
  font-weight: 900;
  font-size: 14px;
  margin-bottom: 12px;
}

.teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
}

.team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
}

.team.away {
  justify-content: flex-end;
  text-align: right;
}

.logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.vs {
  color: #8fc7ff;
  font-weight: 900;
}

.meta {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  color: #c7dcff;
  font-size: 13px;
}

.badge {
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(34, 197, 94, .14);
  color: #86efac;
  font-weight: 900;
}

.badge.no {
  background: rgba(239, 68, 68, .14);
  color: #fca5a5;
}

@media (max-width: 900px) {
  .player-section,
  .grid {
    grid-template-columns: 1fr;
  }

  .controls {
    flex-direction: column;
  }

  .search {
    min-width: 100%;
  }
}