
:root {
  /* Apple-inspired color palette */
  --bg-primary: #000000;
  --bg-secondary: #0a0a0f;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-hover: rgba(255, 255, 255, 0.12);
  --text-primary: #f5f5f7;
  --text-secondary: #86868b;
  --text-tertiary: #6e6e73;
  
  /* Accent colors */
  --accent-purple: #bf5af2;
  --accent-blue: #0071e3;
  --accent-gold: #ffd60a;
  --accent-green: #30d158;
  --accent-red: #ff453a;
  
  /* Glassmorphism */
  --glass-bg: rgba(29, 29, 31, 0.72);
  --glass-border: rgba(255, 255, 255, 0.18);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  
  /* Transitions */
  --transition-quick: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-smooth: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 12px;
  --spacing-lg: 16px;
  --spacing-xl: 24px;
  --spacing-2xl: 32px;
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 24px;
  --radius-full: 9999px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-primary);
  background: 
    radial-gradient(ellipse 1200px 800px at 20% -5%, rgba(191, 90, 242, 0.15), transparent 50%),
    radial-gradient(ellipse 1200px 800px at 85% 15%, rgba(0, 113, 227, 0.12), transparent 55%),
    radial-gradient(ellipse 1000px 600px at 50% 100%, rgba(255, 214, 10, 0.08), transparent 45%),
    linear-gradient(180deg, #000000 0%, #0a0a0f 40%, #000000 100%);
  background-attachment: fixed;
}

.apple-theme {
  position: relative;
}

/* Utility Classes */
.muted {
  color: var(--text-secondary);
}

.small {
  font-size: 13px;
}

.center {
  text-align: center;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-quick);
}

/* Enhanced Glassmorphism */
.glassy {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  box-shadow: 
    var(--glass-shadow),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.1),
    0 0 0 0.5px rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.glassy::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3) 50%, 
    transparent
  );
  opacity: 0.6;
}

.glassy:hover {
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 12px 48px 0 rgba(0, 0, 0, 0.45),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.card {
  padding: var(--spacing-xl);
}

/* Topbar - iOS Style */
.topbar {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-xl);
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.topbar::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(255, 255, 255, 0.1) 50%,
    transparent
  );
}

.topbar .brand {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar .brand span {
  background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-blue) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.topbar .spacer {
  flex: 1;
}

.topbar .user {
  font-size: 14px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.topbar .user strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Chip - iOS Pill Style */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(191, 90, 242, 0.15);
  border: 1px solid rgba(191, 90, 242, 0.3);
  color: #e8dcff;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 8px rgba(191, 90, 242, 0.2);
  transition: var(--transition-quick);
}

.chip:hover {
  background: rgba(191, 90, 242, 0.25);
  border-color: rgba(191, 90, 242, 0.5);
  transform: scale(1.05);
}

/* Layout */
.layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: var(--spacing-xl);
  max-width: 1500px;
  margin: var(--spacing-xl) auto;
  padding: 0 var(--spacing-xl);
}

.layout.wide {
  max-width: 1700px;
}

/* Sidebar Navigation - macOS Style */
.sidenav-left .nav {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--spacing-md);
  min-height: calc(100vh - 120px);
}

.nav a {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid transparent;
  transition: all var(--transition-quick);
  position: relative;
  overflow: hidden;
}

.nav a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.08),
    rgba(255, 255, 255, 0.03)
  );
  opacity: 0;
  transition: var(--transition-quick);
}

.nav a:hover::before {
  opacity: 1;
}

.nav a:hover {
  color: var(--text-primary);
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.05);
}

.nav a.active {
  background: linear-gradient(135deg, 
    var(--accent-purple) 0%, 
    var(--accent-blue) 100%
  );
  color: #ffffff;
  font-weight: 600;
  box-shadow: 
    0 4px 16px rgba(191, 90, 242, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transform: translateX(0);
}

.nav a.active::before {
  opacity: 0;
}

.nav a.active .icon {
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav .icon {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: var(--transition-quick);
}

.nav .collapse-toggle {
  margin-top: auto;
  opacity: 0.6;
  font-size: 13px;
}

.nav .collapse-toggle:hover {
  opacity: 1;
}

.nav.collapsed {
  width: 70px;
  padding: var(--spacing-md) var(--spacing-sm);
}

.nav.collapsed a {
  justify-content: center;
  padding: 12px;
}

.nav.collapsed a span {
  display: none;
}

/* Section Header */
.section-header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.section-header h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, 
    var(--text-primary) 0%, 
    var(--text-secondary) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
}

/* Search Form */
.search-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(160px, 1fr)) auto;
  gap: var(--spacing-md);
  align-items: end;
}

