/* ==========================================================================
   MILLI PLAYS LUXURY NEO-SKEUOMORPHIC THEME
   Unified obsidian canvas, radiant sunset amber accents, and frosted glass HUD
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700;800&display=swap');

:root {
  --bg-dark: #090b0e !important;
  --bg-canvas: #090b0e !important;
  --bg-surface: #12151c !important;
  --bg-surface-elevated: #171b24 !important;
  --card-bg: rgba(20, 24, 33, 0.85) !important;
  --card-inner: rgba(13, 16, 23, 0.9) !important;
  
  --border-color: rgba(255, 255, 255, 0.08) !important;
  --border-subtle: rgba(255, 255, 255, 0.07) !important;
  --border-amber-glow: rgba(255, 122, 48, 0.35) !important;
  
  --accent-orange: #ff7a30 !important;
  --accent-orange-hover: #ff914d !important;
  --accent-orange-glow: rgba(255, 122, 48, 0.45) !important;
  --accent-orange-gradient: linear-gradient(135deg, #ff7a30 0%, #e85912 100%) !important;
  
  --accent-green: #10b981 !important;
  --accent-emerald: #10b981 !important;
  --accent-cyan: #00f0ff !important;
  --accent-gold: #f59e0b !important;
  --accent-purple: #a855f7 !important;
  --accent-magenta: #ff007f !important;
  --accent-red: #ef4444 !important;
  
  --text-main: #f8fafc !important;
  --text-primary: #f8fafc !important;
  --text-muted: #94a3b8 !important;
  --text-secondary: #94a3b8 !important;
  --text-tertiary: #64748b !important;
  
  --radius-sm: 8px !important;
  --radius-md: 14px !important;
  --radius-lg: 20px !important;
  --radius-xl: 26px !important;
  --radius-pill: 9999px !important;
}

body {
  background-color: #090b0e !important;
  background-image: 
    radial-gradient(circle at 75% 12%, rgba(224, 102, 32, 0.16) 0%, rgba(9, 11, 14, 0) 50%),
    radial-gradient(circle at 20% 88%, rgba(180, 75, 18, 0.12) 0%, rgba(9, 11, 14, 0) 45%),
    radial-gradient(circle at 50% 50%, rgba(18, 21, 28, 0.6) 0%, rgba(9, 11, 14, 1) 100%) !important;
  background-attachment: fixed !important;
  color: #f8fafc !important;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
}

/* TOP NAVIGATION BAR */
.top-nav {
  background: rgba(11, 13, 17, 0.95) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4) !important;
}
.nav-brand {
  color: #ffffff !important;
  font-weight: 900 !important;
  letter-spacing: -0.3px !important;
}
.nav-badge {
  background: var(--accent-orange-gradient) !important;
  color: #ffffff !important;
  border-radius: var(--radius-sm) !important;
  box-shadow: 0 2px 10px var(--accent-orange-glow) !important;
}
.nav-link {
  color: #94a3b8 !important;
  border-radius: var(--radius-pill) !important;
  transition: all 0.2s ease !important;
}
.nav-link:hover {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.08) !important;
}
.nav-link.active {
  background: rgba(255, 122, 48, 0.15) !important;
  border-color: rgba(255, 122, 48, 0.4) !important;
  color: var(--accent-orange) !important;
}

/* UNIVERSAL SKEUOMORPHIC CARD SURFACES */
.card, .panel, .hud-card, .stat-card, .control-box, .milli-status-bar, .radar-card {
  background: rgba(20, 24, 33, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: var(--radius-lg) !important;
  backdrop-filter: blur(20px) !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.5) !important;
}

/* RADIANT GLOWING ORANGE ACTION BUTTONS */
.btn-primary, .btn-auto, .btn-start, .btn-launch, .btn-ignite, button.active {
  background: var(--accent-orange-gradient) !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  box-shadow: 0 4px 18px var(--accent-orange-glow) !important;
  font-weight: 800 !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-primary:hover, .btn-auto:hover, .btn-start:hover, .btn-launch:hover {
  box-shadow: 0 8px 25px rgba(255, 122, 48, 0.65) !important;
  transform: translateY(-2px) !important;
}

/* SECONDARY BUTTONS */
.btn-secondary, .btn-reset, .btn-mode {
  background: rgba(255, 255, 255, 0.06) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 700 !important;
  transition: all 0.2s ease !important;
}
.btn-secondary:hover, .btn-reset:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* GAME CANVAS CONTAINERS */
canvas {
  border-radius: var(--radius-lg) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.6) !important;
}

/* METRIC & NUMBER HIGHLIGHTS */
.stat-val, .metric-value, .score-value, .speed-val {
  font-family: 'JetBrains Mono', monospace !important;
  color: #ffffff !important;
  font-weight: 800 !important;
}
.badge-clean, .badge-positive {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #10b981 !important;
  border: 1px solid rgba(16, 185, 129, 0.3) !important;
}
