:root{
  --bg: #0f1117;
  --panel: #151926;
  --text: #e5e7eb;
  --muted: #9aa4b2;
  --primary: #9146FF; /* Twitch purple */
  --primary-600: #7b2ff7;
  --accent: #22d3ee;
}

/* Enable smooth animation of the custom angle property */
@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

html,body{
  height:100%;
}

/* Custom cursors removed - using default browser cursors */
body{
  margin:0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, 'Apple Color Emoji', 'Segoe UI Emoji';
  color: var(--text);
  background: radial-gradient(1200px 800px at 50% -10%, rgba(145,70,255,0.12), transparent),
              radial-gradient(800px 600px at -10% 50%, rgba(34,211,238,0.08), transparent),
              var(--bg);
  overflow-x:hidden;
  transition: background 0.3s ease;
}

/* Cursor-following background effect */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(400px 300px at var(--mouse-x, 50%) var(--mouse-y, 50%), 
              rgba(145,70,255,0.03), transparent 60%),
              radial-gradient(300px 200px at calc(100% - var(--mouse-x, 50%)) calc(100% - var(--mouse-y, 50%)), 
              rgba(34,211,238,0.02), transparent 50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.4s ease;
}

body:hover::before {
  opacity: 1;
}

#bg-canvas{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.site-wrap{
  position: relative;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr auto;
  z-index: 1;
}

.site-header, .site-footer{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:14px 22px;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.site-header .left{ flex: 1; }
.site-header .center{ flex: 1; text-align:center; }
.site-header .nav-actions{ flex: 1; display:flex; justify-content:flex-end; gap:10px; }
.site-footer{
  border-top: none;
  border-bottom: none;
  position: fixed;
  left: 0; right: 0; bottom: 16px;
  justify-content: center;
  padding: 0;
}

.site-header .left .logo{
  color: var(--text);
  text-decoration:none;
  font-weight:800;
  letter-spacing:0.5px;
  transition: all 0.2s ease;
}
.site-header .left .logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(145,70,255,0.4);
}

.site-header .center{ text-align:center; }
.site-header .right{ display:none; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:10px;
  font-weight:600;
  text-decoration:none;
  color: var(--text);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1), 
              inset 0 1px 0 rgba(255,255,255,0.1);
  transition: transform .12s ease, background .2s ease, box-shadow .2s ease, backdrop-filter .2s ease;
  position: relative;
  overflow: hidden;
}
.btn.pulse-green{ box-shadow: 0 0 0 0 rgba(34,197,94,0.6); animation: pulseG 0.8s ease-out 1; }
.btn.pulse-red{ box-shadow: 0 0 0 0 rgba(239,68,68,0.6); animation: pulseR 0.8s ease-out 1; }
@keyframes pulseG{ 0%{ box-shadow: 0 0 0 0 rgba(34,197,94,0.6);} 70%{ box-shadow: 0 0 0 12px rgba(34,197,94,0);} 100%{ box-shadow: 0 0 0 0 rgba(34,197,94,0);} }
@keyframes pulseR{ 0%{ box-shadow: 0 0 0 0 rgba(239,68,68,0.6);} 70%{ box-shadow: 0 0 0 12px rgba(239,68,68,0);} 100%{ box-shadow: 0 0 0 0 rgba(239,68,68,0);} }
.btn.pulse-accent{ box-shadow: 0 0 0 0 rgba(34,211,238,0.6); animation: pulseA 0.8s ease-out 1; }
@keyframes pulseA{ 0%{ box-shadow: 0 0 0 0 rgba(34,211,238,0.6);} 70%{ box-shadow: 0 0 0 12px rgba(34,211,238,0);} 100%{ box-shadow: 0 0 0 0 rgba(34,211,238,0);} }
.btn:hover{ 
  transform: translateY(-2px) scale(1.03); 
  background: rgba(255,255,255,0.18); 
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.25), 
              inset 0 1px 0 rgba(255,255,255,0.3),
              0 0 20px rgba(145,70,255,0.2);
  border-color: rgba(255,255,255,0.25);
}
.btn.proximity{ 
  transform: translateY(-0.5px) scale(1.01); 
  background: rgba(255,255,255,0.1); 
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15), 
              inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Cursor glare effect for buttons */
.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(var(--glare-angle, 45deg), 
    transparent 0%, 
    rgba(255,255,255,0.1) 30%, 
    rgba(255,255,255,0.2) 50%, 
    rgba(255,255,255,0.1) 70%, 
    transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}

