body { font-family: 'Inter', sans-serif; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1e1b4b; }
::-webkit-scrollbar-thumb { background: #4338ca; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ea580c; }

.glass-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.glass-card:hover {
  border-color: rgba(255, 255, 255, 0.18);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.04) 100%);
  transform: translateY(-3px);
}

.feed-row { transition: background 0.15s ease, transform 0.2s ease; }
.feed-row:hover { background: rgba(255, 255, 255, 0.04); transform: translateX(2px); }

.hover-lift {
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.hover-lift:hover {
  transform: translateY(-4px);
  border-color: rgba(234, 88, 12, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
}

.logo-tile {
  transition: transform 0.25s ease, opacity 0.25s ease, border-color 0.25s ease;
  opacity: 0.85;
}
.logo-tile:hover {
  transform: scale(1.04);
  opacity: 1;
  border-color: rgba(255, 255, 255, 0.2);
}

.pipeline-step {
  opacity: 0.35;
  border-color: rgba(255, 255, 255, 0.08);
  transition: opacity 0.35s ease, border-color 0.35s ease, background 0.35s ease, transform 0.25s ease;
}
.pipeline-step.is-active {
  opacity: 1;
  border-color: rgba(234, 88, 12, 0.45);
  background: rgba(234, 88, 12, 0.06);
}
.pipeline-step.is-done {
  opacity: 0.85;
  border-color: rgba(34, 197, 94, 0.35);
}
.pipeline-step:hover { transform: translateY(-2px); }

@keyframes scan-pulse {
  0%, 100% { border-color: rgba(255, 255, 255, 0.2); box-shadow: 0 0 0 0 rgba(234, 88, 12, 0.25); }
  50% { border-color: rgba(234, 88, 12, 0.65); box-shadow: 0 0 28px 0 rgba(234, 88, 12, 0.35); }
}
.scan-pulse {
  animation: scan-pulse 2.2s ease-in-out infinite;
}
.scan-pulse.has-file {
  animation: none;
  border-color: rgba(234, 88, 12, 0.45);
}

.scan-blurred {
  filter: blur(6px);
  user-select: none;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .pipeline-step { opacity: 1; }
  .scan-pulse { animation: none; }
  .glass-card:hover, .hover-lift:hover, .logo-tile:hover, .feed-row:hover, .pipeline-step:hover {
    transform: none;
  }
  .animate-pulse { animation: none !important; }
}

.honeypot-field {
  position: absolute !important;
  left: -10000px !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  border: 0 !important;
  padding: 0 !important;
  margin: -1px !important;
  white-space: nowrap !important;
  z-index: -1 !important;
}

.turnstile-mount {
  min-height: 65px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.todo-slot {
  border: 1px dashed rgba(234, 88, 12, 0.45);
  background: rgba(234, 88, 12, 0.06);
  color: #fdba74;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(10, 5, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-backdrop.hidden { display: none !important; }
.modal-panel {
  width: 100%;
  max-width: 28rem;
  max-height: 90vh;
  overflow-y: auto;
  background: #1e1b4b !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  opacity: 1 !important;
}
.modal-panel.glass-card,
.modal-panel.glass-card:hover {
  background: #1e1b4b !important;
  transform: none;
  border-color: rgba(255, 255, 255, 0.12);
}
