/* Custom styles and enhancements for NodeClient */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #00f2fe;
  --secondary: #4facfe;
  --accent: #10b981;
  --bg-dark: #070a13;
  --bg-card: rgba(15, 23, 42, 0.7);
  --border-glow: rgba(0, 242, 254, 0.2);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: #e2e8f0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
}

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

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

/* Background Grids and Glows */
.bg-grid-pattern {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

.radial-gradient-glow {
  background: radial-gradient(circle at 50% -20%, rgba(0, 242, 254, 0.18), transparent 70%);
}

.radial-node-accent {
  background: radial-gradient(circle at 80% 40%, rgba(16, 185, 129, 0.12), transparent 60%);
}

/* Glassmorphism */
.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);
}

.glass-panel-interactive {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.07);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel-interactive:hover {
  border-color: rgba(0, 242, 254, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -10px rgba(0, 242, 254, 0.15);
}

/* Glowing text and borders */
.text-gradient-cyan {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-emerald {
  background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.glow-btn {
  position: relative;
  transition: all 0.3s ease;
}

.glow-btn::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, #00f2fe, #4facfe, #10b981);
  border-radius: inherit;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
  filter: blur(8px);
}

.glow-btn:hover::after {
  opacity: 0.7;
}

/* Badge pulse */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(0.98); }
}

.badge-pulse {
  animation: pulse-subtle 2.5s infinite ease-in-out;
}

/* Code block highlight */
.code-window {
  background: #0d121f;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0.75rem;
  overflow: hidden;
}
