/* Web3 Luxury Dark Theme & Premium Glassmorphism Styling */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  --bg-dark: #06070a;
  --card-bg: rgba(13, 15, 22, 0.85);
  --card-border: rgba(255, 255, 255, 0.08);
  --card-hover-border: rgba(16, 185, 129, 0.5);
  --primary-emerald: #10B981;
  --primary-emerald-glow: rgba(16, 185, 129, 0.22);
  --accent-cyan: #06B6D4;
  --text-main: #F9FAFB;
  --text-muted: #9CA3AF;
  --text-subtle: #6B7280;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 45%),
    radial-gradient(circle at 90% 90%, rgba(139, 92, 246, 0.05) 0%, transparent 40%);
  background-attachment: fixed;
  min-height: 100vh;
  letter-spacing: -0.01em;
}

/* Font Classes */
.font-display {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
}

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

/* Glassmorphism Cards & Panels */
.glass-panel {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--card-border);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.network-card {
  position: relative;
  background: rgba(15, 18, 26, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid var(--card-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-bottom: 2px;
}

.network-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-hover-border);
  box-shadow: 0 20px 40px -10px var(--primary-emerald-glow), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  background: rgba(20, 24, 34, 0.92);
}

.network-card:hover .select-btn {
  background: linear-gradient(135deg, #10B981 0%, #059669 100%);
  color: #04100b;
  border-color: rgba(16, 185, 129, 0.8);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

/* Wallet Item Button in Step 1 Modal */
.wallet-choice-btn {
  background: rgba(18, 21, 30, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.wallet-choice-btn:hover {
  background: rgba(28, 33, 48, 0.95);
  border-color: rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Premium Badges with Strict Letter-Spacing */
.badge-tag {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 10px;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 9px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
}

.badge-popular {
  background: rgba(16, 185, 129, 0.12);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.35);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.15);
}

.badge-cheap {
  background: rgba(59, 130, 246, 0.12);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.35);
  box-shadow: 0 0 12px rgba(59, 130, 246, 0.15);
}

.badge-fast {
  background: rgba(168, 85, 247, 0.12);
  color: #C084FC;
  border: 1px solid rgba(168, 85, 247, 0.35);
  box-shadow: 0 0 12px rgba(168, 85, 247, 0.15);
}

.badge-standard {
  background: rgba(255, 255, 255, 0.06);
  color: #E5E7EB;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

/* Step Badge Pill */
.step-pill {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
  color: #9CA3AF;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Language Switcher Control */
.lang-btn {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.lang-btn.active {
  background: rgba(16, 185, 129, 0.2);
  color: #34D399;
  border-color: rgba(16, 185, 129, 0.4);
}

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

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #06070a;
}
::-webkit-scrollbar-thumb {
  background: #1F2937;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #374151;
}
