:root {
  --bg-primary: #0d0d1a;
  --bg-secondary: #1a1a2e;
  --bg-tertiary: #16213e;
  --neon-green: #00ff88;
  --hot-pink: #ff3366;
  --text-primary: #e8e8f0;
  --text-secondary: #8888aa;
  --bleep-red: #ff2255;
}

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

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Bricolage Grotesque', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(0, 255, 136, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 51, 102, 0.03) 0%, transparent 50%),
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.008) 2px, rgba(255,255,255,0.008) 4px);
  pointer-events: none;
  z-index: 0;
}

#root {
  position: relative;
  z-index: 1;
}

@keyframes pulse-border {
  0%, 100% { border-color: rgba(0, 255, 136, 0.3); }
  50% { border-color: rgba(0, 255, 136, 0.8); }
}

@keyframes scan-line {
  0% { transform: translateY(-100%); }
  100% { transform: translateY(100vh); }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 5px rgba(0, 255, 136, 0.3); }
  50% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.6), 0 0 40px rgba(0, 255, 136, 0.2); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px) rotate(-1deg); }
  75% { transform: translateX(4px) rotate(1deg); }
}

@keyframes float-up {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

@keyframes bleep-flash {
  0%, 100% { background: transparent; }
  50% { background: rgba(255, 34, 85, 0.15); }
}

.drop-zone {
  animation: pulse-border 2s ease-in-out infinite;
  transition: all 0.3s ease;
}

.drop-zone:hover, .drop-zone.drag-over {
  border-color: var(--neon-green) !important;
  background: rgba(0, 255, 136, 0.05) !important;
  transform: scale(1.01);
}

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

.glow-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(0, 255, 136, 0.5) !important;
}

.glow-btn:active {
  transform: translateY(0);
}

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

.float-in {
  animation: float-up 0.4s ease-out forwards;
}

.bleep-zone-marker {
  transition: all 0.2s ease;
  cursor: pointer;
}

.bleep-zone-marker:hover {
  filter: brightness(1.3);
  transform: scaleY(1.3);
}

.transcript-word {
  display: inline-block;
  padding: 1px 3px;
  margin: 1px;
  border-radius: 3px;
  transition: all 0.2s ease;
}

.transcript-word.swear {
  background: rgba(255, 34, 85, 0.3);
  color: var(--hot-pink);
  text-decoration: line-through;
  font-weight: 700;
}

.swear-jar {
  position: relative;
  overflow: hidden;
}

.swear-jar::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
  0% { left: -100%; }
  100% { left: 200%; }
}

video::-webkit-media-controls {
  display: none !important;
}

.timeline-container {
  position: relative;
  cursor: crosshair;
}

.sensitivity-slider {
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--neon-green), #ffaa00, var(--hot-pink), #ff0000);
  outline: none;
}

.sensitivity-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: white;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

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

::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2a3a5e;
}