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

body {
  font-family: 'Outfit', sans-serif;
  overflow-x: hidden;
}

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #14141f;
  --accent: #00d4ff;
  --accent-glow: rgba(0, 212, 255, 0.3);
  --text-primary: #ffffff;
  --text-secondary: #a0a0b8;
  --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  --gradient-4: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
  --gradient-5: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

body.light-mode {
  --bg-primary: #f8f9fa;
  --bg-secondary: #ffffff;
  --accent: #0066ff;
  --accent-glow: rgba(0, 102, 255, 0.15);
  --text-primary: #1a1a1a;
  --text-secondary: #666666;
}

.gradient-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: var(--bg-primary);
  overflow: hidden;
}

.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: float 20s infinite ease-in-out;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(102, 126, 234, 0.8) 0%, transparent 70%);
  top: -10%;
  left: -10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(240, 147, 251, 0.6) 0%, transparent 70%);
  bottom: -10%;
  right: -10%;
  animation-delay: -7s;
}

.orb-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.5) 0%, transparent 70%);
  top: 40%;
  right: 20%;
  animation-delay: -14s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(50px, -50px) scale(1.1);
  }
  66% {
    transform: translate(-30px, 30px) scale(0.9);
  }
}

.particles-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.5;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% {
    transform: translateY(100vh) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 0.5;
  }
  90% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-10vh) translateX(var(--drift));
    opacity: 0;
  }
}

.glow-input {
  transition: all 0.3s ease;
}

.glow-input:focus {
  box-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow);
  transform: translateY(-2px);
}

.card-hover {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-hover:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.shimmer-btn {
  position: relative;
  overflow: hidden;
}

.shimmer-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(255, 255, 255, 0.3) 50%,
    transparent 70%
  );
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
  }
  100% {
    transform: translateX(100%) translateY(100%) rotate(45deg);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out forwards;
}

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

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

.confetti-particle {
  position: fixed;
  width: 10px;
  height: 10px;
  pointer-events: none;
  z-index: 9999;
  animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(-100vh) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

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

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 20px var(--accent-glow);
  }
  50% {
    box-shadow: 0 0 40px var(--accent-glow), 0 0 60px var(--accent-glow);
  }
}

.matrix-rain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.15;
}

.dragging {
  opacity: 0.5;
  transform: scale(1.05);
  cursor: grabbing;
}

.drag-over {
  border: 2px dashed var(--accent) !important;
  background: var(--accent-glow);
}

@media (max-width: 768px) {
  .gradient-orb {
    filter: blur(60px);
  }
  
  .orb-1, .orb-2, .orb-3 {
    width: 300px;
    height: 300px;
  }
}

.icon-trophy::before { content: '🏆'; }
.icon-rocket::before { content: '🚀'; }
.icon-star::before { content: '⭐'; }
.icon-bulb::before { content: '💡'; }
.icon-code::before { content: '💻'; }
.icon-team::before { content: '👥'; }
.icon-fire::before { content: '🔥'; }
.icon-zap::before { content: '⚡'; }
.icon-heart::before { content: '❤️'; }
.icon-brain::before { content: '🧠'; }
.icon-target::before { content: '🎯'; }
.icon-medal::before { content: '🏅'; }
.icon-sparkles::before { content: '✨'; }
.icon-crown::before { content: '👑'; }
.icon-gem::before { content: '💎'; }
.icon-pizza::before { content: '🍕'; }
.icon-coffee::before { content: '☕'; }
.icon-moon::before { content: '🌙'; }

.theme-hacker { --accent: #00ff41; --accent-glow: rgba(0, 255, 65, 0.3); }
.theme-purple { --accent: #a78bfa; --accent-glow: rgba(167, 139, 250, 0.3); }
.theme-gold { --accent: #fbbf24; --accent-glow: rgba(251, 191, 36, 0.3); }
.theme-blue { --accent: #00d4ff; --accent-glow: rgba(0, 212, 255, 0.3); }