.btn.proximity::before {
  opacity: 1;
}

/* Press feedback animation */
.btn:active {
  transform: translateY(0px) scale(0.98);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2), 
              inset 0 2px 4px rgba(0,0,0,0.1),
              0 0 15px rgba(145,70,255,0.15);
  transition: all 0.1s ease;
}

.btn:active::before {
  opacity: 0.8;
}
.btn.primary{ background: linear-gradient(180deg, var(--primary), var(--primary-600)); border-color: rgba(0,0,0,0.2); }
.btn.primary:hover{ filter: brightness(1.06); }
.btn.subtle{ background: rgba(255,255,255,0.06); }
.btn.lg{ padding:14px 18px; font-size:1.05rem; }
.btn.toggle.active{ outline: 2px solid rgba(255,255,255,0.22); }
.btn.toggle.active-correct{ background: rgba(34,197,94,0.25); border-color: rgba(34,197,94,0.5); }
.btn.toggle.active-wrong{ background: rgba(239,68,68,0.25); border-color: rgba(239,68,68,0.5); }

.site-main{ padding: 48px 22px; display:grid; place-items:center; }
.site-main{ padding-bottom: 100px; }
.hero{ text-align:center; max-width: 720px; }
.hero h1{ 
  font-size: clamp(32px, 6vw, 64px); 
  margin: 0 0 12px; 
  letter-spacing:1px; 
  transition: all 0.3s ease;
  cursor: default;
}
.hero h1:hover {
  transform: scale(1.02);
  text-shadow: 0 0 20px rgba(145,70,255,0.3);
}
.hero h1.proximity {
  transform: scale(1.01);
  text-shadow: 0 0 10px rgba(145,70,255,0.15);
}
.hero .subtitle{ display:none; }
.muted{ color: var(--muted); }

.songs{ list-style:none; padding:0; margin: 24px auto; display:flex; flex-wrap:wrap; gap:10px; justify-content:center; }
.song-pill{ 
  display:inline-flex; 
  padding:8px 12px; 
  border-radius: 999px; 
  text-decoration:none; 
  color: var(--text); 
  border:1px solid rgba(255,255,255,0.15); 
  background: rgba(255,255,255,0.08); 
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1), 
              inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.song-pill:hover {
  transform: translateY(-2px) scale(1.08);
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2), 
              inset 0 1px 0 rgba(255,255,255,0.25),
              0 0 15px rgba(34,211,238,0.2);
  border-color: rgba(255,255,255,0.25);
}

.song-pill:active {
  transform: translateY(-1px) scale(1.02);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15), 
              inset 0 2px 4px rgba(0,0,0,0.1),
              0 0 10px rgba(34,211,238,0.15);
  transition: all 0.1s ease;
}
.song-pill.proximity {
  transform: translateY(-0.5px) scale(1.02);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 3px 12px rgba(0,0,0,0.1), 
              inset 0 1px 0 rgba(255,255,255,0.12);
}

/* Cursor glare effect for song pills */
.song-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(var(--glare-angle, 45deg), 
    transparent 0%, 
    rgba(255,255,255,0.08) 30%, 
    rgba(255,255,255,0.15) 50%, 
    rgba(255,255,255,0.08) 70%, 
    transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}

.song-pill.proximity::before {
  opacity: 1;
}
.song-pill.unknown{ opacity: 0.7; }
.song-pill.ok{ background: rgba(34,197,94,0.18); border-color: rgba(34,197,94,0.3); }
.song-pill.bad{ background: rgba(239,68,68,0.18); border-color: rgba(239,68,68,0.3); }

.player{ display:grid; gap:16px; justify-items:center; }
.track-crumbs{ 
  display:flex; 
  gap:6px; 
  flex-wrap:nowrap; 
  overflow:hidden; 
  max-width:min(900px, 94vw); 
  padding:4px 2px; 
}

/* Track crumbs scrollbar removed - tracks will auto-scroll */
.crumb{ 
  display:inline-flex; 
  width:28px; 
  height:28px; 
  align-items:center; 
  justify-content:center; 
  border-radius:999px; 
  border:1px solid rgba(255,255,255,0.2); 
  color:var(--text); 
  text-decoration:none; 
  font-size:12px; 
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1), 
              inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.crumb:hover {
  transform: scale(1.15);
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2), 
              inset 0 1px 0 rgba(255,255,255,0.25),
              0 0 12px rgba(145,70,255,0.2);
  border-color: rgba(255,255,255,0.25);
}

