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

body {
  font-family: 'Segoe UI', sans-serif;
  background: #1c994e;
  color: #e0e0e0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px;
}

.container {
  width: 100%;
  max-width: 700px;
}

.header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 32px;
}

.logo {
  height: 160px;
  width: auto;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #000000;
}

.title-main {
  font-size: 3rem;
}

.subtitle {
  color: #373a38;
  margin-top: 4px;
  font-size: 0.95rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #f0f7f1;
  border-radius: 12px;
  overflow: hidden;
  color: #1a1a1a;
}

thead tr {
  background: #d4ecd8;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1px;
  color: #4a6b50;
}

th, td {
  padding: 14px 20px;
  text-align: left;
}

th:not(:first-child):not(:nth-child(2)),
td:not(:first-child):not(:nth-child(2)) {
  text-align: center;
}

tbody tr {
  border-top: 1px solid #c8e0cc;
  transition: background 0.15s;
}

tbody tr:hover {
  background: #dff0e2;
}

/* Top 3 rank highlights — handled by JS classes */

.team-name {
  font-weight: 600;
  color: #1a1a1a;
}

.points {
  font-weight: 700;
  color: #2a6e3f;
}

/* Top 3 rank highlights — applied via JS classes */
tr.rank-1 .rank { color: #b8860b; font-weight: 700; }
tr.rank-2 .rank { color: #707070; font-weight: 700; }
tr.rank-3 .rank { color: #a0522d; font-weight: 700; }

tr.rank-1 { border-left: 3px solid #ffd700; }
tr.rank-2 { border-left: 3px solid #c0c0c0; }
tr.rank-3 { border-left: 3px solid #cd7f32; }
