@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;600;700&family=Merriweather:ital@0;1&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  color: #f5f5f5;
  overflow-x: hidden;
}

.font-bebas {
  font-family: 'Bebas Neue', cursive;
  letter-spacing: 0.05em;
}

.font-serif {
  font-family: 'Merriweather', serif;
}

/* Glitch text effect */
.glitch-text {
  position: relative;
  animation: glitch-skew 3s infinite;
}

@keyframes glitch-skew {
  0% { transform: skew(0deg); }
  98% { transform: skew(0deg); }
  99% { transform: skew(2deg); }
  100% { transform: skew(0deg); }
}

/* Pulse button */
.pulse-button {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Floating animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0px) translateX(0px);
    opacity: 0;
  }
  10% {
    opacity: 0.4;
  }
  50% {
    transform: translateY(-100px) translateX(30px);
    opacity: 0.6;
  }
  90% {
    opacity: 0.4;
  }
}

.animate-float {
  animation: float 10s infinite ease-in-out;
}

/* Scan lines effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15),
    rgba(0, 0, 0, 0.15) 1px,
    transparent 1px,
    transparent 2px
  );
  pointer-events: none;
  z-index: 1000;
  opacity: 0.3;
}

/* Grain texture */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 999;
}

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

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

::-webkit-scrollbar-thumb {
  background: #F4C430;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #d4a420;
}

/* Range input styling */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #374151;
  border-radius: 5px;
  outline: none;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  background: #F4C430;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: #d4a420;
}

input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  background: #F4C430;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.2);
  background: #d4a420;
}

/* Smooth transitions */
* {
  transition: background-color 0.2s ease;
}

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

/* Selection color */
::selection {
  background: #F4C430;
  color: #0a0a0a;
}