.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #000;
  position: relative;
  display: inline-block;
  margin-bottom: 1rem;
}

.page-header h1::before {
  content: "🏆 ";
  font-size: 3rem;
  margin-right: 0.5rem;
}

.page-header h1::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 35%;
  transform: translateX(-50%);
  width: 35%;
  height: 4px;
  background: linear-gradient(90deg, #fb6f92, #ff5a82);
  border-radius: 2px;
}

.score-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.score-table thead {
  background: linear-gradient(135deg, #fb6f92, #ff5a82);
  color: white;
}

.score-table thead th {
  padding: 1.25rem 1.5rem;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.score-table thead th:first-child {
  border-top-left-radius: 16px;
}

.score-table thead th:last-child {
  border-top-right-radius: 16px;
}

.score-table tbody tr {
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.score-table tbody tr:last-child {
  border-bottom: none;
}

.score-table tbody td {
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
}

.rank {
  font-weight: 700;
  font-size: 1.3rem;
  color: #fb6f92;
  width: 80px;
  text-align: center;
}

.score-table tbody tr:nth-child(1) .rank::before {
  content: "🥇 ";
  font-size: 1.5rem;
}

.score-table tbody tr:nth-child(2) .rank::before {
  content: "🥈 ";
  font-size: 1.5rem;
}

.score-table tbody tr:nth-child(3) .rank::before {
  content: "🥉 ";
  font-size: 1.5rem;
}

.score-table tbody tr:first-child {
  background: linear-gradient(
    90deg,
    rgba(255, 215, 0, 0.1),
    rgba(255, 215, 0, 0.05)
  );
}

.score-table tbody td:nth-child(2) {
  font-weight: 600;
  color: #000;
}

.score-table tbody td:nth-child(2)::before {
  content: "👤 ";
  opacity: 0.6;
  margin-right: 0.5rem;
}

.score-table tbody td:nth-child(3) {
  font-weight: 500;
  color: #666;
}

.score-table tbody td:nth-child(3)::before {
  content: "🎮 ";
  margin-right: 0.5rem;
}

.score-table tbody:empty::after {
  content: "No scores yet. Be the first!";
  display: block;
  text-align: center;
  padding: 3rem;
  color: #999;
  font-style: italic;
}

@media (max-width: 768px) {
  .page-header h1 {
    font-size: 2.5rem;
  }

  .page-header h1::before {
    font-size: 2.5rem;
  }

  .score-table thead th {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .score-table tbody td {
    padding: 1rem;
    font-size: 0.95rem;
  }

  .rank {
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .page-header h1::before {
    font-size: 2rem;
  }

  .score-table {
    border-radius: 12px;
  }

  .score-table thead th {
    padding: 0.75rem;
    font-size: 0.85rem;
  }

  .score-table tbody td {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .rank {
    width: 60px;
    font-size: 1rem;
  }

  .score-table tbody td:nth-child(2)::before,
  .score-table tbody td:nth-child(3)::before {
    display: none;
  }

  .score-table tbody td:nth-child(3)::after {
    content: "";
  }
}