.lbl {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  display: block;
  margin: 0 0 6px 2px;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

/* Input Fields - iOS Style */
.input {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  outline: none;
  transition: all var(--transition-quick);
  box-shadow: 
    inset 0 1px 2px rgba(0, 0, 0, 0.1),
    0 0 0 0 rgba(191, 90, 242, 0);
}

.input.ios {
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.10), 
    rgba(255, 255, 255, 0.06)
  );
  border: 1px solid rgba(191, 90, 242, 0.3);
}

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

.input:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.18);
}

.input:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(191, 90, 242, 0.6);
  box-shadow: 
    0 0 0 4px rgba(191, 90, 242, 0.15),
    0 8px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 2px rgba(0, 0, 0, 0.1);
  transform: translateY(-1px);
}

/* Buttons - Apple Style */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  border: none;
  background: linear-gradient(135deg, 
    var(--accent-purple) 0%, 
    var(--accent-blue) 100%
  );
  color: #ffffff;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 4px 16px rgba(191, 90, 242, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  transition: all var(--transition-quick);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, 
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.05)
  );
  opacity: 0;
  transition: var(--transition-quick);
}

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

.btn:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 
    0 8px 28px rgba(191, 90, 242, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: 
    0 2px 8px rgba(191, 90, 242, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.btn.small {
  padding: 7px 16px;
  font-size: 14px;
}

.btn.ios {
  background: linear-gradient(135deg, 
    var(--accent-purple) 0%, 
    var(--accent-blue) 100%
  );
}

/* Table - macOS Style */
.table-wrap {
  overflow: auto;
  margin-top: var(--spacing-lg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

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

.table thead th {
  position: sticky;
  top: 0;
  background: rgba(20, 20, 22, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-secondary);
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-transform: uppercase;
  text-align: left;
  z-index: 10;
}

.table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 14px;
  transition: var(--transition-quick);
}

.table tbody tr {
  transition: var(--transition-quick);
}

.table tbody tr:hover {
  background: rgba(255, 255, 255, 0.04);
}

.table tbody tr:hover td {
  background: rgba(191, 90, 242, 0.03);
}

/* Links */
.link {
  color: var(--accent-blue);
  font-weight: 500;
  transition: var(--transition-quick);
  position: relative;
}

.link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-blue);
  transition: var(--transition-smooth);
}

.link:hover {
  color: #4da3ff;
}

.link:hover::after {
  width: 100%;
}

/* Status Indicator */
.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  margin-left: var(--spacing-xs);
  position: relative;
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.status-dot.online {
  background: var(--accent-green);
  box-shadow: 
    0 0 8px rgba(48, 209, 88, 0.6),
    0 0 4px rgba(48, 209, 88, 0.4) inset;
}

.status-dot.offline {
  background: var(--accent-red);
  box-shadow: 
    0 0 8px rgba(255, 69, 58, 0.6),
    0 0 4px rgba(255, 69, 58, 0.4) inset;
  animation: none;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.1);
  }
}

/* Authentication */
.auth-bg {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: var(--spacing-xl);
  position: relative;
}

.auth-bg::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, 
    rgba(191, 90, 242, 0.15) 0%, 
    transparent 70%
  );
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -52%) scale(1.05);
  }
}

.auth-wrap {
  width: 100%;
  max-width: 420px;
  position: relative;
  z-index: 1;
}

.login-card {
  padding: var(--spacing-2xl);
}

.brand-title {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.brand-title span {
  background: linear-gradient(135deg, 
    var(--accent-purple) 0%, 
    var(--accent-blue) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}

.stack label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: -8px;
}

.w-full {
  width: 100%;
}

.alert {
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  background: rgba(255, 69, 58, 0.15);
  border: 1px solid rgba(255, 69, 58, 0.3);
  color: #ff8989;
  font-size: 14px;
  margin-bottom: var(--spacing-lg);
  animation: slideIn 0.3s var(--transition-smooth);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Player Detail */
.player-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.player-header h2 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.player-header .tags {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  flex-wrap: wrap;
}

.inline-dot {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  font-weight: 600;
}

.inline-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--accent-red);
  box-shadow: 0 0 8px rgba(255, 69, 58, 0.6);
}

