@charset "UTF-8";
/* ============================================================
   player.css — قارا پىلاستىنكا قويغۇچى (ناخشا CMS)
   ============================================================ */
.vinyl-player {
  position: relative; overflow: hidden; padding: 18px 22px 22px;
  color: #f4f1ee;
  background: radial-gradient(120% 90% at 50% 0%, #4a4340 0%, #302b2b 48%, #211d1f 100%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 18px 48px rgba(10, 12, 24, .34);
}
.vinyl-player::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 50% at 82% 12%, rgba(226,59,52,.16), transparent 70%),
              radial-gradient(55% 45% at 12% 88%, rgba(47,111,237,.16), transparent 70%);
}
.vp-top { position: relative; z-index: 2; display: flex; align-items: center; gap: 12px; font-size: 11.5px; color: rgba(255,255,255,.65); }
.vp-online { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: rgba(255,255,255,.09); }
.vp-online i { width: 6px; height: 6px; border-radius: 50%; background: #3ad07f; box-shadow: 0 0 8px #3ad07f; }
.vp-quality { margin-inline-start: auto; }
.vp-quality::before { content: '♪'; margin-inline-end: 5px; color: #e0a02c; }

/* ---------------- پىلاستىنكا ۋە ئىڭنە ---------------- */
.vinyl-stage {
  position: relative; z-index: 1;
  width: min(340px, 76vw); aspect-ratio: 1/1; margin: 16px auto 6px;
  display: grid; place-items: center;
}
.vinyl-disc {
  position: relative; width: 100%; height: 100%; border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #131316 0 33%, #1c1c21 33.5% 34%, #111114 34.5% 35%, #1a1a1f 35.5% 99%, #0b0b0e 100%);
  box-shadow: 0 20px 50px rgba(0,0,0,.55), inset 0 0 0 2px rgba(255,255,255,.045);
}
.vinyl-grooves {
  position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle at 50% 50%,
      rgba(255,255,255,.045) 0 1px, transparent 1px 5px);
  -webkit-mask-image: radial-gradient(circle, transparent 0 36%, #000 37% 99%, transparent 100%);
  mask-image: radial-gradient(circle, transparent 0 36%, #000 37% 99%, transparent 100%);
}
.vinyl-disc::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 210deg, rgba(255,255,255,.10), transparent 22%, rgba(255,255,255,.04) 48%, transparent 70%, rgba(255,255,255,.08));
  mix-blend-mode: screen; opacity: .5;
}
.vinyl-cover {
  position: absolute; inset: 25%; width: 50%; height: 50%; border-radius: 50%;
  object-fit: cover; box-shadow: 0 0 0 5px rgba(0,0,0,.45), 0 6px 20px rgba(0,0,0,.5);
}
.vinyl-hole { position: absolute; inset: 0; margin: auto; width: 12px; height: 12px; border-radius: 50%; background: #0a0a0d; box-shadow: inset 0 0 0 2px rgba(255,255,255,.12); }
.vinyl-disc.is-spin, .mini-cover.is-spin img { animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.is-playing .vinyl-disc { animation: spin 12s linear infinite; }
.vinyl-center-play {
  position: absolute; z-index: 4; inset: 0; margin: auto; width: 58px; height: 58px;
  border: 0; border-radius: 50%; background: rgba(255,255,255,.16); color: #fff;
  display: grid; place-items: center; backdrop-filter: blur(4px);
  opacity: 0; transition: opacity .25s, transform .2s; transform: scale(.85);
}
.vinyl-center-play svg { width: 24px; height: 24px; }
.vinyl-center-play .ic-pause { display: none; }
.vinyl-stage:hover .vinyl-center-play, .is-playing .vinyl-center-play { opacity: 1; transform: scale(1); }
.is-playing .vinyl-center-play .ic-play { display: none; }
.is-playing .vinyl-center-play .ic-pause { display: block; }
.tonearm {
  position: absolute; z-index: 3; top: -7%; inset-inline-start: 52%;
  width: 44%; height: 46%; transform-origin: 85% 13%;
  transform: rotate(-16deg); transition: transform .6s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}
.tonearm svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 5px 8px rgba(0,0,0,.45)); }
.is-playing .tonearm { transform: rotate(-2deg); }

/* ---------------- ناخشا ئۇچۇرى ---------------- */
.vp-song { position: relative; z-index: 2; display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; }
.vp-song-main { flex: 1 1 200px; min-width: 0; }
.vp-song h1 { margin: 0; font-size: 23px; line-height: 1.4; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vp-latin { font-size: 12px; color: rgba(255,255,255,.55); direction: ltr; text-align: end; margin-top: -2px; }
.vp-artist { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; color: rgba(255,255,255,.78); margin-top: 4px; }
.vp-artist svg { width: 13px; height: 13px; }
.vp-actions { display: flex; align-items: center; gap: 8px; }
.vp-act {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-width: 36px; height: 36px; padding: 0 8px; border: 1px solid rgba(255,255,255,.14);
  border-radius: 11px; background: rgba(255,255,255,.07); color: #fff; font-size: 12px;
  transition: background .2s, transform .15s, border-color .2s;
}
.vp-act svg { width: 18px; height: 18px; }
.vp-act:hover { background: rgba(255,255,255,.16); }
.vp-act:active { transform: scale(.92); }
.vp-act.heart { color: #ff5a55; border-color: rgba(255,90,85,.35); }
.vp-act.heart svg { fill: #ff5a55; }
.vp-act.heart.is-on { background: rgba(255,90,85,.2); }
.vp-act.is-on { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.4); }

/* ---------------- ئىلگىرىلەش ---------------- */
.vp-seek { position: relative; z-index: 2; display: flex; align-items: center; gap: 11px; margin-top: 18px; direction: ltr; }
.vp-time { font-size: 11.5px; color: rgba(255,255,255,.6); min-width: 40px; text-align: center; }
.seek-range {
  flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 999px;
  background: linear-gradient(90deg, #fff var(--seek, 0%), rgba(255,255,255,.25) var(--seek, 0%));
  outline: none; cursor: pointer;
}
.seek-range::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.seek-range::-moz-range-thumb { width: 13px; height: 13px; border: 0; border-radius: 50%; background: #fff; }

/* ---------------- كونترول ---------------- */
.vp-controls { position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 14px; }
.vp-ctrl { width: 42px; height: 42px; border: 0; background: transparent; color: rgba(255,255,255,.78); display: grid; place-items: center; border-radius: 50%; transition: color .2s, transform .15s; }
.vp-ctrl svg { width: 24px; height: 24px; }
.vp-ctrl:hover { color: #fff; }
.vp-ctrl:active { transform: scale(.9); }
.vp-ctrl.vp-play { width: 62px; height: 62px; background: rgba(255,255,255,.94); color: #1b1b20; box-shadow: 0 8px 22px rgba(0,0,0,.35); }
.vp-ctrl.vp-play svg { width: 28px; height: 28px; }
.vp-ctrl .ic-pause, .is-playing .vp-ctrl.vp-play .ic-play { display: none; }
.is-playing .vp-ctrl.vp-play .ic-pause { display: block; }
.vp-ctrl.is-on { color: var(--accent); background: rgba(255,255,255,.14); }

/* ---------------- قوشۇمچە كونترول ---------------- */
.vp-extra { position: relative; z-index: 3; display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.vp-ex {
  min-width: 38px; height: 32px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.82); font-size: 12px;
}
.vp-ex svg { width: 16px; height: 16px; }
.vp-ex:hover, .vp-ex.is-on { background: rgba(255,255,255,.18); color: #fff; }
.vp-ex-hint { font-size: 11px; color: rgba(255,255,255,.5); margin-inline-start: 4px; }
.vol-pop { position: absolute; bottom: 40px; inset-inline-start: 50%; transform: translateX(50%); display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 11px; background: rgba(18,18,22,.95); border: 1px solid rgba(255,255,255,.15); box-shadow: 0 10px 26px rgba(0,0,0,.4); }
.vol-pop input { width: 110px; padding: 0; border: 0; background: transparent; }
.vol-pop span { font-size: 11px; min-width: 34px; }

/* ---------------- تېكىست ---------------- */
.lyrics-box { position: relative; z-index: 2; margin-top: 14px; max-height: 168px; overflow: hidden; text-align: center; }
.lyrics-inner { display: flex; flex-direction: column; gap: 5px; padding: 8px; transition: transform .4s; }
.lyrics-inner p { margin: 0; font-size: 13px; color: rgba(255,255,255,.45); transition: color .3s, transform .3s; }
.lyrics-inner p.is-on { color: #fff; font-size: 15px; font-weight: 700; }
.lyrics-inner p.is-on::before { content: '♪ '; color: #e0a02c; }

/* ---------------- VIP قۇلۇپ ---------------- */
.vip-lock { position: absolute; z-index: 8; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: rgba(16,14,20,.88); backdrop-filter: blur(7px); text-align: center; padding: 24px; }
.lock-ico { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #e0a02c, #e23b34); color: #fff; margin-bottom: 6px; }
.lock-ico svg { width: 28px; height: 28px; }
.vip-lock h3 { margin: 0; font-size: 19px; }
.vip-lock p { margin: 0 0 8px; font-size: 13px; color: rgba(255,255,255,.7); }

@media (max-width: 767px) {
  .vinyl-player { padding: 14px 16px 20px; border-radius: 20px; }
  .vinyl-stage { width: min(300px, 72vw); margin-top: 20px; }
  .vp-song h1 { font-size: 20px; }
  .vp-actions { gap: 6px; }
  .vp-controls { gap: 12px; }
  .vp-ctrl.vp-play { width: 58px; height: 58px; }
}

/* ---------------- ئىنكاس لېنتىسى (قويغۇچ يۈزىدە لەيلەپ ئايلىنىش) ---------------- */
.danmaku-layer {
  position: absolute; z-index: 5; top: 52px; left: 0; right: 0; height: 128px;
  overflow: hidden; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-evenly; gap: 8px;
  padding: 0 4px;
}
.dm-row { height: 30px; overflow: hidden; }
.dm-track {
  display: flex; width: max-content;
  animation: dm-roll var(--dm-dur, 38s) linear infinite;
  will-change: transform;
}
.dm-seq { display: flex; }
.dm-item {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  margin-inline-end: 14px; padding: 5px 14px; border-radius: 999px;
  font-size: 12px; line-height: 1.6; color: rgba(255,255,255,.92);
  background: rgba(18,14,20,.46); border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  box-shadow: 0 4px 14px rgba(0,0,0,.28);
  text-decoration: none;
}
.dm-item b { color: #ffd27a; font-weight: 700; }
.dm-item::before { content: '❝'; font-size: 12px; color: rgba(255,255,255,.5); }
@keyframes dm-roll { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (max-width: 560px) {
  .danmaku-layer { top: 44px; height: 112px; }
  .dm-row { height: 27px; }
  .dm-item { font-size: 11px; padding: 4px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .dm-track { animation: none; }
  .danmaku-layer { display: none; }
}
