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

:root {
  --bg-main: #09090b;
  --bg-card: #111114;
  --bg-card-subtle: #18181b;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.16);
  --text-primary: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-mono {
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

/* Subtle background illumination without tacky colors */
.bg-subtle-glow {
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(120, 119, 198, 0.08), transparent 70%),
    radial-gradient(ellipse 60% 40% at 50% 120%, rgba(255, 255, 255, 0.02), transparent 70%),
    #09090b;
}

/* Crisp minimal cards (Linear/Vercel style) */
.archive-card {
  background: #111114;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.02);
}

.archive-card:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

/* High contrast primary button (Linear style) */
.btn-primary-zinc {
  background: #ffffff;
  color: #09090b;
  font-weight: 500;
  transition: all 0.15s ease;
}

.btn-primary-zinc:hover {
  background: #e4e4e7;
  transform: translateY(-1px);
}

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

/* Ghost / outline button */
.btn-ghost-zinc {
  background: rgba(255, 255, 255, 0.04);
  color: #e4e4e7;
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.15s ease;
}

.btn-ghost-zinc:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

/* Clean Custom Scrollbar */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: #09090b;
}

::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

/* Video player responsive aspect ratio */
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.8);
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Transitions */
.view-transition {
  transition: opacity 0.2s ease, transform 0.2s ease;
}
