/* FreeGamesMania v3.0 — Obsidian & Electric Acid Lime Architectural Stylesheet */
:root {
  --bg-canvas: #050507;
  --bg-surface: #0c0d12;
  --bg-bento: #11131a;
  --accent-lime: #ccff00;
  --accent-orange: #ff5522;
  --accent-cyan: #00f0ff;
}

* {
  box-sizing: border-box;
}

body {
  background-color: #050507;
  color: #f4f4f6;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
}

/* Ultra-clean minimal scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #050507; }
::-webkit-scrollbar-thumb { background: #222634; border-radius: 9999px; }
::-webkit-scrollbar-thumb:hover { background: #ccff00; }

/* Architectural Bento Surfaces & Hover Physics */
.bento-card {
  background: linear-gradient(165deg, rgba(22, 25, 34, 0.9) 0%, rgba(12, 13, 18, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease,
              box-shadow 0.25s ease,
              background 0.25s ease;
  cursor: pointer;
  position: relative;
}

.bento-card:hover {
  border-color: rgba(204, 255, 0, 0.55);
  transform: translateY(-5px);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.9), 0 0 32px -4px rgba(204, 255, 0, 0.25);
  background: linear-gradient(165deg, rgba(26, 30, 42, 0.95) 0%, rgba(15, 17, 24, 0.98) 100%);
}

.bento-static {
  background: linear-gradient(165deg, rgba(20, 22, 30, 0.88) 0%, rgba(10, 11, 15, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
}

/* Glass Panels & Surfaces for Cinema Player */
.glass-panel {
  background: rgba(12, 14, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-card {
  background: linear-gradient(165deg, rgba(20, 23, 32, 0.85) 0%, rgba(10, 11, 16, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  transition: all 0.25s ease;
}

/* Signature Acid-Lime Action Buttons */
.btn-lime {
  background-color: #ccff00;
  color: #050507;
  font-weight: 700;
  border-radius: 0.875rem;
  box-shadow: 0 4px 20px rgba(204, 255, 0, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.btn-lime:hover {
  background-color: #d9ff33;
  box-shadow: 0 8px 32px rgba(204, 255, 0, 0.55);
  transform: translateY(-2px);
  color: #000000;
}
.btn-lime:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(204, 255, 0, 0.3);
}

.btn-modern-primary {
  background-color: #ccff00;
  color: #050507;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(204, 255, 0, 0.3);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.btn-modern-primary:hover {
  background-color: #d9ff33;
  box-shadow: 0 8px 32px rgba(204, 255, 0, 0.55);
  transform: translateY(-2px);
}

.btn-dark-surface {
  background-color: #161922;
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.875rem;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}
.btn-dark-surface:hover {
  background-color: #1f2536;
  border-color: rgba(204, 255, 0, 0.5);
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), 0 0 20px rgba(204, 255, 0, 0.15);
  transform: translateY(-2px);
}
.btn-dark-surface:active {
  transform: translateY(1px);
}

.btn-modern-secondary {
  background-color: #161922;
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.875rem;
  transition: all 0.2s ease;
  cursor: pointer;
}
.btn-modern-secondary:hover {
  background-color: #1f2536;
  border-color: rgba(204, 255, 0, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Sidebar Nav Links Active & Hover State */
.sidebar-nav-link {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}
.sidebar-nav-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
  transform: translateX(3px);
}
.sidebar-nav-link:hover svg,
.sidebar-nav-link:hover i {
  color: #ccff00 !important;
  stroke: #ccff00 !important;
}

/* Active State according to current URL (Original Clean Translucent Style) */
.sidebar-nav-link.active {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
  font-weight: 600 !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}
.sidebar-nav-link.active svg,
.sidebar-nav-link.active i {
  color: #ccff00 !important;
  stroke: #ccff00 !important;
}
.sidebar-nav-link.active span {
  color: #ffffff !important;
}

/* Mobile Bottom Dock Active */
.bottom-nav-link.active {
  color: #ccff00 !important;
}
.bottom-nav-link.active svg,
.bottom-nav-link.active i {
  color: #ccff00 !important;
  stroke: #ccff00 !important;
}
.bottom-nav-link.active span {
  color: #ffffff !important;
}

/* Tactile Keycap Badges */
.keycap, .keycap-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.3rem 0.7rem;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  background: #181b26;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-bottom: 3px solid #07080c;
  border-radius: 0.5rem;
  transition: all 0.15s ease;
}
.keycap.listening, .keycap-badge.listening {
  background: #ff3b30;
  color: #ffffff;
  border-color: #ff8078;
  border-bottom-color: #8c150e;
  animation: key-pulse 1s infinite;
}
.keycap.active-hit, .keycap-badge.active-hit {
  background: #ccff00;
  color: #050507;
  border-color: #ffffff;
  border-bottom-color: #7a9900;
  transform: translateY(2px);
}

@keyframes key-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 59, 48, 0.6); }
  50% { box-shadow: 0 0 0 8px rgba(255, 59, 48, 0); }
}

/* Spotlight Queue Items */
.spotlight-queue-item {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.spotlight-queue-item:hover {
  border-color: rgba(204, 255, 0, 0.55);
  transform: translateX(5px);
  background: rgba(28, 33, 46, 0.98);
}
.spotlight-queue-item.active-spotlight {
  border-color: #ccff00;
  background: rgba(204, 255, 0, 0.1);
  box-shadow: 0 0 24px rgba(204, 255, 0, 0.25);
}

/* SVG Controller Diagram Highlights */
.svg-pad-btn {
  transition: all 0.15s ease;
  cursor: pointer;
}
.svg-pad-btn:hover {
  stroke: #ccff00;
  stroke-width: 2.5px;
}
.svg-pad-btn.active-glow {
  fill: #ccff00 !important;
  stroke: #ffffff !important;
  filter: drop-shadow(0 0 8px rgba(204, 255, 0, 0.85));
}

/* Zero-Latency Hardware-Accelerated Emulator Canvas */
#emulator-canvas, #emulator-viewport canvas {
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-crisp-edges;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
  transform: translateZ(0);
  backface-visibility: hidden;
  will-change: contents;
  outline: none;
}

/* Smooth HTMX loading indicator */
.htmx-indicator {
  opacity: 0;
  transition: opacity 150ms ease-in;
}
.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  opacity: 1;
}

/* ============================================================
   Live Search Autocomplete Dropdown (100% Solid Dark Theme)
   ============================================================ */
#liveSearchResults {
  background-color: #0c0e14 !important;
  opacity: 1 !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.95), 0 0 0 1px rgba(255, 255, 255, 0.1) !important;
}

.search-result-item {
  background-color: #0c0e14 !important;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.search-result-item:hover,
.search-result-item:focus {
  background-color: #1a1e29 !important;
}

/* ============================================================
   Retro Multi-Platform Mobile Virtual Touch Controls & Fullscreen
   ============================================================ */
#emulator-viewport:fullscreen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: #000000 !important;
}

#emulator-viewport:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: #000000 !important;
}

