@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&family=Press+Start+2P&display=swap');

body {
  font-family: 'Fira Code', monospace;
}

.glitch-text {
  font-family: 'Press Start 2P', cursive;
  animation: glitch 3s infinite;
}

@keyframes glitch {
  0%, 90%, 100% {
    text-shadow: 0 0 10px rgba(168, 85, 247, 0.5);
  }
  95% {
    text-shadow: 
      -2px 0 rgba(255, 0, 0, 0.7),
      2px 0 rgba(0, 255, 255, 0.7),
      0 0 20px rgba(168, 85, 247, 0.8);
    transform: translate(2px, -2px);
  }
}

.sparkle {
  animation: spin 3s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.terminal-line {
  animation: typeIn 0.1s ease-out;
  padding: 2px 0;
}

@keyframes typeIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.terminal-scroll::-webkit-scrollbar {
  width: 8px;
}

.terminal-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
}

.terminal-scroll::-webkit-scrollbar-thumb {
  background: rgba(168, 85, 247, 0.5);
  border-radius: 4px;
}

.terminal-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(168, 85, 247, 0.7);
}

.vibe-bar {
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.8;
  }
  50% {
    opacity: 1;
  }
}

.ship-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
  padding: 1rem 3rem;
  border-radius: 1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  animation: buttonPulse 2s ease-in-out infinite;
}

.ship-button:hover:not(:disabled) {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(102, 126, 234, 0.6);
}

.ship-button:active:not(:disabled) {
  transform: scale(0.95);
}

@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
  }
  50% {
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.6);
  }
}

.accomplishment-item {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.particle {
  position: fixed;
  width: 8px;
  height: 8px;
  background: radial-gradient(circle, #a855f7, #ec4899);
  border-radius: 50%;
  pointer-events: none;
  animation: particleFade 2s ease-out forwards;
  z-index: 1000;
}

@keyframes particleFade {
  0% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0);
  }
}

.shake {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
  20%, 40%, 60%, 80% { transform: translateX(5px); }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .glitch-text {
    font-size: 2rem;
  }
  
  .ship-button {
    font-size: 1.2rem;
    padding: 0.8rem 2rem;
  }
}