
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Fira+Code:wght@400;500;600;700&display=swap");

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

:root {
  --bg: #030206;
  --bg-gradient: radial-gradient(circle at 50% 0%, #130f2b 0%, #050409 60%, #000000 100%);
  --panel-bg: rgba(14, 11, 26, 0.55);
  --panel-hover: rgba(22, 17, 40, 0.7);
  --border: rgba(99, 102, 241, 0.16);
  --border-hover: rgba(168, 85, 247, 0.4);
  --accent: #6366f1;
  --accent-glow: rgba(99, 102, 241, 0.35);
  --accent2: #a855f7;
  --accent2-glow: rgba(168, 85, 247, 0.35);
  
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --text-dark: #4b5563;
  
  --green: #10b981;
  --green-glow: rgba(16, 185, 129, 0.15);
  --red: #f43f5e;
  --cyan: #06b6d4;
  --yellow: #f59e0b;
}

body {
  font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  background-image: var(--bg-gradient);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(99, 102, 241, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99, 102, 241, 0.04) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: top center;
  pointer-events: none;
  z-index: 1;
}

.glass {
  background: var(--panel-bg);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.glass:hover {
  border-color: var(--border-hover);
  background: var(--panel-hover);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
}

.nav-bar {
  position: sticky;
  top: 0;
  background: rgba(3, 2, 6, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  z-index: 1000;
  padding: 16px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-weight: 800;
  font-size: 20px;
  text-decoration: none;
  color: var(--text);
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-logo span {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(168, 85, 247, 0.3);
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 8px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.05);
}

.nav-links a.active {
  color: #fff;
  background: rgba(99, 102, 241, 0.15);
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

code, pre {
  font-family: "Fira Code", monospace;
}

input, textarea, select {
  font-family: inherit;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 14px 16px;
  outline: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

input::placeholder, textarea::placeholder {
  color: rgba(156, 163, 175, 0.5);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

input:focus::placeholder, textarea:focus::placeholder {
  opacity: 0.3;
  transform: translateX(6px);
}

input:hover, textarea:hover, select:hover {
  border-color: rgba(99, 102, 241, 0.35);
  background: rgba(0, 0, 0, 0.5);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25), 0 0 15px rgba(99, 102, 241, 0.12);
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.22);
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slideDown {
  from { opacity: 0; max-height: 0; padding-top: 0; padding-bottom: 0; }
  to { opacity: 1; max-height: 800px; padding-top: 24px; padding-bottom: 24px; }
}

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

@keyframes pulse-glow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

@keyframes pop {
  0% { transform: scale(1); }
  40% { transform: scale(1.18); }
  100% { transform: scale(1); }
}

@keyframes ripple {
  0% { box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.35); }
  100% { box-shadow: 0 0 0 12px rgba(99, 102, 241, 0); }
}

.fade-in {
  animation: fadeInUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.fade-in-d1 {
  animation: fadeInUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.08s both;
}

.fade-in-d2 {
  animation: fadeInUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.18s both;
}

.fade-in-d3 {
  animation: fadeInUp 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.28s both;
}

.stat-pop {
  animation: pop 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.loading-shimmer {
  background: linear-gradient(90deg, transparent 25%, rgba(99, 102, 241, 0.08) 50%, transparent 75%);
  background-size: 200% 100%;
  animation: shimmer 1.8s ease infinite;
}

.loading-pulse {
  animation: pulse-glow 1.5s ease-in-out infinite;
}

