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

:root {
  --bg-deep: #040406;
  --bg-card: rgba(12, 12, 18, 0.75);
  --bg-card-hover: rgba(20, 20, 30, 0.85);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 245, 212, 0.4);
  --accent-cyan: #00f5d4;
  --accent-purple: #7928ca;
  --accent-pink: #ff0080;
  --accent-blue: #3b82f6;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  selection-background-color: #00f5d4;
  selection-color: #000;
}

::selection {
  background: var(--accent-cyan);
  color: #000;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}
::-webkit-scrollbar-track {
  background: #060609;
}
::-webkit-scrollbar-thumb {
  background: #1f1f2e;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #34344e;
}

/* Canvas Background */
#canvas-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Glass Panels */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.15);
}

/* Neon Glow Accents */
.glow-cyan {
  text-shadow: 0 0 20px rgba(0, 245, 212, 0.5);
}

.glow-box-cyan {
  box-shadow: 0 0 30px -5px rgba(0, 245, 212, 0.25);
}

.glow-box-purple {
  box-shadow: 0 0 35px -5px rgba(121, 40, 202, 0.3);
}

/* Animated Border Glow */
.glow-border {
  position: relative;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: linear-gradient(90deg, #00f5d4, #7928ca, #ff0080, #00f5d4);
  background-size: 300% 300%;
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderGlow 6s linear infinite;
}

.glow-border:focus-within::before {
  opacity: 1;
}

@keyframes borderGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Platform switcher tab */
.platform-tab {
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  background: rgba(14, 14, 20, 0.6);
  border-color: rgba(255, 255, 255, 0.08);
  color: #9ca3af;
}

.platform-tab.active {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.15), rgba(121, 40, 202, 0.15));
  border-color: var(--accent-cyan);
  color: #ffffff;
  box-shadow: 0 0 15px rgba(0, 245, 212, 0.2);
}

.platform-tab:hover:not(.active) {
  border-color: rgba(255, 255, 255, 0.18);
  color: #e5e7eb;
}
.shimmer-bar {
  background-size: 200% 100%;
  animation: shimmerMove 2s infinite linear;
}

@keyframes shimmerMove {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Smooth Pulse */
@keyframes softPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.05); opacity: 1; }
}

.animate-soft-pulse {
  animation: softPulse 3s ease-in-out infinite;
}

/* Monospace fonts for metrics */
.font-mono-metric {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom Checkbox / Radio styling */
.pill-option {
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.pill-option.active {
  background: linear-gradient(135deg, rgba(0, 245, 212, 0.15), rgba(121, 40, 202, 0.15));
  border-color: var(--accent-cyan);
  color: #fff;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.2);
}

/* Toast container */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Floating Dock Navigation */
.floating-dock-wrapper {
  position: fixed;
  top: 18px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 50;
  pointer-events: none;
}

.floating-dock {
  pointer-events: auto;
  position: relative;
  background: rgba(8, 8, 12, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.2);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-dock:hover {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 245, 212, 0.15);
}

/* Top Lens Flare / Glowing Light Streak */
.floating-dock::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 15%;
  width: 25%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.9), rgba(0, 245, 212, 0.9), transparent);
  border-radius: 9999px;
  filter: drop-shadow(0 0 6px rgba(0, 245, 212, 0.8));
  pointer-events: none;
  animation: flareGlide 8s ease-in-out infinite alternate;
}

@keyframes flareGlide {
  0% { left: 10%; width: 20%; opacity: 0.7; }
  50% { left: 45%; width: 30%; opacity: 1; }
  100% { left: 70%; width: 20%; opacity: 0.7; }
}

.dock-avatar-ring {
  position: relative;
}

.dock-avatar-ring::after {
  content: '';
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 9px;
  height: 9px;
  background: #10b981;
  border: 2px solid #08080c;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
}

.dock-link {
  color: #9ca3af;
  font-size: 0.825rem;
  font-weight: 500;
  transition: all 0.2s ease;
  position: relative;
}

.dock-link:hover, .dock-link.active {
  color: #ffffff;
}

.dock-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--accent-cyan);
}


