/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Bungee&display=swap');

/* Custom cursor - Death Scythe */
body {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M8 2 L16 10 L24 2 L28 6 L20 14 L28 22 L24 26 L16 18 L8 26 L4 22 L12 14 L4 6 Z' fill='%23a855f7'/%3E%3C/svg%3E") 16 16, auto;
  background-color: #000000;
  color: white;
  overflow-x: hidden;
  font-family: 'Orbitron', monospace;
}

button, a {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Cpath d='M8 2 L16 10 L24 2 L28 6 L20 14 L28 22 L24 26 L16 18 L8 26 L4 22 L12 14 L4 6 Z' fill='%2322c55e'/%3E%3C/svg%3E") 16 16, pointer;
}

/* Font classes */
.font-orbitron {
  font-family: 'Orbitron', monospace;
}

.font-bungee {
  font-family: 'Bungee', cursive;
}

/* Dripping text effect */
.dripping-text {
  position: relative;
  display: inline-block;
}

.dripping-text::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 20%;
  width: 4px;
  height: 20px;
  background: linear-gradient(to bottom, #a855f7, transparent);
  border-radius: 0 0 50% 50%;
  animation: drip 3s infinite;
}

/* Animations */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
}

@keyframes glitch {
  0% { transform: translate(0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0); }
}

@keyframes drip {
  0% { opacity: 0; transform: translateY(-10px); }
  50% { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-in-up {
  from { 
    opacity: 0;
    transform: translateY(30px);
  }
  to { 
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(168, 85, 247, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.6);
  }
}

@keyframes pulse-slow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Utility classes */
.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-glitch {
  animation: glitch 0.3s infinite;
}

.animate-fade-in {
  animation: fade-in 1s ease-out;
}

.animate-fade-in-up {
  animation: fade-in-up 1s ease-out;
}

.animate-pulse-glow {
  animation: pulse-glow 3s infinite;
}

.animate-pulse-slow {
  animation: pulse-slow 4s infinite;
}

.animate-spin-slow {
  animation: spin-slow 20s linear infinite;
}

/* Zombie button effects */
.zombie-button {
  position: relative;
  overflow: hidden;
}

.zombie-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.zombie-button:hover::before {
  left: 100%;
}

/* Responsive design */
@media (max-width: 768px) {
  .dripping-text::after {
    width: 2px;
    height: 10px;
    bottom: -5px;
  }
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, #a855f7, #22c55e);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(to bottom, #9333ea, #16a34a);
}

/* Selection styling */
::selection {
  background: rgba(168, 85, 247, 0.3);
  color: #22c55e;
}