.classifica-head h1 {
  margin: 0;
  font-family: "Bebas Neue", sans-serif;
  font-size: 38px;
  letter-spacing: 2px;
  color: #1a1f2e;
}

.classifica-tabs {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 12px 18px;
  border: 2px solid #d7e2f3;
  border-radius: 14px;
  background: linear-gradient(180deg, #f7faff 0%, #eef4ff 100%);
  color: #6f7f99;
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  letter-spacing: 2.2px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(19, 41, 73, 0.08);
  transition: transform .15s ease, box-shadow .15s ease, color .15s ease, border-color .15s ease, background .15s ease;
}

.tab-btn:hover {
  transform: translateY(-2px);
  color: #1f6feb;
  text-decoration: none;
  border-color: #8db4f3;
  box-shadow: 0 12px 24px rgba(19, 41, 73, 0.14);
}

.tab-btn.active {
  color: #ffffff;
  border-color: #0f54c8;
  background: linear-gradient(180deg, #1f6feb 0%, #144fb3 100%);
  box-shadow: 0 14px 28px rgba(18, 66, 148, 0.28);
}

.section-title {
  margin: 0 0 12px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 28px;
  letter-spacing: 1.4px;
  color: #1a1f2e;
}

.podium-grid {
  display: grid;
  gap: 12px;
}

.podium-count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.podium-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.podium-count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.podium-item {
  display: block;
  border: 1px solid #dce4f3;
  border-radius: 12px;
  background: linear-gradient(180deg, #f9fbff 0%, #ffffff 100%);
  padding: 14px;
  text-align: center;
  color: inherit;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}

.podium-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(16, 32, 54, 0.10);
  text-decoration: none;
  color: inherit;
}

.podium-item.rank-1 {
  border-color: #f0d37e;
  background: linear-gradient(180deg, #fff9e9 0%, #fffef9 100%);
}

.podium-item.rank-2 {
  border-color: #d4dbe6;
}

.podium-item.rank-3 {
  border-color: #e9c8aa;
}

.podium-rank {
  font-family: "Bebas Neue", sans-serif;
  font-size: 36px;
  line-height: 1;
  color: #1f6feb;
}

.podium-photo {
  margin-top: 8px;
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #dfe6f2;
  background: #d0d3da;
}

.podium-name {
  margin-top: 9px;
  font-family: "Oswald", sans-serif;
  font-size: 21px;
  line-height: 1.1;
  color: #1a1f2e;
  text-transform: uppercase;
}

.podium-score {
  margin-top: 5px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 34px;
  line-height: 1;
  color: #1f6feb;
}

.podium-meta {
  margin-top: 3px;
  color: #7a889f;
  font-size: 14px;
}

.table-wrap {
  overflow-x: auto;
}

.classifica-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.classifica-table th,
.classifica-table td {
  width: auto;
  overflow-wrap: anywhere;
  text-align: center;
  vertical-align: middle;
  border: 1px solid #d8e2f0;
}

.classifica-table thead th {
  background: #eef4ff;
  color: #183761;
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.8px;
}

.classifica-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.classifica-table tbody tr:nth-child(even) {
  background: #f7fbff;
}

.classifica-table tbody tr:hover {
  background: #edf5ff;
}

.classifica-table th:nth-child(1),
.classifica-table td:nth-child(1) {
  width: 52px;
  text-align: center;
}

.classifica-table th:nth-child(2),
.classifica-table td:nth-child(2),
.detail-table th:nth-child(1),
.detail-table td:nth-child(1) {
  text-transform: uppercase;
  text-align: center;
}

.site-table th:nth-child(1),
.site-table td:nth-child(1) {
  width: 30px;
  min-width: 30px;
  max-width: 30px;
}

.site-table th:nth-child(2),
.site-table td:nth-child(2) {
  width: 150px;
  min-width: 150px;
  max-width: 150px;
}

.site-table th:nth-child(n + 3),
.site-table td:nth-child(n + 3) {
  width: calc((100% - 180px) / 10);
}

.detail-table th:not(:first-child),
.detail-table td:not(:first-child) {
  text-align: center;
}

.no-score {
  color: #9aa6b9;
}

.empty-box {
  color: #6d7c93;
  font-size: 18px;
}

.score-note {
  margin: 0 0 12px;
  color: #6d7c93;
  font-size: 15px;
}

@media (max-width: 880px) {
  .classifica-head h1 {
    font-size: 32px;
  }

  .tab-btn {
    min-width: 100%;
    font-size: 24px;
  }

  .podium-count-3 {
    grid-template-columns: 1fr;
  }

  .podium-count-2 {
    grid-template-columns: 1fr;
  }
}
