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

:root {
  --primary: #38bdf8;
  --primary-glow: rgba(56, 189, 248, 0.4);
  --secondary: #818cf8;
  --accent: #c084fc;
  --neon-green: #34d399;
  --bg-deep: #030712;
  --bg-card: rgba(15, 23, 42, 0.75);
  --border-card: rgba(56, 189, 248, 0.15);
}

body {
  font-family: 'Plus Jakarta Sans', 'Noto Sans TC', sans-serif;
  background-color: var(--bg-deep);
  color: #f1f5f9;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

code, pre, .font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Cyber Matrix Background Grid */
.bg-cyber-grid {
  background-image: 
    linear-gradient(to right, rgba(56, 189, 248, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(56, 189, 248, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

.bg-radial-gradient {
  background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.18) 0%, rgba(56, 189, 248, 0.08) 35%, transparent 70%);
}

.bg-radial-bottom {
  background: radial-gradient(circle at 80% 80%, rgba(192, 132, 252, 0.15) 0%, transparent 50%);
}

/* Glassmorphism Card */
.glass-panel {
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 15px 35px -5px rgba(56, 189, 248, 0.15);
  transform: translateY(-2px);
}

.glass-card-glow {
  position: relative;
  overflow: hidden;
}

.glass-card-glow::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #818cf8, transparent);
  opacity: 0.7;
}

/* Neon Text Glow */
.text-glow-cyan {
  text-shadow: 0 0 20px rgba(56, 189, 248, 0.6);
}

.text-glow-purple {
  text-shadow: 0 0 20px rgba(192, 132, 252, 0.6);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #030712;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #38bdf8;
}

/* Floating animation */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

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

.animate-pulse-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

/* Audio Wave Visualizer animation */
@keyframes soundWave {
  0%, 100% { height: 4px; }
  50% { height: 24px; }
}

.wave-bar {
  display: inline-block;
  width: 3px;
  background: #38bdf8;
  border-radius: 2px;
  animation: soundWave 1.2s ease-in-out infinite;
}
.wave-bar:nth-child(2) { animation-delay: 0.2s; background: #818cf8; }
.wave-bar:nth-child(3) { animation-delay: 0.4s; background: #c084fc; }
.wave-bar:nth-child(4) { animation-delay: 0.1s; background: #38bdf8; }
.wave-bar:nth-child(5) { animation-delay: 0.3s; background: #34d399; }

/* Cyber Corner Accents */
.cyber-corner {
  position: relative;
}
.cyber-corner::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 12px;
  height: 12px;
  border-bottom: 2px solid #38bdf8;
  border-right: 2px solid #38bdf8;
  pointer-events: none;
}

/* Coming Soon Badges & Tags */
.badge-coming-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.18), rgba(236, 72, 153, 0.18));
  border: 1px solid rgba(245, 158, 11, 0.5);
  color: #fbbf24;
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
  letter-spacing: 0.025em;
}

.badge-coming-soon-cyan {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(99, 102, 241, 0.18));
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}