.crumb:active {
  transform: scale(1.05);
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.15), 
              inset 0 2px 4px rgba(0,0,0,0.1),
              0 0 8px rgba(145,70,255,0.15);
  transition: all 0.1s ease;
}
.crumb.proximity {
  transform: scale(1.05);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  box-shadow: 0 3px 8px rgba(0,0,0,0.1), 
              inset 0 1px 0 rgba(255,255,255,0.12);
}

/* Cursor glare effect for crumbs */
.crumb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(var(--glare-angle, 45deg), 
    transparent 0%, 
    rgba(255,255,255,0.1) 30%, 
    rgba(255,255,255,0.2) 50%, 
    rgba(255,255,255,0.1) 70%, 
    transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  border-radius: inherit;
}

.crumb.proximity::before {
  opacity: 1;
}
.crumb.current{ background:#fff; color:#000; border-color:#fff; }
.crumb.ok{ background: rgba(34,197,94,0.6); border-color: rgba(34,197,94,0.8); }
.crumb.bad{ background: rgba(239,68,68,0.6); border-color: rgba(239,68,68,0.8); }
.crumb.unknown{ background: rgba(255,255,255,0.08); }
.yt-container{ 
  width:min(800px, 92vw); 
  aspect-ratio:16/9; 
  background: rgba(255,255,255,0.06); 
  border:1px solid rgba(255,255,255,0.12); 
  border-radius:12px; 
  overflow:hidden; 
  position:relative; 
  z-index:1;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1), 
              inset 0 1px 0 rgba(255,255,255,0.1);
}
.yt-container.full{ width:100%; max-width:100%; }
.yt-container.hidden{ display:none; }
.yt-container.audio-only{ width:0; height:0; overflow:hidden; border:0; }
.controls, .nav{ display:flex; gap:10px; justify-content:center; }
.controls.corners{ width:min(900px, 94vw); position:relative; }
.controls.corners .corner{ position:absolute; top:50%; transform: translateY(-50%); }
.controls.corners .left{ left:0; }
.controls.corners .right{ right:0; }
.controls .control-center{ display:flex; gap:10px; margin: 0 auto; }
.bottom-actions{ display:flex; gap:10px; justify-content:center; }

/* Panel */
.panel-bar{ display:flex; gap:10px; justify-content:center; margin-bottom:12px; }
.panel-table{ width:min(1000px, 96vw); margin:0 auto; border-collapse: collapse; }
.panel-table th, .panel-table td{ border-bottom:1px solid rgba(255,255,255,0.08); padding:8px 10px; text-align:left; }
.btn.status{ cursor: default; }
.btn.status.ok{ background: rgba(34,197,94,0.25); border-color: rgba(34,197,94,0.5); }
.btn.status.bad{ background: rgba(239,68,68,0.25); border-color: rgba(239,68,68,0.5); }
.btn.status.unknown{ opacity: .75; }
.btn.bad{ background: rgba(239,68,68,0.25); border-color: rgba(239,68,68,0.5); }
.panel-table a{ color: var(--text); text-decoration: underline dotted rgba(255,255,255,0.2); }
.panel-table a:hover{ color: var(--text); text-decoration-color: rgba(255,255,255,0.4); }
.panel-form .grid{ display:grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap:10px; }
.panel-form .grid.grid-2{ grid-template-columns: 1fr 1fr; }
.panel-form label{ display:flex; flex-direction: column; gap:6px; }
.panel-form input{ box-sizing: border-box; }
.panel-form input[type=text],
.panel-form input[type=url],
.panel-form input[type=number]{ width:100%; padding:10px; border-radius:8px; border:1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); color: var(--text); }
.panel-form input[type=url]{ color: var(--text); }
.panel-actions{ display:flex; gap:10px; justify-content:center; }

/* Audio line (hidden preview) */
.audio-line{ 
  width:min(800px, 92vw); 
  height:10px; 
  background: rgba(255,255,255,0.06); 
  border:1px solid rgba(255,255,255,0.15); 
  border-radius:999px; 
  overflow:hidden; 
  position: relative;
  cursor: pointer;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1), 
              inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.2s ease;
}
.audio-line:hover{ 
  background: rgba(255,255,255,0.1); 
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.2), 
              inset 0 1px 0 rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.2);
}
.audio-line .bar{ 
  height:100%; 
  width:0%; 
  background: linear-gradient(90deg, var(--primary), var(--accent)); 
  pointer-events: none;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.3),
              0 1px 2px rgba(0,0,0,0.2);
  position: relative;
}

