/* ===================================================================
   Wisam Personal Site — premium 3D theme
   =================================================================== */
:root {
  --bg: #05060d;
  --bg-2: #080b18;
  --ink: #eaeefb;
  --muted: #98a4c2;
  --faint: #6a748f;
  --accent: #7f5af0;
  --accent-2: #22d3ee;
  --accent-3: #e879f9;
  --line: rgba(148, 163, 184, 0.16);
  --glass: rgba(13, 18, 33, 0.62);
  --glass-2: rgba(255, 255, 255, 0.04);
  --radius: 26px;
  --shadow: 0 40px 110px -45px rgba(4, 6, 16, 0.95);
  --font: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Space Grotesk", "Cairo", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
strong { color: var(--ink); }

/* ── Background layers ─────────────────────────────────── */
.fx-canvas {
  position: fixed;
  inset: 0;
  z-index: -3;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.bg-blobs {
  position: fixed;
  inset: 0;
  z-index: -4;
  overflow: hidden;
  pointer-events: none;
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.55;
  will-change: transform;
}
.blob.b1 {
  width: 46vmax; height: 46vmax;
  top: -14%; inset-inline-start: -10%;
  background: radial-gradient(circle, rgba(127, 90, 240, 0.55), transparent 62%);
  animation: drift1 20s ease-in-out infinite;
}
.blob.b2 {
  width: 40vmax; height: 40vmax;
  top: -12%; inset-inline-end: -12%;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.42), transparent 62%);
  animation: drift2 24s ease-in-out infinite;
}
.blob.b3 {
  width: 48vmax; height: 48vmax;
  bottom: -22%; inset-inline-start: 26%;
  background: radial-gradient(circle, rgba(232, 121, 249, 0.38), transparent 62%);
  animation: drift1 28s ease-in-out infinite reverse;
}
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 85% at 50% 0%, #000 38%, transparent 80%);
  mask-image: radial-gradient(120% 85% at 50% 0%, #000 38%, transparent 80%);
}

@keyframes drift1 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(5%, 4%, 0) scale(1.12); }
}
@keyframes drift2 {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-5%, 5%, 0) scale(1.15); }
}

/* ── Layout ────────────────────────────────────────────── */
.container { width: min(960px, 92vw); margin-inline: auto; }
.page { width: min(960px, 92vw); margin-inline: auto; padding-bottom: 160px; }
.section { margin-top: 56px; }

/* ── Topbar ────────────────────────────────────────────── */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(5, 6, 13, 0.82), rgba(5, 6, 13, 0.35));
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 12px; position: relative; }
.brand-glow {
  position: absolute; inset-inline-start: -6px; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  filter: blur(12px); opacity: 0.8;
}
.brand-mark {
  position: relative;
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 13px;
  font-family: var(--font-display); font-weight: 700; font-size: 20px; color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 28px -12px var(--accent);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.brand-sub { font-size: 11px; color: var(--muted); }
.top-nav { display: flex; gap: 4px; margin-inline-start: auto; }
.nav-link {
  padding: 8px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--muted);
  transition: 0.25s;
}
.nav-link:hover { color: #fff; background: var(--glass-2); }
.btn-share {
  width: 42px; height: 42px; padding: 0; border-radius: 13px;
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 16px; border: 1px solid transparent;
  font-family: var(--font); font-weight: 700; font-size: 15px; cursor: pointer;
  transition: transform 0.2s, box-shadow 0.25s, background 0.25s, border-color 0.25s;
  color: #fff; -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: linear-gradient(110deg, var(--accent), var(--accent-3) 55%, var(--accent-2));
  background-size: 180% auto;
  box-shadow: 0 18px 40px -18px var(--accent);
}
.btn-primary:hover { background-position: right center; box-shadow: 0 22px 48px -16px var(--accent); }
.btn-soft {
  background: var(--glass-2); border-color: var(--line); color: var(--ink);
}
.btn-soft:hover { background: rgba(127, 90, 240, 0.16); border-color: rgba(127, 90, 240, 0.5); }
.btn-ghost {
  background: var(--glass-2); border-color: var(--line); color: var(--ink);
}
.btn-ghost:hover { background: var(--glass-2); border-color: rgba(127, 90, 240, 0.5); color: #fff; }
.btn-block { width: 100%; }

/* ── Hero ──────────────────────────────────────────────── */
.hero { margin-top: 36px; perspective: 1300px; }
.hero-card {
  position: relative;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 45%, rgba(255, 255, 255, 0.04)),
    var(--glass);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(22px);
  padding: 34px;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.18s ease-out;
}
.hero-glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.6;
  background: radial-gradient(420px circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, 0.1), transparent 60%);
  transition: opacity 0.3s;
}
.hero-inner {
  position: relative;
  display: flex; align-items: center; gap: 36px;
  transform: translateZ(0.01px);
}

