.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--nav-width);
  height: 100vh;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  z-index: 100;
  transition: transform var(--transition);
  overflow-y: auto;
  overflow-x: hidden;
}

.sidebar::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.sidebar-logo {
  padding: 20px 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--border-subtle);
  text-decoration: none;
}

.sidebar-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.sidebar-logo-text {
  display: flex;
  flex-direction: column;
}

.sidebar-logo-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.1;
}

.sidebar-logo-sub {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-section-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 20px 20px 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 0;
  transition: all var(--transition);
  position: relative;
  text-decoration: none;
}

.nav-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: color var(--transition);
}

.nav-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: var(--gold);
  border-radius: 0 3px 3px 0;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-link:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.nav-link:hover svg {
  color: var(--gold);
}

.nav-link.active {
  color: var(--gold);
  background: linear-gradient(90deg, rgba(255, 215, 0, 0.1), transparent);
}

.nav-link.active::before {
  opacity: 1;
}

.nav-link.active svg {
  color: var(--gold);
}

.sidebar-bottom {
  margin-top: auto;
  padding: 16px 20px;
  border-top: 1px solid var(--border-subtle);
}

.sidebar-socials {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-icon-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
  text-decoration: none;
  font-size: 0.75rem;
}

.social-icon-btn:hover {
  background: var(--gold-glow);
  border-color: var(--border-active);
  color: var(--gold);
}

.topbar {
  position: fixed;
  top: 0;
  left: var(--nav-width);
  right: 0;
  height: var(--topbar-height);
  background: rgba(8, 8, 14, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  z-index: 90;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.topbar-breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-breadcrumb span:last-child {
  color: var(--text-primary);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition);
  position: relative;
}

.topbar-btn:hover {
  background: var(--gold-glow);
  border-color: var(--border-active);
  color: var(--gold);
}

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 16px;
  height: 16px;
  background: var(--red);
  border-radius: 50%;
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 2px solid var(--bg-base);
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 12px;
  border-radius: var(--radius-md);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  cursor: pointer;
  transition: all var(--transition);
}

.topbar-user:hover {
  background: var(--bg-glass-strong);
  border-color: var(--border-active);
}

.topbar-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--bg-base);
}

.topbar-user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.topbar-user-role {
  font-size: 0.7rem;
  color: var(--gold);
  font-weight: 500;
}

.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-glow-strong), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.card:hover::before {
  opacity: 1;
}

