/* NEXO DIGITAL - FUTURISTIC MINIMALIST ROCK RADIO DESIGN SYSTEM */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;700;900&family=Space+Grotesk:wght@400;500;700&display=swap');

:root {
  --bg-dark: #050811;
  --bg-card: rgba(15, 23, 42, 0.85);
  --bg-card-hover: rgba(30, 41, 59, 0.9);
  --accent-purple: #A855F7;
  --accent-purple-glow: rgba(168, 85, 247, 0.4);
  --accent-crimson: #F43F5E;
  --accent-crimson-glow: rgba(244, 63, 94, 0.4);
  --accent-bronze: #C5A184;
  --accent-cyan: #06B6D4;
  --text-main: #F8F9FA;
  --text-muted: #94A3B8;
  --border-color: rgba(51, 65, 85, 0.6);
  --border-neon: rgba(168, 85, 247, 0.3);
}

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

body {
  background-color: var(--bg-dark);
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(168, 85, 247, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(244, 63, 94, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 50% 50%, rgba(6, 182, 212, 0.04) 0%, transparent 60%);
  background-attachment: fixed;
  color: var(--text-main);
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #050811;
}
::-webkit-scrollbar-thumb {
  background: #334155;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-purple);
}

/* Glow Effects */
.brand-glow {
  box-shadow: 0 0 25px var(--accent-purple-glow);
}

.brand-glow-crimson {
  box-shadow: 0 0 25px var(--accent-crimson-glow);
}

.glow-border-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.glow-border-hover:hover {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.25);
  transform: translateY(-2px);
}

/* Typography Utilities */
.font-outfit {
  font-family: 'Outfit', sans-serif;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #FFFFFF 0%, #C084FC 50%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-crimson {
  background: linear-gradient(135deg, #FF6B6B 0%, #F43F5E 50%, #E11D48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-bronze {
  color: var(--accent-bronze);
}

.bg-bronze {
  background-color: var(--accent-bronze);
}

/* Audio Visualizer Canvas */
#visualizer-canvas {
  width: 100%;
  height: 140px;
  border-radius: 0.75rem;
  background: rgba(5, 8, 17, 0.9);
}

/* Energy Level Meter Animation */
.energy-bar-fill {
  transition: width 0.4s ease-out, background-color 0.4s ease;
}

/* Floating Particle FX Container */
.particle-fx-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 1rem;
}

.floating-emoji {
  position: absolute;
  bottom: 0;
  font-size: 1.5rem;
  animation: floatUp 2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  opacity: 1;
}

@keyframes floatUp {
  0% {
    transform: translateY(0) scale(0.6) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-220px) scale(1.4) rotate(15deg);
    opacity: 0;
  }
}

/* Pulse Animations */
@keyframes neonPulse {
  0%, 100% { opacity: 1; filter: drop-shadow(0 0 8px rgba(168,85,247,0.8)); }
  50% { opacity: 0.6; filter: drop-shadow(0 0 2px rgba(168,85,247,0.3)); }
}

.animate-neon-pulse {
  animation: neonPulse 2s infinite ease-in-out;
}

/* Glassmorphism Cards */
.glass-panel {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Custom Range Input Styling */
input[type=range] {
  -webkit-appearance: none;
  appearance: none;
  background: #1E293B;
  height: 6px;
  border-radius: 3px;
  outline: none;
}

input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent-purple);
  cursor: pointer;
  box-shadow: 0 0 10px var(--accent-purple);
  transition: transform 0.1s ease;
}

input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

/* Tab Navigation Active State */
.nav-tab.active {
  color: #A855F7;
  border-bottom: 2px solid #A855F7;
  background: rgba(168, 85, 247, 0.08);
}

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

.toast {
  background: rgba(15, 23, 42, 0.95);
  border: 1px solid var(--accent-purple);
  box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
  color: white;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.85rem;
  backdrop-filter: blur(10px);
  animation: slideInRight 0.3s ease-out forwards;
}

@keyframes slideInRight {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}
