/* CRUNCHYROLL NEO DESIGN SYSTEM */
:root {
  --bg-darkest: #07080a;
  --bg-primary: #0b0c0f;
  --bg-surface: #14161d;
  --bg-elevated: #1b1e28;
  --bg-elevated-hover: #232734;
  --bg-glass: rgba(20, 22, 29, 0.75);
  --bg-glass-card: rgba(27, 30, 40, 0.85);

  --accent-orange: #f47521;
  --accent-orange-light: #ff8a3d;
  --accent-orange-dark: #d85c0c;
  --accent-orange-glow: rgba(244, 117, 33, 0.4);
  --accent-orange-subtle: rgba(244, 117, 33, 0.12);

  --accent-cyan: #00e5ff;
  --accent-cyan-glow: rgba(0, 229, 255, 0.35);
  --accent-yellow: #ffb800;
  --accent-yellow-glow: rgba(255, 184, 0, 0.35);

  --text-white: #ffffff;
  --text-primary: #edf0f5;
  --text-secondary: #a2a8b5;
  --text-muted: #6b7280;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  --border-neon: rgba(244, 117, 33, 0.45);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.75);
  --shadow-neon-orange: 0 0 25px rgba(244, 117, 33, 0.35);
  --shadow-neon-cyan: 0 0 20px rgba(0, 229, 255, 0.3);

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darkest);
}
::-webkit-scrollbar-thumb {
  background: #2b3040;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-orange);
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

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

img {
  max-width: 100%;
  display: block;
}

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

@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px var(--accent-orange-glow); }
  50% { box-shadow: 0 0 30px var(--accent-orange-glow), 0 0 10px rgba(255, 255, 255, 0.2); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.fade-in {
  animation: fadeIn var(--transition-smooth) forwards;
}