/* Photo showcase */
.hero-cover {
  position: relative;
  width: 200px; height: 200px;
  flex-shrink: 0;
}
.glow-ring {
  position: absolute; inset: -14px; border-radius: 50%;
  background: conic-gradient(from 0deg, var(--accent), var(--accent-2), var(--accent-3), var(--accent));
  filter: blur(15px); opacity: 0.85;
  animation: spin 9s linear infinite;
}
.glow-ring-thin {
  position: absolute; inset: -4px; border-radius: 50%; padding: 2px;
  background: conic-gradient(from 180deg, var(--accent-2), var(--accent-3), var(--accent), var(--accent-2));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 12s linear infinite reverse;
}
.hero-cover-ring {
  position: absolute; inset: 6px; border-radius: 50%; overflow: hidden;
  background: #0b0f1c;
  box-shadow: 0 0 0 6px rgba(8, 10, 24, 0.9), 0 24px 60px -22px var(--accent);
}
#profile-photo { width: 100%; height: 100%; object-fit: cover; }
.hero-cover-ring::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent 38%);
  pointer-events: none;
}
.badge-float {
  position: absolute; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(13, 18, 33, 0.82); backdrop-filter: blur(8px);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.9);
}
.badge-available {
  bottom: 2px; inset-inline-start: 50%; transform: translateX(50%);
  color: #6ee7b7; animation: floaty 6s ease-in-out infinite;
}
.badge-verified {
  top: 8px; inset-inline-end: -6px; color: #c4b5fd;
  background: linear-gradient(120deg, rgba(127, 90, 240, 0.32), rgba(34, 211, 238, 0.22));
  border-color: rgba(127, 90, 240, 0.5);
  animation: floaty 7.5s ease-in-out infinite;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 10px 2px rgba(52, 211, 153, 0.8);
}

.hero-info { min-width: 0; flex: 1; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 13px; border-radius: 999px; font-size: 12.5px; font-weight: 700; color: #c4b5fd;
  border: 1px solid rgba(127, 90, 240, 0.4);
  background: linear-gradient(120deg, rgba(127, 90, 240, 0.2), rgba(34, 211, 238, 0.14));
  margin-bottom: 14px;
}
.hero-eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #34d399;
  box-shadow: 0 0 10px 2px rgba(52, 211, 153, 0.7);
  animation: pulse 2.4s ease-in-out infinite;
}
.hero-name {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 7vw, 62px);
  line-height: 1; letter-spacing: -0.02em;
  background: linear-gradient(110deg, #fff 0%, var(--accent-3) 28%, var(--accent) 55%, var(--accent-2) 82%, #fff 100%);
  background-size: 220% auto;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: shimmer 6s linear infinite;
}
.hero-handle {
  margin-top: 8px; font-size: 14px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: rgba(196, 181, 253, 0.85);
}
.hero-bio { margin-top: 14px; color: var(--muted); font-size: 16px; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; max-width: 420px; }
.stat {
  border-radius: 18px; border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.01));
  padding: 14px 10px; text-align: center;
}
.stat-num {
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 26px; color: #fff;
}
.stat-label { display: block; margin-top: 2px; font-size: 12px; color: var(--muted); }

/* ── Section headings ──────────────────────────────────── */
.section-head { margin-bottom: 20px; }
.section-title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(22px, 3.4vw, 30px);
  display: flex; align-items: center; gap: 10px;
}
.sec-emoji { filter: drop-shadow(0 4px 10px rgba(127, 90, 240, 0.5)); }
.section-sub { margin-top: 6px; color: var(--muted); font-size: 15px; }

/* ── Glass card base for forms/blocks ──────────────────── */
.ask-card, .answer-card, .link-chip, .empty-note {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)), var(--glass);
  backdrop-filter: blur(18px);
}

