body {
  margin: 0;
}

.live-header {
  position: relative;
  max-width: 980px;
  margin: 16px auto 24px;
  padding: 30px 40px 38px;
  border-radius: 24px;
  background: radial-gradient(circle at top, #151826 0, #05060c 55%);
  color: #fff;
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.65),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.live-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 32%;
  background: linear-gradient(
    to top,
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0)
  );
  opacity: 0.5;
  pointer-events: none;
}

.live-header__label {
  text-align: center;
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
}

.live-header__title {
  text-align: center;
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.3;
  margin: 0 0 12px;
  color: #ffffff;
  font-weight: 600;
}

.live-header__body {
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.live-header__body span {
  font-weight: 600;
  color: #ffffff;
}

.header.navbar {
  padding-top: 0;
  padding-bottom: 0;
}

.header .navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1.15rem;
  padding-top: 0;
  padding-bottom: 0;
}

.header .brand-logo {
  width: 80px;
  height: auto;
  object-fit: contain;
  transform: none;
  transform-origin: center left;
}

.header .navbar-brand span {
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
}

.premium-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #0b1424;
  color: #f4d38a;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.premium-badge img {
  width: 22px;
  height: 22px;
  display: block;
}

.premium-badge .account-chip-crown {
  width: 22px;
  height: 22px;
}

.premium-badge .label {
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .header .navbar-brand {
    font-size: 1rem;
  }

  .header .brand-logo {
    width: 64px;
    height: auto;
  }

  .premium-badge {
    margin-top: 8px;
  }

  .live-header {
    margin: 12px auto 20px;
    padding: 24px 18px 28px;
    border-radius: 20px;
  }

  .live-header__label {
    font-size: 10px;
    letter-spacing: 0.28em;
  }

  .live-header__title {
    font-size: 22px;
  }

  .live-header__body {
    font-size: 14px;
  }
}

.container-fluid,
.content {
  max-width: 1440px;
  margin: auto;
}

#game-content {
  position: sticky;
  top: 70px;
  overflow-y: auto;
  border-color: #1bcfcf;
}

#game-content .card-header {
  background-color: #1bcfcf;
  color: #fff;
}

#game-content .card-header .fw-semibold {
  color: #fff;
}

#game-content api-sports-widget {
  max-height: calc(100vh - 100px);
}

#detail-content api-sports-widget {
  max-height: calc(100vh - 140px);
}

.detail-close {
  filter: invert(1);
  opacity: 0.8;
}

.detail-close:hover {
  opacity: 1;
}

#leagues-list {
  position: sticky;
  top: 70px;
  overflow-y: auto;
}

.match-card {
  border: 1px solid #dee2e6;
  border-radius: 0.5rem;
  padding: 0.75rem;
  margin-bottom: 0.75rem;
  background: #fff;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
}

.live-scores {
  display: none;
}

.standings-section {
  display: none;
}

.match-card .teams,
.match-card .match-teams {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.match-card .meta,
.match-card .match-time {
  font-size: 0.85rem;
  color: #6c757d;
}

.match-card .match-league {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #adb5bd;
  margin-bottom: 0.25rem;
}

.match-card .match-actions {
  margin-top: 0.75rem;
  text-align: right;
}

.motd-card {
  border: 1px solid #ffd166;
  background: linear-gradient(135deg, #fff8e1, #fff);
  border-radius: 0.75rem;
  padding: 1rem;
  box-shadow: 0 0.5rem 1rem rgba(255, 193, 7, 0.2);
}

.motd-card h3 {
  margin: 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #c28a00;
}

.motd-card h2 {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.4rem;
}

.trending-list {
  display: flex;
  flex-direction: column;
}

.live-filters .btn {
  min-width: 120px;
}

.standings-section table {
  width: 100%;
  border-collapse: collapse;
}

.standings-section th,
.standings-section td {
  padding: 0.5rem;
  border-bottom: 1px solid #e9ecef;
  font-size: 0.9rem;
}

.standings-section th {
  background: #f8f9fa;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
}
