* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 24px;
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  color: #1f2937;
}

.hero {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, #5c6ac4, #1d4ed8);
  color: #fff;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.hero-left {
  flex: 0 0 260px;
}

.cover {
  width: 100%;
  max-width: 260px;
  border-radius: 16px;
  display: block;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.hero-right {
  flex: 1;
  min-width: 240px;
}

.hero-right h1 {
  margin: 0 0 8px;
  font-size: 2rem;
}

.hero-right p {
  margin: 0 0 14px;
  opacity: 0.95;
}

.tv-hero-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 14px 0;
  align-items: center;
}

.tv-hero-logos img {
  height: 36px;
  width: auto;
  background: #fff;
  padding: 6px 10px;
  border-radius: 12px;
  object-fit: contain;
}

.controls {
  margin-top: 10px;
}

.controls button {
  border: 0;
  padding: 10px 14px;
  border-radius: 10px;
  margin-right: 8px;
  cursor: pointer;
  font-weight: bold;
  background: #fff;
  color: #1d4ed8;
}

main section {
  margin-bottom: 28px;
}

h2 {
  margin-bottom: 14px;
}

.grid,
.matches,
.bracket {
  display: grid;
  gap: 14px;
}

.grid,
.bracket {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card,
.match {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.group-title,
.stage-title {
  margin: 0 0 10px;
}

.team {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  border-bottom: 1px solid #e5e7eb;
  gap: 10px;
}

.team:last-child {
  border-bottom: 0;
}

.match-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
  color: #6b7280;
  font-size: 14px;
}

.match-row {
  display: grid;
  grid-template-columns: 1fr auto auto 1fr;
  gap: 10px;
  align-items: center;
}

.score {
  width: 64px;
  padding: 8px;
  text-align: center;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
}

.tv-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tv {
  background: #eef2ff;
  color: #3730a3;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: bold;
}

.placeholder {
  color: #6b7280;
  font-style: italic;
}

@media (max-width: 700px) {
  body {
    padding: 14px;
  }

  .hero {
    padding: 16px;
  }

  .match-row {
    grid-template-columns: 1fr;
  }

  .score {
    width: 100%;
  }

  .controls button {
    margin-bottom: 8px;
  }
}