:root {
  --blue-team: #005bb5;
  --yellow-team: #ffd000;
  --dark-bg: #111827;
  --light-bg: #f3f4f6;
  --text-color: #1f2937;
  --card-bg: #ffffff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', Impact, Roboto, sans-serif;
  background-color: var(--light-bg);
  color: var(--text-color);
  line-height: 1.5;
}

/* Navigace */
header {
  background-color: var(--dark-bg);
  color: white;
  border-bottom: 5px solid var(--yellow-team);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
}

.logo {
  font-size: 1.4rem;
  font-weight: 900;
  color: white;
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  color: #ef4444;
  margin: 0 5px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 1.2rem;
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--yellow-team);
}

/* Hero sekce */
.hero {
  background: linear-gradient(rgba(0, 30, 60, 0.85), rgba(17, 24, 39, 0.95)),
              url('https://images.unsplash.com/photo-1580748141549-71748dbe0bdc?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  color: white;
  text-align: center;
  padding: 3.5rem 1rem;
}

.hero h1 {
  font-size: 2.8rem;
  margin: 0.8rem 0;
  text-transform: uppercase;
}

.hero h1 span {
  color: var(--yellow-team);
}

.hero p {
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto;
  color: #d1d5db;
}

.badge {
  display: inline-block;
  background-color: var(--yellow-team);
  color: #000;
  font-weight: 900;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  text-transform: uppercase;
  font-size: 0.8rem;
}

/* Skóre Board / Bilance */
.score-board {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
  border: 2px dashed #cbd5e1;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-name {
  font-weight: 900;
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.team-wins {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.team.blue .team-wins { color: var(--blue-team); }
.team.yellow .team-wins { color: #d97706; }

.vs {
  font-size: 1.5rem;
  font-weight: 900;
  color: #94a3b8;
}

.subtext {
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

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

.card {
  background: var(--card-bg);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--dark-bg);
}

.card h2 {
  color: var(--dark-bg);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

/* Tabulky */
.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  padding: 0.75rem 0.5rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
  font-size: 0.95rem;
}

th {
  background-color: #f8fafc;
  color: var(--dark-bg);
  font-weight: 800;
}

/* Stadiony Badges */
.stadium-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 700;
}

.stadium-badge.trebon { background: #e0f2fe; color: #0369a1; }
.stadium-badge.veseli { background: #fef3c7; color: #b45309; }

/* Výsledky statusy */
.status {
  font-weight: bold;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
}

.status.win-blue { background: #dbeafe; color: var(--blue-team); }
.status.win-yellow { background: #fef9c3; color: #a16207; }
.status.draw { background: #f3f4f6; color: #4b5563; }

/* Formulář */
.form-group {
  margin-bottom: 1rem;
}

.form-row {
  display: flex;
  gap: 0.8rem;
}

.form-row .form-group {
  flex: 1;
}

label {
  display: block;
  margin-bottom: 0.3rem;
  font-weight: 700;
  font-size: 0.85rem;
}

input, select {
  width: 100%;
  padding: 0.6rem;
  border: 2px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.95rem;
}

input:focus, select:focus {
  outline: none;
  border-color: var(--blue-team);
}

.btn {
  background-color: var(--yellow-team);
  color: #000;
  border: none;
  padding: 0.8rem;
  font-weight: 900;
  font-size: 1rem;
  border-radius: 6px;
  cursor: pointer;
  width: 100%;
  text-transform: uppercase;
  transition: transform 0.1s, background 0.2s;
}

.btn:hover {
  background-color: #eab308;
  transform: translateY(-2px);
}

/* Patička */
footer {
  background-color: var(--dark-bg);
  color: white;
  text-align: center;
  padding: 2rem;
  margin-top: 3rem;
  border-top: 5px solid var(--yellow-team);
  font-weight: bold;
}
