/* ========== MultiConvert — Shared Styles ========== */
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: #0B0F19;
  color: #f1f5f9;
  margin: 0;
}
.mono { font-family: 'JetBrains Mono', monospace; }

:root {
  --mc-purple: #7c3aed;
  --mc-blue: #2563eb;
  --mc-teal: #14b8a6;
  --mc-amber: #f59e0b;
}

.brand-mark {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mc-purple), var(--mc-blue) 54%, var(--mc-amber));
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.95);
}
.brand-mark::before {
  top: 12px;
  transform: rotate(0deg);
  box-shadow: 9px 0 0 rgba(255,255,255,0.95);
}
.brand-mark::after {
  bottom: 12px;
  box-shadow: -9px 0 0 rgba(255,255,255,0.85);
}
.brand-mark span {
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}
.human-accent {
  color: #fbbf24;
}
.warm-gradient-text {
  background: linear-gradient(90deg, #c084fc, #38bdf8, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.trust-pill {
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.08);
}

/* Glow background */
.animated-bg {
  position: fixed; top: -10%; left: -10%; width: 120%; height: 120%;
  background:
    radial-gradient(circle at 20% 30%, rgba(139, 92, 246, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(37, 99, 235, 0.14) 0%, transparent 40%),
    radial-gradient(circle at 72% 18%, rgba(245, 158, 11, 0.07) 0%, transparent 32%),
    radial-gradient(circle at 50% 10%, rgba(20, 184, 166, 0.1) 0%, transparent 35%);
  z-index: -1; filter: blur(80px); pointer-events: none;
  animation: drift 25s ease-in-out infinite alternate;
}
@keyframes drift {
  0% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(30px,-20px) rotate(10deg); }
  100% { transform: translate(-20px,30px) rotate(-10deg); }
}

/* Glassmorphism */
.glass-nav {
  background: rgba(11,15,25,0.7);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.glass-nav .site-active,
.glass-nav .nav-link.site-active,
.glass-nav .mobile-nav-link.site-active,
.glass-nav .category-nav-link.site-active,
.glass-nav .category-trigger.site-active {
  color: #c084fc !important;
}
.glass-nav .nav-link.site-active,
.glass-nav .category-trigger.site-active {
  position: relative;
}
.glass-nav .nav-link.site-active::after,
.glass-nav .category-trigger.site-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a855f7, #3b82f6);
  box-shadow: 0 0 18px rgba(168,85,247,0.45);
}
.glass-nav .mobile-nav-link.site-active,
.glass-nav .category-nav-link.site-active {
  background: rgba(168,85,247,0.14);
  border-color: rgba(168,85,247,0.28);
}
.glass-card {
  background: rgba(17,24,39,0.6);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
}
.glass-card:hover {
  border-color: rgba(139,92,246,0.4);
  box-shadow: 0 10px 30px -10px rgba(139,92,246,0.25);
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(139,92,246,0.2); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: rgba(139,92,246,0.5); }

/* Range input */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  background: rgba(255,255,255,0.1); border-radius: 99px; height: 4px;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: #8B5CF6; cursor: pointer; transition: transform 0.1s;
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.2); }

/* Select dropdown options */
select option { background: #1e2335; color: #e2e8f0; }

/* Skip-to-content (a11y) */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.sr-only.focus\:not-sr-only:focus { width: auto; height: auto; clip: auto; position: fixed; }

/* Toast */
#toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 100;
  padding: 12px 20px; background: rgba(20,184,166,0.15);
  border: 1px solid rgba(20,184,166,0.4); border-radius: 12px;
  color: #5eead4; font-weight: 600; font-size: 13px;
  backdrop-filter: blur(12px);
  transform: translateY(80px); opacity: 0;
  transition: all 0.3s ease; pointer-events: none;
}
#toast.show { transform: translateY(0); opacity: 1; }

/* Floating shapes */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}
.floating-shape { animation: float 8s ease-in-out infinite; }
