:root {
  --color-bg: #050a14;
  --color-surface: #0d1626;
  --color-border: #1e2d4a;
  --color-accent: #6c63ff;
  --color-accent2: #00d4ff;
  --color-success: #00e5a0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

::selection {
  background: rgba(108, 99, 255, 0.3);
  color: #fff;
}

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-border);
  border-radius: 3px;
}

.gradient-text {
  background: linear-gradient(135deg, #6c63ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-green {
  background: linear-gradient(135deg, #00e5a0, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glow-btn {
  background: linear-gradient(135deg, #6c63ff, #00d4ff);
  box-shadow: 0 0 20px rgba(108, 99, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
}

.glow-btn:hover {
  box-shadow: 0 0 30px rgba(108, 99, 255, 0.8), 0 0 60px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px);
}

.glow-btn-green {
  background: linear-gradient(135deg, #00e5a0, #00b4d8);
  box-shadow: 0 0 20px rgba(0, 229, 160, 0.5), 0 0 40px rgba(0, 212, 255, 0.2);
  transition: all 0.3s ease;
}

.glow-btn-green:hover {
  box-shadow: 0 0 40px rgba(0, 229, 160, 0.8), 0 0 80px rgba(0, 212, 255, 0.4);
  transform: translateY(-2px) scale(1.02);
}

.glass-card {
  background: rgba(13, 22, 38, 0.8);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(30, 45, 74, 0.8);
}

.input-glow:focus {
  outline: none;
  border-color: rgba(108, 99, 255, 0.6);
  box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.15), 0 0 20px rgba(108, 99, 255, 0.1);
}

.bg-mesh {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(108, 99, 255, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(0, 212, 255, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 229, 160, 0.04) 0%, transparent 50%),
    #050a14;
}

/* ── Animations ── */
@keyframes pulse-ring {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2); opacity: 0; }
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

@keyframes float-up {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes count-down {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 283; }
}

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

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(0, 229, 160, 0.4); }
  50% { box-shadow: 0 0 40px rgba(0, 229, 160, 0.8), 0 0 80px rgba(0, 229, 160, 0.3); }
}

@keyframes bounce-in {
  0% { transform: scale(0.5); opacity: 0; }
  70% { transform: scale(1.05); }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes ticker {
  from { stroke-dashoffset: 0; }
  to { stroke-dashoffset: 283; }
}

.animate-pulse-ring {
  animation: pulse-ring 1.5s cubic-bezier(0.215, 0.61, 0.355, 1) infinite;
}

.animate-spin-slow {
  animation: spin-slow 2s linear infinite;
}

.animate-float-up {
  animation: float-up 0.6s ease forwards;
}

.animate-bounce-in {
  animation: bounce-in 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

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

.shimmer-text {
  background: linear-gradient(90deg, #6c63ff, #00d4ff, #00e5a0, #6c63ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}
