body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 20px;
  background: linear-gradient(135deg, #0033A0 0%, #1e5fb8 100%);
  min-height: 100vh;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
  overflow: hidden;
}

.header {
  background: linear-gradient(135deg, #0033A0 0%, #002868 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.game-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.game-info {
  font-size: 1.1rem;
  opacity: 0.9;
}

.final-score {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  margin: 20px 0 0 0;
  border-radius: 8px;
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.content {
  padding: 30px;
}

.section {
  margin-bottom: 40px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #0033A0;
  margin: 0 0 20px 0;
  padding-bottom: 10px;
  border-bottom: 3px solid #CE1126;
}

.score-summary {
  background: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 30px;
  overflow: hidden;
}

.score-summary-table {
  width: 100%;
  border-collapse: collapse;
}

.score-summary-table th,
.score-summary-table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #dee2e6;
}

.score-summary-table th {
  background: #e9ecef;
  font-weight: 600;
  color: #495057;
}

.score-summary-table .team-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.score-summary-table .final-score-cell {
  font-size: 1.5rem;
  font-weight: 700;
}

.events-timeline {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 20px;
}

.event-item {
  display: flex;
  align-items: center;
  padding: 12px;
  border-left: 4px solid #0033A0;
  margin-bottom: 10px;
  background: white;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.event-period {
  background: #0033A0;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  margin-right: 15px;
  min-width: 30px;
  text-align: center;
}

.event-details {
  flex: 1;
}

.event-type {
  font-weight: 600;
  color: #0033A0;
  margin-bottom: 4px;
}

.event-description {
  color: #666;
  font-size: 0.95rem;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.stats-table th {
  background: linear-gradient(135deg, #0033A0 0%, #002868 100%);
  color: white;
  padding: 15px 12px;
  text-align: left;
  font-weight: 600;
  font-size: 0.9rem;
}

.stats-table td {
  padding: 12px;
  border-bottom: 1px solid #eee;
  font-size: 0.9rem;
}

.stats-table tr:nth-child(even) {
  background-color: #f8f9fa;
}

.stats-table tr:hover {
  background-color: #e3f2fd;
}

.team-section {
  margin-bottom: 40px;
}

.team-header {
  background: linear-gradient(90deg, #0033A0 0%, #1e5fb8 100%);
  color: white;
  padding: 15px 20px;
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 20px;
  border-radius: 8px;
}

.back-link {
  display: inline-block;
  background: #CE1126;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  margin-bottom: 20px;
  transition: background 0.2s ease;
}

.back-link:hover {
  background: #a00e1f;
}

@media (max-width: 768px) {
  .container {
    border-radius: 0;
  }

  .header {
    padding: 20px;
  }

  .game-title {
    font-size: 1.8rem;
  }

  .final-score {
    font-size: 2rem;
    padding: 15px;
  }

  .content {
    padding: 20px;
  }

  .score-summary {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }

  .stats-table th,
  .stats-table td {
    padding: 8px 6px;
    font-size: 0.8rem;
  }
}