.card:hover {
  border-color: rgba(255, 215, 0, 0.12);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.card-sm { padding: 16px; }
.card-lg { padding: 32px; }

.card-glass {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
}

.stat-card-accent-gold {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.stat-card-accent-red {
  background: linear-gradient(90deg, var(--red), transparent);
}

.stat-card-accent-green {
  background: linear-gradient(90deg, var(--text-green), transparent);
}

.stat-card:hover {
  border-color: rgba(255, 215, 0, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.stat-card-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.stat-card-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
}

.stat-card-value.gold { color: var(--gold); }
.stat-card-value.red { color: var(--red-bright); }
.stat-card-value.green { color: var(--text-green); }

.stat-card-sub {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

.stat-card-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.stat-card-icon-gold { background: var(--gold-glow); color: var(--gold); }
.stat-card-icon-red { background: var(--red-glow); color: var(--red-bright); }
.stat-card-icon-green { background: rgba(34, 197, 94, 0.1); color: var(--text-green); }
.stat-card-icon-blue { background: rgba(59, 130, 246, 0.1); color: #60A5FA; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), #E6C200);
  color: var(--bg-base);
  box-shadow: 0 4px 16px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FFE033, var(--gold));
  box-shadow: 0 6px 24px rgba(255, 215, 0, 0.5);
  transform: translateY(-1px);
}

.btn-danger {
  background: linear-gradient(135deg, var(--red), #AA0000);
  color: white;
  box-shadow: 0 4px 16px rgba(204, 0, 0, 0.3);
}

.btn-danger:hover {
  box-shadow: 0 6px 24px rgba(204, 0, 0, 0.5);
  transform: translateY(-1px);
}

.btn-ghost {
  background: var(--bg-glass);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.btn-ghost:hover {
  background: var(--bg-glass-strong);
  color: var(--text-primary);
  border-color: rgba(255, 215, 0, 0.2);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.4);
}

.btn-outline:hover {
  background: var(--gold-glow);
  border-color: var(--gold);
}

.btn-sm {
  padding: 7px 14px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 0.95rem;
}

.btn-icon {
  padding: 9px;
  border-radius: var(--radius-sm);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-gold {
  background: rgba(255, 215, 0, 0.12);
  color: var(--gold);
  border: 1px solid rgba(255, 215, 0, 0.25);
}

.badge-red {
  background: rgba(204, 0, 0, 0.15);
  color: var(--red-bright);
  border: 1px solid rgba(204, 0, 0, 0.3);
}

.badge-green {
  background: rgba(34, 197, 94, 0.1);
  color: var(--text-green);
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.badge-blue {
  background: rgba(59, 130, 246, 0.1);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.25);
}

.badge-gray {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  text-transform: uppercase;
}

.form-input {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 11px 16px;
  color: var(--text-primary);
  font-size: 0.9rem;
  transition: all var(--transition);
  width: 100%;
  outline: none;
}

.form-input:focus {
  border-color: rgba(255, 215, 0, 0.4);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.08);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555570' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-textarea {
  resize: vertical;
  min-height: 100px;
}

.form-error {
  font-size: 0.78rem;
  color: var(--red-bright);
}

.progress-bar {
  height: 6px;
  background: var(--bg-surface);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--gold), var(--gold-dim));
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-fill-red {
  background: linear-gradient(90deg, var(--red), var(--red-dim));
}

.progress-fill-green {
  background: linear-gradient(90deg, var(--text-green), #16A34A);
}

.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
}

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

.table th {
  padding: 12px 16px;
  text-align: left;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.table td {
  padding: 14px 16px;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: background var(--transition);
}

.table tr:hover td {
  background: var(--bg-glass);
}

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

.table-rank {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-muted);
}

.table-rank.top-1 { color: var(--gold); }
.table-rank.top-2 { color: #C0C0C0; }
.table-rank.top-3 { color: #CD7F32; }

.avatar {
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.avatar-sm { width: 32px; height: 32px; }
.avatar-md { width: 44px; height: 44px; }
.avatar-lg { width: 64px; height: 64px; }
.avatar-xl { width: 96px; height: 96px; }

.avatar-placeholder {
  background: linear-gradient(135deg, var(--gold), var(--red));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--bg-base);
  font-family: var(--font-display);
}

.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 4px;
}

.tab {
  flex: 1;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  border: none;
  background: none;
  font-family: var(--font-main);
}

.tab:hover {
  color: var(--text-primary);
  background: var(--bg-glass);
}

.tab.active {
  background: var(--bg-card);
  color: var(--gold);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.filter-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-chip {
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-chip:hover {
  border-color: rgba(255, 215, 0, 0.3);
  color: var(--text-primary);
}

.filter-chip.active {
  background: var(--gold-glow);
  border-color: rgba(255, 215, 0, 0.5);
  color: var(--gold);
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform var(--transition);
}

.modal-overlay.open .modal {
  transform: translateY(0);
}

.modal-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.toast {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  box-shadow: var(--shadow-deep);
  animation: slideDown 0.3s var(--transition) forwards;
}

.toast-success { border-left: 3px solid var(--text-green); }
.toast-error { border-left: 3px solid var(--red-bright); }
.toast-info { border-left: 3px solid var(--gold); }

.ring-chart-container {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.ring-chart-label {
  position: absolute;
  text-align: center;
}

.match-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  transition: all var(--transition);
}

.match-card:hover {
  border-color: rgba(255, 215, 0, 0.15);
  transform: translateX(4px);
}

.match-card-result {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.result-win { background: var(--text-green); box-shadow: 0 0 8px rgba(34,197,94,0.5); }
.result-draw { background: var(--gold); box-shadow: 0 0 8px rgba(255,215,0,0.5); }
.result-loss { background: var(--red-bright); box-shadow: 0 0 8px rgba(204,0,0,0.5); }

.score-display {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.score-sep {
  color: var(--text-muted);
  margin: 0 4px;
}

.notification-panel {
  position: fixed;
  top: var(--topbar-height);
  right: 0;
  width: 360px;
  height: calc(100vh - var(--topbar-height));
  background: var(--bg-surface);
  border-left: 1px solid var(--border-subtle);
  z-index: 80;
  transform: translateX(100%);
  transition: transform var(--transition);
  overflow-y: auto;
  padding: 24px 20px;
}

.notification-panel.open {
  transform: translateX(0);
}

.notif-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  gap: 12px;
}

.notif-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  margin-top: 6px;
  flex-shrink: 0;
  animation: pulse-gold 2s infinite;
}

.notif-dot.read {
  background: var(--text-muted);
  animation: none;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.chart-canvas-wrapper {
  position: relative;
  width: 100%;
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 60px 20px;
  color: var(--text-muted);
  text-align: center;
}

.empty-state svg {
  opacity: 0.3;
  width: 48px;
  height: 48px;
}

.steps-indicator {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 32px;
}

.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  position: relative;
}

.step-item::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border-subtle);
  z-index: 0;
}

.step-item:last-child::before { display: none; }

.step-dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 2px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-muted);
  z-index: 1;
  transition: all var(--transition);
}

.step-item.active .step-dot {
  border-color: var(--gold);
  background: var(--gold-glow);
  color: var(--gold);
}

.step-item.done .step-dot {
  border-color: var(--text-green);
  background: rgba(34,197,94,0.1);
  color: var(--text-green);
}

.step-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.step-item.active .step-label { color: var(--gold); }
.step-item.done .step-label { color: var(--text-green); }

.hero-section {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  margin-bottom: 32px;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(8,8,14,0.95) 0%,
    rgba(8,8,14,0.7) 50%,
    rgba(204,0,0,0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 48px;
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-logo {
  width: 240px;
  height: 240px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255,215,0,0.4));
  animation: float 4s ease-in-out infinite;
}

.hero-text-block h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.1;
}

.hero-text-block h1 span {
  background: linear-gradient(90deg, var(--gold), var(--red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-top: 8px;
  letter-spacing: 0.05em;
}

.hero-stats {
  display: flex;
  gap: 32px;
  margin-top: 24px;
}

.hero-stat-item {
  text-align: center;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}

.hero-stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.player-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-slow);
  cursor: pointer;
  position: relative;
}

.player-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(204,0,0,0.1)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--transition);
}