#emulator-viewport:fullscreen canvas,
#emulator-viewport:-webkit-full-screen canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  object-fit: contain !important;
}

/* Canvas Hardware Acceleration */
#emulator-viewport canvas {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

/* Virtual Touch Controller Base - 60 FPS Mobile Optimized Layer */
#virtual-touch-controller {
  position: absolute;
  inset: 0;
  z-index: 35;
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  -webkit-touch-callout: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  contain: strict;
}

.touch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  -webkit-touch-callout: none;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-weight: 800;
  cursor: pointer;
  /* CRITICAL: NO backdrop-filter or blur! Prevents mobile GPU framebuffer readback & fillrate collapse */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  contain: layout paint;
  transition: transform 0.05s ease;
}

.touch-btn:active,
.touch-btn.is-active {
  transform: scale(0.92) translateZ(0) !important;
  -webkit-transform: scale(0.92) translateZ(0) !important;
  opacity: 0.82 !important;
}

.touch-btn-circle {
  border-radius: 9999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  flex-shrink: 0 !important;
}

.touch-btn-lg {
  width: 3.5rem !important; /* 56px */
  height: 3.5rem !important;
  min-width: 3.5rem !important;
  min-height: 3.5rem !important;
}

.touch-btn-md {
  width: 3rem !important; /* 48px */
  height: 3rem !important;
  min-width: 3rem !important;
  min-height: 3rem !important;
}

.touch-btn-sm {
  width: 2.5rem !important; /* 40px */
  height: 2.5rem !important;
  min-width: 2.5rem !important;
  min-height: 2.5rem !important;
}

/* D-Pad cross & active state */
.dpad-wing {
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  -webkit-touch-callout: none;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
  contain: layout paint;
  transition: transform 0.05s ease, background-color 0.05s ease;
}

