/* ============================================
   SPODIC - Stats Page Styles
   ============================================ */

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background: var(--bg, #141414);
  color: var(--text, #e0e0e0);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  font-weight: 500;
  line-height: 1.6;
  min-height: 100vh;
}

/* Main content area */
.stats-content {
  margin-left: var(--nav-width, 56px);
  padding: 48px 48px 64px;
  max-width: 860px;
}

/* Header */
.stats-header {
  margin-bottom: 48px;
}

.stats-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.stats-header .subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted, #6b6b6b);
}

/* Section label */
.section-label {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-muted, #6b6b6b);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--control-border, rgba(255,255,255,0.06));
}

.stats-section {
  margin-bottom: 40px;
}

/* Coming Soon Hero */
.stats-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 56px 24px;
  margin-bottom: 48px;
  border: 1px dashed var(--control-border, rgba(255,255,255,0.06));
  border-radius: 12px;
}

.hero-icon {
  color: var(--orp-color, #d63944);
  opacity: 0.5;
  margin-bottom: 20px;
}

.stats-hero h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-muted, #6b6b6b);
}

.stats-hero p {
  font-size: 0.9375rem;
  color: var(--text-subtle, #4a4a4a);
  max-width: 380px;
  line-height: 1.5;
}

/* Stat Cards Grid */
.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}

.stat-card {
  padding: 20px;
  background: var(--sidebar-bg, #111111);
  border: 1px solid var(--control-border, rgba(255,255,255,0.06));
  border-radius: 12px;
  text-align: center;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--text-subtle, #4a4a4a);
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-subtle, #4a4a4a);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Chart Placeholders */
.chart-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  border: 1px dashed var(--control-border, rgba(255,255,255,0.06));
  border-radius: 12px;
  color: var(--text-subtle, #4a4a4a);
  gap: 12px;
}

.chart-placeholder span {
  font-size: 0.8125rem;
}

/* Responsive */
@media (max-width: 768px) {
  .stats-content {
    padding: 24px 16px 48px;
    margin-left: 0;
  }

  .stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}
