* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
body { background: #0a0e14; color: #fff; }

.header {
  position: relative;
  height: 220px;
  background: url('https://i.imgur.com/8K3p0Zx.jpg') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,14,20,0.3), #0a0e14);
}
.countdown-box {
  position: relative;
  background: rgba(20, 25, 35, 0.9);
  border-radius: 16px;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  text-align: center;
  backdrop-filter: blur(10px);
}
.countdown-title {
  font-size: 12px;
  color: #94a3b8;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.teams {
  display: flex;
  align-items: center;
  justify-content: space-around;
  margin-bottom: 16px;
}
.team {
  text-align: center;
}
.team img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  margin-bottom: 6px;
}
.team-name {
  font-size: 14px;
  font-weight: 600;
}
.vs {
  font-size: 12px;
  color: #64748b;
}
.timer {
  display: flex;
  gap: 8px;
  justify-content: center;
}
.time-unit {
  background: #1e293b;
  padding: 10px;
  border-radius: 8px;
  min-width: 60px;
}
.time-unit.num {
  font-size: 24px;
  font-weight: 700;
}
.time-unit.label {
  font-size: 10px;
  color: #94a3b8;
}

.nav-tabs {
  display: flex;
  align-items: center;
  background: #0a0e14;
  padding: 12px;
  gap: 12px;
  overflow-x: auto;
}
.tab {
  padding: 8px 16px;
  border-radius: 20px;
  background: #1e293b;
  color: #94a3b8;
  font-size: 14px;
  white-space: nowrap;
  cursor: pointer;
}
.tab.active {
  background: #2563eb;
  color: #fff;
}
.tab.live {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #ef4444;
}
.dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
 0%, 100% { opacity: 1; }
 50% { opacity: 0.5; }
}

.search-box {
  padding: 12px;
}
.search-box input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: none;
  background: #1e293b;
  color: #fff;
  font-size: 14px;
}
.search-box input::placeholder {
  color: #64748b;
}

.match-list {
  padding: 0 12px 80px;
}
.league-card {
  background: #131923;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
}
.league-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px;
  font-weight: 600;
}
.league-header img {
  width: 24px;
  height: 24px;
}
.match-item {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-top: 1px solid #1e293b;
  gap: 12px;
  cursor: pointer;
}
.match-item:hover {
  background: #1e293b;
}
.match-item img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}
.team-info {
  flex: 1;
}
.team-info.name {
  font-size: 15px;
  font-weight: 500;
}
.match-time {
  text-align: right;
  font-size: 13px;
}
.match-time.date {
  color: #94a3b8;
  font-size: 12px;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #131923;
  display: flex;
  justify-content: space-around;
  padding: 10px 0;
  border-top: 1px solid #1e293b;
}
.nav-item {
  text-align: center;
  font-size: 11px;
  color: #64748b;
  cursor: pointer;
}
.nav-item i {
  font-size: 20px;
  display: block;
  margin-bottom: 4px;
}
.nav-item.active {
  color: #facc15;
}

/* Modal Player */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 1000;
  flex-direction: column;
}
.modal.show {
  display: flex;
}
.modal-header {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #131923;
}
.modal-header h3 {
  font-size: 16px;
}
.close {
  font-size: 28px;
  cursor: pointer;
  color: #94a3b8;
}
video {
  width: 100%;
  height: 50vh;
  background: #000;
}
.channel-list {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
}
.channel-item {
  padding: 14px 16px;
  background: #1e293b;
  margin-bottom: 8px;
  border-radius: 8px;
  cursor: pointer;
}
.channel-item:hover {
  background: #2563eb;
}