.player-card:hover::after {
  opacity: 1;
}

.player-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(255,215,0,0.1);
}

.player-card-image-wrapper {
  height: 180px;
  position: relative;
  background: linear-gradient(135deg, #0A0A15, #111128);
  overflow: hidden;
}

.player-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.player-card:hover .player-card-image {
  transform: scale(1.05);
}

.player-card-body {
  padding: 16px;
}

.player-card-pseudo {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.player-card-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.player-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border-subtle);
}

.player-stat-item {
  text-align: center;
}

.player-stat-val {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.player-stat-lbl {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.news-card:hover {
  border-color: rgba(255, 215, 0, 0.15);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.news-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: var(--bg-surface);
}

.news-card-body {
  padding: 16px;
}

.news-card-tag {
  margin-bottom: 8px;
}

.news-card-title {
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--text-primary);
}

.news-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.calendar-day-header {
  text-align: center;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 6px 4px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  border: 1px solid transparent;
  position: relative;
}

.calendar-day:hover {
  background: var(--bg-glass);
  border-color: var(--border-subtle);
}

.calendar-day.today {
  background: var(--gold-glow);
  border-color: rgba(255, 215, 0, 0.3);
}

.calendar-day.today .day-num {
  color: var(--gold);
  font-weight: 700;
}

.calendar-day.has-event .day-num::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.day-num {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
}

.day-num.other-month {
  color: var(--text-muted);
  opacity: 0.4;
}

.event-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  margin-top: 2px;
}

.event-dot-match { background: var(--red); }
.event-dot-training { background: var(--text-green); }
.event-dot-event { background: var(--gold); }

.role-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.role-admin { background: rgba(255,215,0,0.15); color: var(--gold); border: 1px solid rgba(255,215,0,0.3); }
.role-staff { background: rgba(59,130,246,0.1); color: #60A5FA; border: 1px solid rgba(59,130,246,0.25); }
.role-manager { background: rgba(168,85,247,0.1); color: #C084FC; border: 1px solid rgba(168,85,247,0.25); }
.role-player { background: var(--bg-glass); color: var(--text-secondary); border: 1px solid var(--border-subtle); }

.profile-hero {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  gap: 32px;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
}

.profile-hero::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,215,0,0.08), transparent 70%);
  pointer-events: none;
}

.profile-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar {
  width: 120px;
  height: 120px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  border: 2px solid rgba(255,215,0,0.3);
}

.profile-avatar-ring {
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-lg) + 4px);
  border: 2px solid transparent;
  background: linear-gradient(135deg, var(--gold), var(--red)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  animation: spin 8s linear infinite;
}

.profile-info {
  flex: 1;
}

.profile-pseudo {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1;
}

.profile-fullname {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.profile-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.profile-quick-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-left: auto;
}

.profile-quick-stat {
  text-align: center;
  padding: 16px;
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.pqs-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
}

.pqs-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .topbar {
    left: 0;
    padding: 0 16px;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .profile-hero {
    flex-direction: column;
  }

  .profile-quick-stats {
    margin-left: 0;
    width: 100%;
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-content {
    padding: 28px;
    flex-direction: column;
    text-align: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-text-block h1 { font-size: 2rem; }
}

@media (max-width: 640px) {
  .profile-quick-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { gap: 20px; }
  .steps-indicator { gap: 0; }
  .topbar-user-name, .topbar-user-role { display: none; }
}