/* ── Ask form ──────────────────────────────────────────── */
.ask-card { position: relative; padding: 26px; }
.ask-shield {
  position: absolute; top: 18px; inset-inline-end: 18px;
  font-size: 12px; font-weight: 700; color: #6ee7b7;
  padding: 5px 11px; border-radius: 999px;
  border: 1px solid rgba(52, 211, 153, 0.3); background: rgba(16, 185, 129, 0.12);
}
.field { margin-bottom: 16px; }
.field-row { display: flex; justify-content: space-between; align-items: center; }
.field-label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 700; color: var(--muted); }
.field-counter { font-size: 12px; color: var(--faint); }
.field-input {
  width: 100%; padding: 14px 16px; border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(8, 11, 24, 0.7); color: var(--ink);
  font-family: var(--font); font-size: 15px; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field-input::placeholder { color: var(--faint); }
.field-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(127, 90, 240, 0.18); }
.field-textarea { min-height: 140px; resize: vertical; line-height: 1.8; }
.form-msg { margin-top: 12px; font-size: 14px; font-weight: 600; min-height: 1em; }
.form-msg.ok { color: #6ee7b7; }
.form-msg.bad { color: #fda4af; }

/* ── Answers ───────────────────────────────────────────── */
.answers-list { display: grid; gap: 16px; }
.answer-card { padding: 20px; transition: transform 0.25s, border-color 0.25s; }
.answer-card:hover { transform: translateY(-3px); border-color: rgba(127, 90, 240, 0.4); }
.answer-q { display: flex; gap: 12px; }
.q-icon, .a-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center; font-size: 18px;
}
.q-icon { background: rgba(127, 90, 240, 0.16); border: 1px solid rgba(127, 90, 240, 0.3); }
.q-text { font-size: 16px; font-weight: 600; color: var(--ink); }
.answer-sender { margin-top: 4px; font-size: 13px; color: var(--faint); font-weight: 600; }
.answer-a {
  display: flex; gap: 12px; margin-top: 16px; padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.a-icon { background: rgba(34, 211, 238, 0.14); border: 1px solid rgba(34, 211, 238, 0.3); }
.answer-a > div { color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.answer-time { margin-top: 6px; font-size: 12px; color: var(--faint); }

/* ── Gallery ───────────────────────────────────────────── */
.gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px;
}
.gallery-grid figure {
  position: relative; aspect-ratio: 1; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line); cursor: zoom-in; background: var(--glass);
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.4s ease;
}
.gallery-grid figure::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(127, 90, 240, 0.3));
  opacity: 0; transition: opacity 0.3s;
}
.gallery-grid figure:hover img { transform: scale(1.08); }
.gallery-grid figure:hover::after { opacity: 1; }

/* ── Links ─────────────────────────────────────────────── */
.links-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.link-chip {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px;
  transition: transform 0.25s, border-color 0.25s, background 0.25s;
}
.link-chip:hover {
  transform: translateY(-3px); border-color: rgba(127, 90, 240, 0.5);
  background: rgba(127, 90, 240, 0.12);
}
.link-chip-icon {
  width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center;
  font-size: 20px; background: var(--glass-2); border: 1px solid var(--line); flex-shrink: 0;
}
.link-chip-body { display: flex; flex-direction: column; min-width: 0; }
.link-chip-label { font-weight: 700; font-size: 15px; }
.link-chip-host { font-size: 12.5px; color: var(--faint); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Empty + utils ─────────────────────────────────────── */
.empty-note { padding: 26px; text-align: center; color: var(--faint); }
.hidden { display: none !important; }

/* ── Footer ────────────────────────────────────────────── */
.footer { margin-top: 70px; text-align: center; padding: 30px 0 10px; border-top: 1px solid var(--line); }
.footer-name {
  font-family: var(--font-display); font-weight: 700; font-size: 26px;
  background: linear-gradient(110deg, #fff, var(--accent), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.footer-tag { margin-top: 6px; color: var(--muted); font-size: 14px; }
.footer-admin { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--faint); }
.footer-admin:hover { color: var(--accent); }

/* ── Reveal on scroll ──────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ── Lightbox ──────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  align-items: center; justify-content: center; padding: 24px;
  background: rgba(3, 4, 10, 0.92); backdrop-filter: blur(8px);
}
.lightbox[aria-hidden="false"] { display: flex; }
#lightbox-img { max-width: 92vw; max-height: 86vh; border-radius: 18px; box-shadow: var(--shadow); }
.lightbox-close {
  position: absolute; top: 20px; inset-inline-end: 20px;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  background: var(--glass-2); border: 1px solid var(--line); color: #fff; font-size: 18px;
}

/* ===================================================================
   🎧 Music player
   =================================================================== */
.player { position: fixed; inset-inline: 0; bottom: 0; z-index: 120; }
.player[data-mode="hidden"] .player-mini { display: none; }
.player[data-mode="hidden"] { pointer-events: none; }

.player-mini {
  position: relative;
  width: min(720px, 94vw); margin: 0 auto 16px; padding: 10px;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  border-radius: 20px; border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02)), rgba(10, 13, 26, 0.86);
  backdrop-filter: blur(20px); box-shadow: var(--shadow);
}
.player-mini-cover {
  width: 50px; height: 50px; border-radius: 13px; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line); background: var(--glass-2); padding: 0;
}
.player-mini-cover img { width: 100%; height: 100%; object-fit: cover; }
.player-mini-info { display: flex; flex-direction: column; min-width: 0; cursor: pointer; }
.player-mini-title { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-mini-artist { font-size: 12.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-mini-controls { display: flex; align-items: center; gap: 4px; }
.player-icon-btn {
  width: 38px; height: 38px; border-radius: 11px; cursor: pointer; color: var(--ink);
  background: transparent; border: none; display: grid; place-items: center; transition: 0.2s;
}
.player-icon-btn:hover { background: var(--glass-2); color: #fff; }
.player-icon-btn.is-active { color: var(--accent-2); }
.player-play-btn {
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer; color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--accent-2)); border: none;
  display: grid; place-items: center; box-shadow: 0 10px 24px -10px var(--accent);
}
.player-mini-progress {
  position: absolute; inset-inline: 14px; bottom: 4px; height: 3px;
  background: rgba(255, 255, 255, 0.12); border-radius: 999px; overflow: hidden;
}
.player-mini-progress-fill {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

/* Full player */
.player[data-mode="full"] .player-mini { opacity: 0; }
.player-full {
  position: fixed; inset: 0; z-index: 130;
  display: flex; flex-direction: column; align-items: center;
  padding: 56px 20px 30px; overflow-y: auto;
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(127, 90, 240, 0.28), transparent 60%),
    linear-gradient(180deg, rgba(8, 11, 24, 0.96), rgba(5, 6, 13, 0.99));
  backdrop-filter: blur(26px);
}
.player-full[hidden] { display: none; }
.player-full-close {
  position: absolute; top: 18px; inset-inline-end: 18px;
  width: 46px; height: 46px; border-radius: 50%; cursor: pointer;
  background: var(--glass-2); border: 1px solid var(--line); color: #fff;
  display: grid; place-items: center;
}
.player-full-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent-2); margin-bottom: 22px;
}
.player-full-cover {
  width: min(330px, 78vw); aspect-ratio: 1; border-radius: 28px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 50px 90px -30px rgba(127, 90, 240, 0.7);
  background: var(--glass-2);
}
.player-full-cover img { width: 100%; height: 100%; object-fit: cover; }
.player-full-info { text-align: center; margin-top: 26px; }
.player-full-title { font-family: var(--font-display); font-size: 26px; font-weight: 700; }
.player-full-artist { margin-top: 6px; color: var(--muted); font-size: 16px; }
.player-full-progress { width: min(440px, 90vw); margin-top: 26px; }
.player-full-times { display: flex; justify-content: space-between; margin-top: 6px; font-size: 12px; color: var(--muted); }
.player-full-controls { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.player-full-controls .player-icon-btn { width: 48px; height: 48px; }
.player-play-big {
  width: 72px; height: 72px; border-radius: 50%; cursor: pointer; color: #fff;
  background: linear-gradient(140deg, var(--accent), var(--accent-2)); border: none;
  display: grid; place-items: center; box-shadow: 0 18px 40px -14px var(--accent);
  transition: transform 0.2s;
}
.player-play-big:active { transform: scale(0.95); }
.player-full-volume { display: flex; align-items: center; gap: 10px; margin-top: 26px; color: var(--muted); width: min(280px, 80vw); }

/* Range inputs */
input[type="range"] {
  -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.14); cursor: pointer; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(140deg, var(--accent), var(--accent-2)); border: 2px solid #fff;
  box-shadow: 0 4px 12px -2px var(--accent);
}
input[type="range"]::-moz-range-thumb {
  width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff;
  background: var(--accent);
}

