@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=JetBrains+Mono:wght@400;700&display=swap');

* {
  box-sizing: border-box;
}

body {
  font-family: 'JetBrains Mono', monospace;
}

.font-display {
  font-family: 'Bebas Neue', sans-serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

.glass-panel {
  background: rgba(10, 10, 20, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(0, 245, 255, 0.2);
  box-shadow: 
    0 0 40px rgba(255, 0, 110, 0.1),
    inset 0 0 60px rgba(0, 245, 255, 0.03);
}

.glow-input:focus {
  box-shadow: 
    0 0 20px rgba(255, 0, 110, 0.3),
    0 0 40px rgba(255, 0, 110, 0.1);
}

.glitch-text {
  background: linear-gradient(90deg, #ff006e, #00f5ff, #39ff14, #ff006e);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 3s ease infinite;
  text-shadow: none;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

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

@keyframes pulse-glow {
  0%, 100% { 
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
    transform: scale(1);
  }
  50% { 
    box-shadow: 0 0 40px rgba(255, 0, 110, 0.5), 0 0 60px rgba(0, 245, 255, 0.2);
    transform: scale(1.02);
  }
}

.chaos-slider {
  -webkit-appearance: none;
  background: linear-gradient(90deg, #39ff14, #ff006e, #00f5ff);
  border-radius: 10px;
}

.chaos-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff006e;
  cursor: pointer;
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.8);
  transition: all 0.2s;
}

.chaos-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 30px rgba(255, 0, 110, 1);
}

.chaos-slider::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ff006e;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.8);
}

.meme-container {
  position: relative;
  box-shadow: 
    0 0 60px rgba(255, 0, 110, 0.2),
    0 0 100px rgba(0, 245, 255, 0.1);
}

.meme-text {
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Scanline effect */
.meme-container::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0, 0, 0, 0.1) 2px,
    rgba(0, 0, 0, 0.1) 4px
  );
  pointer-events: none;
  opacity: 0.3;
}

/* Screen tear effect on hover */
.meme-container:hover::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0, 245, 255, 0.5);
  animation: tear 0.1s ease;
  z-index: 10;
}

@keyframes tear {
  0% { transform: translateY(-100px) scaleX(0); }
  50% { transform: translateY(0) scaleX(1); }
  100% { transform: translateY(100px) scaleX(0); }
}

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

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff006e, #00f5ff);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff006e, #39ff14);
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .glitch-text {
    font-size: 3rem !important;
  }
  
  .meme-text {
    font-size: 1.5rem !important;
  }
}

/* Floating particles background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 80%, rgba(255, 0, 110, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(0, 245, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(57, 255, 20, 0.05) 0%, transparent 30%);
  pointer-events: none;
  z-index: 0;
}