:root {
  --bg: #0e162d;
  --panel: rgba(66, 96, 148, 0.22);
  --border: rgba(100, 178, 255, 0.42);
  --text: #e8edff;
  --muted: #a8b8e0;
  --accent: #58aaff;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
}

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

body {
  font-family: "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  padding: 40px 20px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.page-header {
  margin-bottom: 36px;
}

.page-header h1 {
  font-size: 34px;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.subtitle {
  color: var(--muted);
  margin-bottom: 20px;
}

.nav-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 28px;
  border-radius: 999px;
  background-color: rgba(88, 170, 255, 0.16);
  border: 1px solid var(--border);
  color: var(--text);
  text-decoration: none;
  transition: 0.22s ease;
}

.btn:hover {
  background-color: rgba(88, 170, 255, 0.32);
  border-color: var(--accent);
  transform: translateY(-1px);
}

.profile-wrap {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 24px;
  margin-bottom: 24px;
}

@media (max-width: 760px) {
  .profile-wrap {
    grid-template-columns: 1fr;
  }
}

.profile-card,
.chart-panel,
.record-panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.profile-card .avatar {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--accent);
}

.profile-card .name {
  font-size: 28px;
  margin-bottom: 12px;
}

.team {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background-color: rgba(88, 170, 255, 0.12);
  border: 1px solid rgba(88, 170, 255, 0.28);
  color: var(--accent);
  margin-bottom: 20px;
}

.bio {
  line-height: 1.7;
  color: var(--muted);
}

.chart-panel h3,
.record-panel h3 {
  margin-bottom: 18px;
  font-size: 20px;
}

#radar-box {
  width: 100%;
  height: 340px;
}

.record-list {
  min-height: 120px;
}

.empty {
  color: var(--muted);
  text-align: center;
  padding: 40px 20px;
}

.stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  margin-bottom: 14px;
  border-radius: 18px;
  background-color: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.stat:last-child {
  margin-bottom: 0;
}

.time-best {
  font-family: Consolas, monospace;
  color: var(--accent);
  font-weight: bold;
  font-size: 18px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.player-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 26px;
  text-decoration: none;
  color: inherit;
  transition: 0.25s ease;
}

.player-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
  background: rgba(88, 170, 255, 0.18);
}

.player-card .avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  margin-bottom: 18px;
  color: var(--accent);
}

.player-card h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.player-card p {
  color: var(--muted);
  line-height: 1.6;
}
