* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0b1220;
  color: white;
}

header {
  text-align: center;
  padding: 35px 20px;
  background: linear-gradient(135deg, #166534, #16a34a);
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 25px;
}

.panel {
  background: #111827;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 14px;
  border: 1px solid #1f2937;
}

input,
select,
button {
  width: 100%;
  padding: 12px;
  margin: 7px 0;
  border-radius: 8px;
  border: none;
  font-size: 1rem;
}

button {
  background: #22c55e;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

button:hover {
  background: #16a34a;
}

ul {
  padding-left: 20px;
}

.match-calendar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.match-card {
  background: #111827;
  border: 1px solid #1f2937;
  border-radius: 16px;
  padding: 20px;
}

.match-card h3 {
  color: #22c55e;
  margin-top: 0;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 15px;
}

.time-box {
  background: #020617;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}

.time-box strong {
  display: block;
  font-size: 1.3rem;
}

.time-box span {
  font-size: 0.75rem;
  color: #94a3b8;
}

.status {
  margin-top: 15px;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  font-weight: bold;
}

.upcoming {
  background: #1e40af;
}

.live {
  background: #dc2626;
}

.finished {
  background: #374151;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
  background: #020617;
  border-radius: 10px;
  overflow: hidden;
}

.stats-table th,
.stats-table td {
  padding: 10px;
  border-bottom: 1px solid #1f2937;
  text-align: center;
}

.stats-table th {
  background: #16a34a;
  color: white;
}

.stats-table td:first-child,
.stats-table th:first-child {
  text-align: left;
}