.dpad-wing.is-active {
  background-color: rgba(99, 102, 241, 0.95) !important;
  color: #ffffff !important;
  transform: scale(0.94) translateZ(0) !important;
  -webkit-transform: scale(0.94) translateZ(0) !important;
}

/* Opacity presets */
.touch-op-100 { opacity: 1 !important; }
.touch-op-85  { opacity: 0.85 !important; }
.touch-op-60  { opacity: 0.60 !important; }
.touch-op-35  { opacity: 0.35 !important; }

/* Mobile Slide-Out Drawer & Bottom Dock Enhancements */
#mobileDrawer {
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 4px 0 35px rgba(0, 0, 0, 0.85);
}

.bottom-nav-link {
  transition: color 0.15s ease, transform 0.1s ease;
}

.bottom-nav-link:active {
  transform: scale(0.92);
}

/* Safe Area Inset Support */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
  nav.fixed.bottom-0 {
    padding-bottom: max(env(safe-area-inset-bottom), 0.5rem) !important;
  }
}

/* Full-Screen Mobile Search Modal & Fluid Cards */
#mobileSearchModal {
  animation: mobileSearchFadeIn 0.18s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  -webkit-overflow-scrolling: touch;
}

@keyframes mobileSearchFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-search-card {
  transition: transform 0.12s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.mobile-search-card:active {
  transform: scale(0.98);
}




/* ==========================================================================
   INTERACTIVE VISUAL CONTROLLER / REMOTE REMAPPER STYLES
   ========================================================================== */

.remote-stage-wrapper {
  position: relative;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  perspective: 1000px;
  user-select: none;
  -webkit-user-select: none;
}

/* Base Chassis */
.remote-chassis {
  position: relative;
  width: 100%;
  border-radius: 28px;
  padding: 1.5rem 1.25rem;
  background: radial-gradient(130% 100% at 50% 0%, #1a1f33 0%, #0d101a 60%, #08090f 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.8),
              0 0 0 1px rgba(255, 255, 255, 0.05),
              inset 0 1px 1px rgba(255, 255, 255, 0.2),
              inset 0 -2px 8px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
  .remote-chassis {
    padding: 2rem 2.25rem;
    border-radius: 36px;
  }
}

/* Authentic Platform Chassis Variations */
.remote-chassis-arcade {
  background: radial-gradient(120% 100% at 50% 0%, #1c1826 0%, #0f0d16 60%, #07060a 100%);
  border-color: rgba(239, 68, 68, 0.3);
  box-shadow: 0 20px 50px -10px rgba(239, 68, 68, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.07), inset 0 1px 2px rgba(255, 255, 255, 0.25);
}

.remote-chassis-snes {
  background: radial-gradient(120% 100% at 50% 0%, #222638 0%, #141724 60%, #0c0e17 100%);
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 20px 50px -10px rgba(168, 85, 247, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.remote-chassis-gba {
  background: radial-gradient(120% 100% at 50% 0%, #192038 0%, #0d1224 60%, #060914 100%);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 50px -10px rgba(59, 130, 246, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.remote-chassis-genesis {
  background: radial-gradient(120% 100% at 50% 0%, #1a1a1e 0%, #0d0d0f 60%, #060608 100%);
  border-color: rgba(234, 179, 8, 0.25);
  box-shadow: 0 20px 50px -10px rgba(234, 179, 8, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.remote-chassis-ps1 {
  background: radial-gradient(120% 100% at 50% 0%, #202430 0%, #13161f 60%, #0a0c12 100%);
  border-color: rgba(99, 102, 241, 0.3);
  box-shadow: 0 20px 50px -10px rgba(99, 102, 241, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.remote-chassis-nes {
  background: radial-gradient(120% 100% at 50% 0%, #222226 0%, #141416 60%, #0a0a0c 100%);
  border-color: rgba(239, 68, 68, 0.25);
  border-radius: 16px !important;
}

/* Interactive Remote Button */
.remote-btn {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  transition: transform 0.08s ease, filter 0.08s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  touch-action: manipulation;
}

.remote-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.6), inset 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* Active / Pressed Down State */
.remote-btn:active,
.remote-btn.pressed {
  transform: translateY(2px) scale(0.93) !important;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.7), 0 0 14px currentColor !important;
  filter: brightness(1.25) contrast(1.15) !important;
}

/* Listening Mode (Pulsing Glow) */
.remote-btn.listening {
  border-color: #06b6d4 !important;
  background: radial-gradient(circle at center, rgba(6, 182, 212, 0.25) 0%, rgba(6, 182, 212, 0.08) 100%) !important;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.6), inset 0 0 10px rgba(6, 182, 212, 0.4) !important;
  animation: remoteBtnPulse 1.2s infinite ease-in-out !important;
}

@keyframes remoteBtnPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 14px rgba(6, 182, 212, 0.5), inset 0 0 8px rgba(6, 182, 212, 0.3);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 0 26px rgba(6, 182, 212, 0.9), inset 0 0 14px rgba(6, 182, 212, 0.6);
  }
}

/* Keycap Badge pill directly on button */
.remote-keycap-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.15rem 0.4rem;
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.65);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
}

.remote-btn.listening .remote-keycap-pill {
  background: #0891b2;
  color: #ffffff;
  border-color: #67e8f9;
  box-shadow: 0 0 8px #06b6d4;
}

/* D-Pad Cross Cluster */
.remote-dpad-cluster {
  position: relative;
  width: 120px;
  height: 120px;
}

@media (min-width: 640px) {
  .remote-dpad-cluster {
    width: 140px;
    height: 140px;
  }
}

.remote-dpad-arm {
  position: absolute;
  background: linear-gradient(180deg, #242938 0%, #151824 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.08s ease;
}

.remote-dpad-arm:hover {
  color: #ffffff;
  background: linear-gradient(180deg, #2e3448 0%, #1c2030 100%);
  border-color: rgba(255, 255, 255, 0.25);
}

.remote-dpad-center {
  position: absolute;
  top: 33.33%;
  left: 33.33%;
  width: 33.33%;
  height: 33.33%;
  background: radial-gradient(circle at center, #1b1e2a 0%, #10121a 100%);
  border-radius: 50%;
  pointer-events: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
}

/* Arcade Fightstick Joystick Base */
.remote-arcade-joystick {
  position: relative;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: radial-gradient(circle at center, #1f2438 0%, #0d101a 70%, #06080e 100%);
  border: 2px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 4px 12px rgba(0, 0, 0, 0.9), 0 6px 16px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
}

.remote-joystick-ball {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f87171 0%, #ef4444 40%, #b91c1c 80%, #7f1d1d 100%);
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.4), inset 0 2px 3px rgba(255, 255, 255, 0.5), inset 0 -3px 6px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  transition: transform 0.1s ease;
}

.remote-joystick-ball:hover {
  transform: scale(1.05);
}

/* Color Accents for Authentic Console Buttons */
.btn-color-red {
  background: radial-gradient(circle at 40% 35%, #f87171 0%, #ef4444 60%, #b91c1c 100%) !important;
  color: #fff !important;
  border-color: rgba(254, 202, 202, 0.4) !important;
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}

.btn-color-yellow {
  background: radial-gradient(circle at 40% 35%, #fde047 0%, #eab308 60%, #ca8a04 100%) !important;
  color: #1e1b4b !important;
  border-color: rgba(254, 240, 138, 0.5) !important;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.6) !important;
}

.btn-color-green {
  background: radial-gradient(circle at 40% 35%, #4ade80 0%, #22c55e 60%, #15803d 100%) !important;
  color: #fff !important;
  border-color: rgba(187, 247, 208, 0.4) !important;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}

.btn-color-blue {
  background: radial-gradient(circle at 40% 35%, #60a5fa 0%, #3b82f6 60%, #1d4ed8 100%) !important;
  color: #fff !important;
  border-color: rgba(191, 219, 254, 0.4) !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}

.btn-color-purple {
  background: radial-gradient(circle at 40% 35%, #c084fc 0%, #a855f7 60%, #7e22ce 100%) !important;
  color: #fff !important;
  border-color: rgba(233, 213, 255, 0.4) !important;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4), inset 0 1px 2px rgba(255, 255, 255, 0.5) !important;
}

.btn-color-lavender {
  background: radial-gradient(circle at 40% 35%, #e9d5ff 0%, #d8b4fe 60%, #a855f7 100%) !important;
  color: #3b0764 !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3), inset 0 1px 2px rgba(255, 255, 255, 0.7) !important;
}

.btn-color-dark {
  background: radial-gradient(circle at 40% 35%, #334155 0%, #1e293b 60%, #0f172a 100%) !important;
  color: #e2e8f0 !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
}

/* Pill utility buttons (Start, Select, Coin, Mode) */
.btn-pill-utility {
  border-radius: 9999px !important;
  padding: 0.35rem 0.75rem !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