.player-full-queue { width: min(440px, 90vw); margin-top: 34px; }
.queue-head { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 12px; }
.queue-list { display: flex; flex-direction: column; gap: 6px; }
.queue-item {
  display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; cursor: pointer;
  transition: background 0.2s; border: 1px solid transparent;
}
.queue-item:hover { background: var(--glass-2); }
.queue-item.is-current { background: rgba(127, 90, 240, 0.16); border-color: rgba(127, 90, 240, 0.34); }
.queue-item-cover {
  width: 42px; height: 42px; border-radius: 11px; overflow: hidden; flex-shrink: 0;
  display: grid; place-items: center; background: var(--glass-2); font-size: 18px;
}
.queue-item-cover img { width: 100%; height: 100%; object-fit: cover; }
.queue-item-info { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.queue-item-title { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue-item-artist { font-size: 12px; color: var(--muted); }
.queue-item-eq { color: var(--accent-2); }

/* ── Keyframes ─────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { 0% { background-position: 200% 50%; } 100% { background-position: -200% 50%; } }
@keyframes floaty { 0%, 100% { transform: translateY(0) translateX(var(--bx, 0)); } 50% { transform: translateY(-9px) translateX(var(--bx, 0)); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }
.badge-available { --bx: 50%; }

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 760px) {
  .top-nav { display: none; }
  .hero-card { padding: 24px; }
  .hero-inner { flex-direction: column; text-align: center; gap: 24px; }
  .hero-cover { width: 168px; height: 168px; }
  .hero-eyebrow, .hero-actions { justify-content: center; }
  .hero-actions { width: 100%; }
  .hero-bio { margin-inline: auto; }
  .hero-stats { margin-inline: auto; }
  .badge-verified { inset-inline-end: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
