:root{--bg:#0b0f14;--surface:#0f151d;--card:#101822;--muted:#8fa3bf;--text:#e7f0fb;--brand:#73b6ff;--brand2:#8be0ff;--border:#1b2734;--shadow:rgba(0,0,0,.35)}
*{box-sizing:border-box}html,body{margin:0;padding:0;background:radial-gradient(1200px 800px at 20% -10%,#0e1621 0%,#0b0f14 60%);color:var(--text);font-family:Inter,system-ui,Segoe UI,Roboto,Arial}
.container{max-width:1200px;margin:0 auto;padding:20px}.site-header{position:sticky;top:0;z-index:30;background:rgba(12,16,22,.7);backdrop-filter:blur(10px);border-bottom:1px solid var(--border)}
.header-row{display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;font-weight:800;color:var(--text)}
.brand .logo{width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,var(--brand),var(--brand2));box-shadow:0 6px 18px rgba(115,182,255,.35)}.tagline{color:var(--muted);margin:0;font-size:13px}
.lang-switcher a{color:var(--muted);margin-left:12px;text-decoration:none;padding:6px 10px;border-radius:10px;border:1px solid transparent}
.lang-switcher a.active{color:#08121a;background:linear-gradient(135deg,var(--brand),var(--brand2));font-weight:800}
h1{font-size:32px;margin:18px 0}h2{font-size:22px;margin:14px 0}.subtitle{color:var(--muted)}
.search{display:flex;gap:10px;margin:16px 0 20px}
.search input[type=search]{flex:1;padding:12px 14px;background:#101722;border:1px solid var(--border);color:var(--text);border-radius:12px;outline:none}
.search button{padding:12px 16px;border:0;border-radius:12px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#071118;font-weight:800;cursor:pointer}
.suggest{position:relative}.suggest-list{position:absolute;top:46px;left:0;right:0;background:var(--surface);border:1px solid var(--border);border-radius:12px;box-shadow:0 10px 30px var(--shadow);overflow:hidden;display:none;max-height:360px;overflow-y:auto;z-index:40}
.suggest-item{display:flex;align-items:center;gap:10px;padding:10px 12px;cursor:pointer;border-bottom:1px solid rgba(255,255,255,.05)}
.suggest-item:hover{background:#0e141c}.suggest-item img{width:28px;height:28px;border-radius:8px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:16px}
.card{background:linear-gradient(145deg,#0f151d,#0c1219);border:1px solid var(--border);border-radius:16px;padding:14px;text-decoration:none;color:var(--text);box-shadow:0 8px 24px var(--shadow);transition:transform .18s ease,box-shadow .25s ease}
.card:hover{transform:translateY(-4px);box-shadow:0 14px 36px rgba(0,0,0,.45)}.card img{width:96px;height:96px;margin:2px auto 10px;border-radius:14px;border:1px solid #1a2733;background:#0c1219}
.card .card-body{text-align:center}.card small{color:var(--muted)}
.champion{display:grid;gap:18px}.champion-header{display:flex;align-items:center;gap:16px;background:linear-gradient(145deg,#0f151d,#0b1118);border:1px solid var(--border);border-radius:16px;padding:16px}
.lore,.sounds{background:var(--card);border:1px solid var(--border);border-radius:16px;padding:16px}.prose{line-height:1.7;color:#d6e9ff}.prose p{margin:0 0 10px}
.sound-controls{display:flex;gap:10px;margin-bottom:12px}.sound-controls input{flex:1;padding:10px 12px;background:#101722;border:1px solid var(--border);color:var(--text);border-radius:12px}
.sound-controls button{padding:10px 14px;background:#233142;border:1px solid #2c3e50;border-radius:12px;color:#cfe0f5;cursor:pointer}
.sound-list{list-style:none;margin:0;padding:0;display:grid;gap:12px}.sound-item{background:linear-gradient(145deg,#0f151d,#0b1118);border:1px solid var(--border);border-radius:14px;padding:10px}
.play{width:42px;height:42px;border-radius:12px;border:1px solid #203042;background:#0f1620;color:#cde1ff;cursor:pointer;font-weight:800}
.site-footer{border-top:1px solid var(--border);margin-top:34px}
.notice{background:linear-gradient(145deg,#1b2330,#121923);border:1px solid var(--border);border-radius:16px;padding:18px}


.site-footer .container{display:flex;align-items:center;justify-content:space-between;padding:16px 20px}
.site-footer p{margin:0}
@media (max-width:720px){
  .site-footer .container{flex-direction:column;gap:8px;align-items:flex-start}
}



/* --- Modern Dark Glow Enhancements --- */
:root{
  --brand: #6bb6ff;
  --brand2: #8be0ff;
  --glow: rgba(139, 224, 255, .15);
  --glow-strong: rgba(139, 224, 255, .35);
}
.site-header{background:linear-gradient(180deg, rgba(10,16,22,.85), rgba(10,16,22,.65));}
.brand .logo{box-shadow:0 0 0 1px rgba(255,255,255,.05), 0 0 18px var(--glow);}
.search input[type=search]{box-shadow:0 6px 18px rgba(0,0,0,.25), 0 0 0 1px var(--border) inset}
.card{transition:transform .18s ease, box-shadow .25s ease, border-color .25s ease;}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 16px 42px rgba(0,0,0,.45), 0 0 0 1px var(--glow-strong), 0 0 24px var(--glow);
  border-color:#1f2d3c;
}
.champion-header{
  box-shadow:0 12px 36px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.05);
}
.sound-item{transition:background-color .18s ease, transform .12s ease;}
.sound-item:hover{background:#0f1620; transform:translateX(1px);}
.play{transition:box-shadow .2s ease, transform .1s ease;}
.play:hover{box-shadow:0 0 0 1px var(--glow-strong), 0 0 14px var(--glow); transform:scale(1.03);}
.site-footer{backdrop-filter:blur(6px); background:linear-gradient(180deg, transparent, rgba(11,15,20,.5));}
/* subtle empty-state spacing so empty grid doesn't look broken */
.grid:empty{min-height:120px}


.volume-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  font-size: 0.9rem;
  color: #b0b0b0;
}

#volumeControl {
  appearance: none;
  width: 120px;
  height: 4px;
  border-radius: 10px;
  background: linear-gradient(90deg, #0ff, #09f);
  outline: none;
  cursor: pointer;
  transition: all 0.3s;
}
#volumeControl:hover {
  box-shadow: 0 0 8px #00bfff;
}
#volumeControl::-webkit-slider-thumb {
  appearance: none;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #00bfff;
  box-shadow: 0 0 5px #00bfff;
  cursor: pointer;
  transition: all 0.2s;
}
#volumeControl::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}


/* Footer navigation spacing */
.footer-nav{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}
.footer-nav a{
  color:var(--muted);
  text-decoration:none;
  padding:2px 0;
}
.footer-nav a:hover{
  color:#fff;
  text-decoration:underline;
}


/* Sticky controls on champion page */
.sounds .sound-controls{
  position: sticky;
  top: 64px;
  z-index: 50;
  background: rgba(7,11,17,0.8);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 10px;
}

/* Range slider improved fill */
input[type="range"]#volumeControl {
  appearance: none;
  width: 180px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(to right, #34d0ff var(--val, 100%), #12202f var(--val, 100%));
  outline: none;
  transition: background .15s ease;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.06);
}
input[type="range"]#volumeControl::-webkit-slider-thumb {
  appearance: none;
  width: 18px; height: 18px; border-radius: 50%;
  background: #e6f6ff; border: 2px solid #3cc0ff;
  box-shadow: 0 1px 6px rgba(0,0,0,.35);
  cursor: pointer;
}
input[type="range"]#volumeControl::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%;
  background: #e6f6ff; border: 2px solid #3cc0ff;
  box-shadow: 0 1px 6px rgba(0,0,0,.35);
  cursor: pointer;
}
.volume-label{display:inline-flex;align-items:center;gap:8px}