/* Tiles */
.grid.two-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.tile {
  padding: var(--spacing-xl);
  transition: var(--transition-smooth);
}

.tile:hover {
  transform: translateY(-2px);
}

.tile .t-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin-bottom: var(--spacing-sm);
  text-transform: uppercase;
}

.tile .t-value {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

/* Pagination - iOS Style */
.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  margin-top: var(--spacing-xl);
  padding: var(--spacing-lg) 0;
}

.pagination .page-info {
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
}

.pagination .page-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 var(--spacing-md);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-quick);
}

.page-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-btn.active {
  background: linear-gradient(135deg, 
    var(--accent-purple) 0%, 
    var(--accent-blue) 100%
  );
  color: #ffffff;
  border-color: transparent;
  box-shadow: 
    0 4px 12px rgba(191, 90, 242, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.page-btn.disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: not-allowed;
}

.pagination .dots {
  color: var(--text-tertiary);
  padding: 0 4px;
  font-size: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .layout {
    grid-template-columns: 70px 1fr;
  }
  
  .nav {
    width: 70px !important;
    padding: var(--spacing-md) var(--spacing-sm);
  }
  
  .nav a {
    justify-content: center;
    padding: 12px;
  }
  
  .nav a span {
    display: none !important;
  }
  
  .search-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .layout {
    grid-template-columns: 1fr;
  }
  
  .sidenav-left {
    display: none;
  }
  
  .topbar {
    padding: var(--spacing-sm) var(--spacing-md);
  }
  
  .topbar .user {
    display: none;
  }
  
  .grid.two-col {
    grid-template-columns: 1fr;
  }
}

/* Smooth Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  transition: var(--transition-quick);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Selection */
::selection {
  background: rgba(191, 90, 242, 0.3);
  color: var(--text-primary);
}

/* Focus Visible */
:focus-visible {
  outline: 2px solid var(--accent-purple);
  outline-offset: 2px;
}

/* Player Detail Page - Hero Section */
.player-hero {
  background: linear-gradient(135deg, 
    rgba(191, 90, 242, 0.15) 0%, 
    rgba(0, 113, 227, 0.10) 100%
  );
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.player-hero-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-xl);
}

.player-info h1 {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -1px;
  margin: 0 0 var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.player-info .id-badge {
  font-size: 20px;
  color: var(--text-secondary);
  font-weight: 600;
}

.player-meta {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  flex-wrap: wrap;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  border: 1px solid;
  transition: var(--transition-quick);
}

.status-badge.online {
  background: rgba(48, 209, 88, 0.15);
  border-color: rgba(48, 209, 88, 0.3);
  color: #6edb9a;
}

.status-badge.offline {
  background: rgba(255, 69, 58, 0.15);
  border-color: rgba(255, 69, 58, 0.3);
  color: #ff8989;
}

/* Info Cards Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

.info-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.3) 50%, 
    transparent
  );
  opacity: 0.6;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.info-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
  display: flex;
  align-items: center;
  gap: 6px;
}

.info-card-label svg {
  opacity: 0.7;
}

.info-card-value {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  word-break: break-word;
}

.info-card.highlight {
  background: linear-gradient(135deg, 
    rgba(191, 90, 242, 0.15), 
    rgba(0, 113, 227, 0.10)
  );
  border-color: rgba(191, 90, 242, 0.3);
}

.info-card.highlight:hover {
  border-color: rgba(191, 90, 242, 0.5);
  box-shadow: 
    0 12px 40px rgba(191, 90, 242, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.info-card.highlight .info-card-value {
  background: linear-gradient(135deg, 
    var(--accent-purple) 0%, 
    var(--accent-blue) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Back Button */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-quick);
}

.back-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateX(-4px);
}

.back-btn svg {
  transition: var(--transition-quick);
}

.back-btn:hover svg {
  transform: translateX(-2px);
}

/* Responsive Player Page */
@media (max-width: 768px) {
  .player-hero-content {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .player-info h1 {
    font-size: 28px;
  }
}



/* === ACP tweak: Header not rounded === */
.topbar,
.topbar.glassy {
  border-radius: 0 !important;
}
