@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
  --accent-glow: 0 0 35px rgba(139, 92, 246, 0.35);
}

* {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  box-sizing: border-box;
}

body {
  transition: background-color 0.3s ease, color 0.3s ease;
}

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-bg {
  background: var(--primary-gradient);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dark .glass-panel {
  background: rgba(17, 24, 39, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glow-effect {
  box-shadow: var(--accent-glow);
}

.glow-hover:hover {
  box-shadow: 0 10px 30px -5px rgba(99, 102, 241, 0.45);
  transform: translateY(-2px);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.platform-pill {
  transition: all 0.2s ease;
}
.platform-pill:hover {
  transform: translateY(-2px) scale(1.03);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.4);
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(156, 163, 175, 0.7);
}

/* Video Preview and Player */
#previewContainer {
  transition: all 0.3s ease;
}

#previewPlayer {
  background: #000;
  border-radius: 0.75rem;
}

/* History Card */
#historyList > div {
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

#historyList > div:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 15px -3px rgba(99, 102, 241, 0.15);
}

/* Spinner */
@keyframes spin {
  to { transform: rotate(360deg); }
}
.animate-spin-fast {
  animation: spin 0.8s linear infinite;
}

