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

:root {
  /* Colors */
  --bg-primary: #0a0b0e;
  --bg-secondary: #121319;
  --bg-tertiary: #1a1c24;
  --bg-card: rgba(26, 28, 36, 0.7);
  --bg-glass: rgba(18, 19, 25, 0.85);
  --bg-glass-strong: rgba(14, 15, 20, 0.94);
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-strong: rgba(255, 255, 255, 0.25);
  
  /* Brand Accents */
  --netflix-red: #e50914;
  --netflix-red-hover: #b80710;
  --netflix-red-glow: rgba(229, 9, 20, 0.45);
  
  --prime-blue: #00a8e1;
  --prime-blue-hover: #008fbf;
  --prime-blue-glow: rgba(0, 168, 225, 0.4);
  
  --gold-accent: #f5c518;
  --gold-glow: rgba(245, 197, 24, 0.35);
  
  /* Semantic Status Colors */
  --status-approved: #10b981;
  --status-approved-glow: rgba(16, 185, 129, 0.4);
  --status-pending: #f59e0b;
  --status-pending-glow: rgba(245, 158, 11, 0.4);
  --status-blocked: #ef4444;
  --status-blocked-glow: rgba(239, 68, 68, 0.4);
  --status-streaming: #8b5cf6;
  
  /* Typography */
  --font-sans: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-logo: 'Bebas Neue', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.8);
  --shadow-glow-red: 0 0 25px var(--netflix-red-glow);
  --shadow-glow-blue: 0 0 25px var(--prime-blue-glow);
  --shadow-glow-green: 0 0 25px var(--status-approved-glow);

  /* Transitions */
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* CSS Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100%;
  background-color: var(--bg-primary);
  color: #f3f4f6;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* Base Utility Classes */
a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
  background: none;
}

input, select, textarea {
  font-family: inherit;
  color: inherit;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 6px;
  transition: all var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
}
.btn-primary:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: translateY(-1px);
}

.btn-danger, .btn-red {
  background: var(--netflix-red);
  color: #ffffff;
}
.btn-danger:hover, .btn-red:hover {
  background: var(--netflix-red-hover);
  box-shadow: var(--shadow-glow-red);
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(109, 109, 110, 0.6);
  color: #ffffff;
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgba(109, 109, 110, 0.85);
  transform: translateY(-1px);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--border-medium);
}

.btn-success {
  background: var(--status-approved);
  color: #052e16;
  font-weight: 700;
}
.btn-success:hover {
  background: #059669;
  color: #ffffff;
  box-shadow: var(--shadow-glow-green);
}

.btn-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid var(--border-subtle);
  color: #ffffff;
  transition: all var(--transition-fast);
}
.btn-icon:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.08);
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-approved {
  background: rgba(16, 185, 129, 0.18);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.badge-pending {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-blocked {
  background: rgba(239, 68, 68, 0.18);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.badge-streaming {
  background: rgba(139, 92, 246, 0.2);
  color: #c084fc;
  border: 1px solid rgba(139, 92, 246, 0.4);
}

.badge-tag {
  background: rgba(255, 255, 255, 0.12);
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.72rem;
  font-weight: 600;
}

.badge-rank {
  font-family: var(--font-logo);
  background: linear-gradient(135deg, #e50914, #ff4d58);
  color: #ffffff;
  font-size: 0.85rem;
  padding: 0.15rem 0.6rem;
  border-radius: 3px;
  box-shadow: 0 2px 8px rgba(229, 9, 20, 0.4);
}

/* Pulse Dot */
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}
.pulse-dot.dot-approved {
  background-color: var(--status-approved);
  box-shadow: 0 0 10px var(--status-approved);
}
.pulse-dot.dot-pending {
  background-color: var(--status-pending);
  box-shadow: 0 0 10px var(--status-pending);
  animation: pulseAnim 1.8s infinite;
}
.pulse-dot.dot-blocked {
  background-color: var(--status-blocked);
  box-shadow: 0 0 10px var(--status-blocked);
}

@keyframes pulseAnim {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.7); }
  70% { transform: scale(1.15); box-shadow: 0 0 0 8px rgba(245, 158, 11, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

/* Monospace MAC Tag */
.mac-tag {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  padding: 0.2rem 0.5rem;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  letter-spacing: 0.05em;
  color: #93c5fd;
}

/* Glass Card */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.35s ease-out forwards;
}