.audio-line .bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    rgba(255,255,255,0.2) 0%, 
    rgba(255,255,255,0.1) 50%, 
    rgba(255,255,255,0.2) 100%);
  border-radius: inherit;
  pointer-events: none;
}
.timebar{ display:flex; gap:10px; align-items:center; }
.timebar .t{ color: var(--muted); font-variant-numeric: tabular-nums; font-size: 12px; user-select: none; }

/* Volume control */
.volume-control{
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin: 16px auto 8px auto;
  max-width: 400px;
  padding: 0 20px;
}
.volume-icon{
  font-size: 20px;
  user-select: none;
  text-align: right;
  padding-right: 8px;
}
.volume-slider{
  width: 200px;
  height: 6px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  justify-self: center;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.1), 
              inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.2s ease;
}
.volume-slider::-webkit-slider-thumb{
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: linear-gradient(180deg, var(--primary), var(--primary-600));
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  cursor: pointer;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.2), 
              inset 0 1px 0 rgba(255,255,255,0.3);
  transition: all 0.15s ease;
}
.volume-slider::-webkit-slider-thumb:hover{
  transform: scale(1.3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), 
              inset 0 1px 0 rgba(255,255,255,0.4),
              0 0 8px rgba(145,70,255,0.4);
}
.volume-slider::-moz-range-thumb{
  width: 18px;
  height: 18px;
  background: linear-gradient(180deg, var(--primary), var(--primary-600));
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2), 
              inset 0 1px 0 rgba(255,255,255,0.3);
  transition: all 0.15s ease;
}
.volume-slider::-moz-range-thumb:hover{
  transform: scale(1.3);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3), 
              inset 0 1px 0 rgba(255,255,255,0.4),
              0 0 8px rgba(145,70,255,0.4);
}
.volume-percent{
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 13px;
  text-align: left;
  user-select: none;
  padding-left: 8px;
}

/* Button disabled states */
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* Audio line loading animation */
.audio-line.loading {
  border: 3px solid transparent;
  background:
    /* Inner fill */
    linear-gradient(var(--panel), var(--panel)) padding-box,
    /* Spinning ring */
    conic-gradient(from var(--angle), var(--primary) 0%, var(--accent) 50%, var(--primary) 100%) border-box;
  background-clip: padding-box, border-box;
  animation: spin 1.1s linear infinite;
  cursor: wait;
}

@keyframes spin {
  to { --angle: 360deg; }
}

@media (prefers-reduced-motion: reduce) {
  .audio-line.loading { animation: none; }
}

/* Toast notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--panel);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  backdrop-filter: blur(10px);
  pointer-events: auto;
  cursor: pointer;
  transform: translateX(100%);
  animation: slideIn 0.3s ease-out forwards;
  max-width: 300px;
  word-wrap: break-word;
}

.toast-error {
  border-left: 4px solid #ef4444;
}

.toast-success {
  border-left: 4px solid #22c55e;
}

.toast-warning {
  border-left: 4px solid #f59e0b;
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.toast:hover {
  background: rgba(255,255,255,0.05);
}

.badge{
  opacity: 0.7;
  color: var(--text);
  text-decoration:none;
  font-weight:600;
  font-size: 12px;
  padding:6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.1), 
              inset 0 1px 0 rgba(255,255,255,0.1);
  transition: all 0.2s ease;
}
.badge:hover{ 
  opacity: 1; 
  transform: translateY(-1px) scale(1.05);
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15), 
              inset 0 1px 0 rgba(255,255,255,0.15);
}

/* Global scrollbar styling for glassmorphism theme */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, 
    rgba(145,70,255,0.4), 
    rgba(34,211,238,0.4));
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, 
    rgba(145,70,255,0.6), 
    rgba(34,211,238,0.6));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.2),
              0 0 8px rgba(145,70,255,0.3);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(45deg, 
    rgba(145,70,255,0.8), 
    rgba(34,211,238,0.8));
}

/* Firefox scrollbar styling */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(145,70,255,0.4) rgba(255,255,255,0.05);
}

/* small floating particles layer (minimal) drawn via canvas */

