/* ═══════════════════════════════════════════════════
   player.css — Estilos compartidos del reproductor
   alfonso-hc.com
═══════════════════════════════════════════════════ */

/* ── Variables globales ── */
:root {
  --amber:        #ffc56e;
  --amber-dim:    #ffffff94;
  --bg:           #1f1f1f;
  --surface2:     rgb(0 0 0 / 15%);
  --border:       rgba(255,176,0,0.15);
  --font:         'Titillium Web', sans-serif;
  --eq-color:     #ffc56e;
  --eq-dim:       #ffc56e;
  --pl-num-color: #ffffff94;
  --pl-dur-color: #ffffff94;
}

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

html { overflow-x: hidden; }

body {
  background: var(--bg);
  font-family: var(--font);
  color: #e7e7e7;
  overflow-x: hidden;
  min-width: 1200px;
}

/* ── Player desktop ── */
#player-outer {
  position: relative;
  width: 100%;
  height: 558px;
  overflow: hidden;
}

#player-wrap {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1200px; height: 558px;
}

.bg-video-wrap {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 2050px; height: 558px; z-index: 0; overflow: hidden;
}
.bg-video-wrap video, .bg-video-wrap img { width: 2050px; height: 558px; display: block; object-fit: cover; }

#pause_play {
  position: absolute; margin: 10px 0px 0px 300px; z-index: 1;
  padding: 8px 10px; color: #f5f5f5e0; text-decoration: none; border: none;
  cursor: pointer; font-size: 13px; background-color: #0000003d; border-radius: 4px; display: none;
}
#pause_play:hover { color: #4c4c4cd9; background: #f5f5f5; }

.viz-wrapper {
  position: absolute; width: 449px; margin: 285px 0px 0px 751px; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%);
}
#visualizer { width: 100%; height: 70px; display: flex; align-items: flex-end; gap: 2px; overflow: hidden; cursor: pointer; }
.viz-bar { flex: 1; background: #ffc56e; height: 2px; min-width: 0; }
#viz-canvas { display: none; width: 100%; height: 70px; cursor: pointer; }

.artist-name, .album-name, .description, #track-cover, .btn-sprite-group,
.marquee-wrap, .seek-wrap, #buffer-wrap, .time-row, .vol-row, .util-row, .tabs-panel-wrap { z-index: 1; }

.artist-name { position: absolute; margin: 370px 0px 0px 779px; font-size: 28px; font-weight: lighter; letter-spacing: 1px; color: #e7e7e7; }
.album-name  { position: absolute; margin: 410px 0px 0px 781px; font-size: 11px; letter-spacing: 3px; color: #ffc56e; text-transform: uppercase; }
.description { position: absolute; margin: 436px 0px 0px 781px; font-size: 13px; line-height: 17px; color: #e7e7e7; max-width: 470px; opacity: 0.8; }
#track-cover { position: absolute; width: 260px; height: 260px; object-fit: cover; display: block; }

.btn-sprite-group { position: absolute; display: flex; gap: 0; margin: 260px 0px 0px 0px; }

.marquee-wrap { position: absolute; margin: 332px 0px 0px 5px; width: 235px; overflow: hidden; white-space: nowrap; padding-bottom: 4px; }
.marquee-inner { display: inline-flex; animation: scroll-marquee 14s linear infinite; animation-play-state: paused; }
.marquee-inner span { display: inline-block; font-size: 11px; letter-spacing: 1px; text-transform: uppercase; padding-right: 70px; }
@keyframes scroll-marquee { 0% { transform: translateX(0%); } 15% { transform: translateX(0%); } 100% { transform: translateX(-50%); } }

#buffer-wrap { position: absolute; margin: 260px 0px 0px 260px; width: 471px; height: 4px; z-index: 2; }
#buffer-bar  { height: 1px; width: 0%; background: #ffc56e; border-radius: 0px; transition: width 0.3s ease; }

.seek-wrap { position: absolute; margin: 290px 0px 0px 346px; width: 289px; display: flex; align-items: center; z-index: 2; }
#seek-bar {
  -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--amber) var(--progress, 0%), rgb(0 0 0 / 38%) var(--progress, 0%));
  outline: none; cursor: pointer; display: block; align-self: center; position: relative; z-index: 1;
}
#seek-bar::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 13px; height: 13px; background: var(--amber); border-radius: 50%; cursor: pointer; margin-top: -0.5px; transition: width 0.15s, height 0.15s; }
#seek-bar::-webkit-slider-thumb:hover { width: 16px; height: 16px; margin-top: -2px; }
#seek-bar::-moz-range-thumb { width: 13px; height: 13px; background: var(--amber); border-radius: 50%; border: none; cursor: pointer; }

#volume-bar {
  flex: 1; -webkit-appearance: none; appearance: none; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, var(--amber) 50%, rgb(0 0 0 / 38%) 50%);
  outline: none; cursor: pointer; display: block; align-self: center;
}
#volume-bar::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 13px; height: 13px; background: var(--amber); border-radius: 50%; cursor: pointer; margin-top: -0.5px; transition: width 0.15s, height 0.15s; }
#volume-bar::-webkit-slider-thumb:hover { width: 16px; height: 16px; margin-top: -2px; }
#volume-bar::-moz-range-thumb { width: 13px; height: 13px; background: var(--amber); border-radius: 50%; border: none; cursor: pointer; }

.time-row { position: absolute; margin: 282px 0px 0px 290px; width: 412px; display: flex; justify-content: space-between; font-size: 13px; color: #e7e7e7; letter-spacing: 1px; }
.vol-row  { position: absolute; margin: 373px 0px 0px 0px; width: 241px; display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: 1px; }
#volume-bar { flex: 1; }
.util-row { position: absolute; margin: 400px 0px 0px 140px; display: flex; gap: 0px; }

.tabs-panel-wrap { position: absolute; margin: 319px 0px 0px 290px; width: 411px; }
.tabs { display: flex; border-top: 1px solid var(--border); }
.tab { flex: 1; padding: 11px; font-family: var(--font); font-size: 10px; letter-spacing: 2px; color: #e7e7e7; background: transparent; border: none; cursor: pointer; transition: color 0.2s; border-top: 2px solid transparent; }
.tab.active { color: var(--amber); border-top-color: var(--amber); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

#playlist { height: 158px; overflow-y: auto; list-style: none; padding: 0px 20px 0px 0px; margin: 0; }
#playlist::-webkit-scrollbar { width: 25px; }
#playlist::-webkit-scrollbar-track { background: var(--surface2); }
#playlist::-webkit-scrollbar-thumb { background: var(--amber-dim); cursor: pointer; }
#playlist::-webkit-scrollbar-thumb:hover { background: #ffc56e; }
#playlist li { display: flex; justify-content: space-between; align-items: center; padding: 7px 16px; font-size: 11px; text-transform: uppercase; cursor: pointer; transition: background 0.15s, color 0.15s; letter-spacing: 0.5px; }
#playlist li:hover { background: #ffffff17; }
#playlist li.active { background: #ffc56e; border-left: 2px solid var(--amber); color: #383838; font-weight: bolder; }
#playlist li.active .pl-num, #playlist li.active .pl-dur { color: #383838; }
.pl-num { color: var(--pl-num-color); margin-right: 8px; min-width: 18px; }
.pl-dur { color: #ffc56e; font-size: 11px; }

.eq-panel { padding: 2px 0px 0px; height: 162px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.eq-presets { display: flex; gap: 5px; flex-wrap: wrap; }
.preset-btn { font-family: var(--font); font-size: 8px; letter-spacing: 1px; padding: 5px 10px; background: transparent; border: 1px solid var(--eq-dim); color: var(--eq-dim); cursor: pointer; transition: all 0.15s; }
.preset-btn:hover, .preset-btn.active { background: var(--eq-color); color: #000; border-color: var(--eq-color); }
.eq-sliders { display: flex; gap: 8px; align-items: flex-end; justify-content: space-between; height: 80px; }
.eq-band { display: flex; flex-direction: column; align-items: center; gap: 13px; flex: 1; }
.eq-val  { font-size: 10px; color: #ffc56e; min-height: 10px; }
.eq-slider { -webkit-appearance: none; appearance: none; writing-mode: vertical-lr; direction: rtl; width: 4px; height: 75px; background: linear-gradient(to top, #ffc56e var(--eq-fill, 50%), rgba(255,197,110,0.2) var(--eq-fill, 50%)); outline: none; cursor: pointer; border-radius: 2px; }
.eq-slider::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 14px; height: 14px; background: #ffc56e; cursor: pointer; border-radius: 50%; }
.eq-slider::-moz-range-thumb { width: 14px; height: 14px; background: #ffc56e; cursor: pointer; border-radius: 50%; border: none; }
.eq-label  { font-size: 10px; color: #ffc56e; letter-spacing: 1px; text-align: center; }
.eq-bypass { font-family: var(--font); font-size: 8px; letter-spacing: 1px; padding: 4px 8px; background: transparent; border: 1px solid var(--eq-dim); color: var(--eq-dim); cursor: pointer; transition: all 0.15s; }
.eq-bypass.active { background: var(--eq-color); color: #000; border-color: var(--eq-color); }

#box-buttons { position: absolute; width: 471px; height: 60px; margin: 260px 0px 0px 260px; background-color: #8d8d8d1f; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 6px 12px rgba(0,0,0,0.4); }
#box-utils   { position: absolute; width: 471px; height: 38px; margin: 320px 0px 0px 260px; background-color: #0000008a; display: none; }
#box-playlist{ position: absolute; width: 471px; height: 218px; margin: 320px 0px 0px 260px; background-color: #00000054; }
#box-info    { position: absolute; width: 873px; height: 200px; margin: 358px 0px 0px 751px; background-color: #0000001f; backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px); }
#box-buttons, #box-utils, #box-playlist, #box-info { z-index: 0; }

.btn { background: transparent; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
#btn-prev, #btn-play, #btn-next, #btn-mute, #btn-shuffle { background-image: url('img/botones.png'); background-repeat: no-repeat; overflow: hidden; flex-shrink: 0; border: none; cursor: pointer; padding: 0; image-rendering: -webkit-optimize-contrast; image-rendering: crisp-edges; }
#btn-prev { width: 84px; height: 60px; background-size: 527px 120px; background-position: 0px 0px; }
#btn-prev:hover { background-position: 0px -60px; }
#btn-play { width: 92px; height: 60px; background-size: 493px 120px; background-position: -88px 0px; }
#btn-play:hover         { background-position: -88px -60px; }
#btn-play.playing       { background-position: -200px 0px; }
#btn-play.playing:hover { background-position: -200px -60px; }
#btn-next { width: 84px; height: 60px; background-size: 527px 120px; background-position: -323px 0px; }
#btn-next:hover { background-position: -323px -60px; }
#btn-mute { width: 50px; height: 50px; background-size: 454px; background-position: -351px 0px; }
#btn-mute:hover       { background-position: -351px -52px; }
#btn-mute.muted       { background-position: -351px -52px; }
#btn-mute.muted:hover { background-position: -351px -52px; }
#btn-shuffle { width: 50px; height: 50px; background-size: 454px; background-position: -404px 0px; }
#btn-shuffle:hover  { background-position: -404px -52px; }
#btn-shuffle.active { background-position: -404px -52px; }

#home-link { position: absolute; top: 12px; right: 5px; width: 40px; height: 40px; display: block; cursor: pointer; z-index: 10; }
#home-link img { width: 40px; height: 40px; object-fit: contain; display: block; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease; }
#home-link:hover img { transform: scale(1.1); opacity: 0.9; }

#site-link {
  position: absolute;
  margin: 24px 0px 0px 1016px;
  font-size: 11px;
  letter-spacing: 3px;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 1;
  transition: color 0.2s;
}
#site-link:hover { color: #ffc56e; }

/* ── Player mobile ── */
#player-mobile { display: none; }

@media (max-width: 768px) {
  body           { padding-top: 0; min-width: 0; }
  #player-outer  { display: none; }
  #carousel-bg   { display: none !important; }
  #player-mobile { display: flex; padding-top: 10px; padding-left: 0px; padding-right: 0px; }
  #site-link     { display: none; }
  #home-link     { display: none; }
  #site-footer-inner {
    position: static; width: 100%; left: auto; transform: none;
    height: 110px; padding: 16px 20px;
    flex-direction: column; align-items: center; justify-content: center;
    gap: 10px; text-align: center; margin-bottom: 0px;
  }
  #footer-right     { justify-content: center; }
  #footer-copyright { font-size: 10px; text-align: center; }
}

#player-mobile {
  width: 100%; min-height: 100vh;
  background: #1a1a1a;
  font-family: 'Titillium Web', sans-serif;
  color: #e7e7e7;
  flex-direction: column;
  align-items: center;
}

#m-cover-wrap { width: 100%; aspect-ratio: 1 / 1; overflow: hidden; position: relative; flex-shrink: 0; }
#m-cover { width: 100%; height: 100%; object-fit: cover; display: block; }
#m-cover-wrap::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 50%; background: linear-gradient(to bottom, transparent, #1a1a1a); pointer-events: none;
}

#m-info { width: 100%; padding: 0 20px; margin-top: -56px; position: relative; z-index: 1; }
#m-artist { font-size: 26px; font-weight: 300; letter-spacing: 1px; color: #e7e7e7; line-height: 1.1; }
#m-album  { font-size: 10px; letter-spacing: 3px; color: #ffc56e; text-transform: uppercase; margin-top: 2px; }

#m-track-wrap { width: 100%; padding: 14px 20px 0; overflow: hidden; white-space: nowrap; }
#m-track-title { display: inline-block; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: #e7e7e7; opacity: 0.7; }

#m-seek-section { width: 100%; padding: 5px 20px 0; box-sizing: border-box; }
#m-seek-bar {
  -webkit-appearance: none; appearance: none; width: 100%; height: 3px;
  border-radius: 2px; background: rgba(255,255,255,0.15); outline: none; cursor: pointer;
}
#m-seek-bar::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: transparent; }
#m-seek-bar::-webkit-slider-thumb { -webkit-appearance: none; width: 16px; height: 16px; background: #ffc56e; border-radius: 50%; margin-top: -6.5px; cursor: pointer; }
#m-seek-bar::-moz-range-track { height: 3px; border-radius: 2px; background: rgba(255,255,255,0.15); }
#m-seek-bar::-moz-range-progress { height: 3px; border-radius: 2px; background: #ffc56e; }
#m-seek-bar::-moz-range-thumb { width: 16px; height: 16px; background: #ffc56e; border-radius: 50%; border: none; cursor: pointer; }
#m-time-row { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; letter-spacing: 1px; color: rgba(255,255,255,0.45); }

#m-controls { display: flex; align-items: center; justify-content: center; gap: 0; width: 100%; padding: 0px 20px 15px; box-sizing: border-box; position: relative; }
.m-btn { background: none; border: none; cursor: pointer; padding: 20px; display: flex; align-items: center; justify-content: center; -webkit-tap-highlight-color: transparent; }
.m-btn svg { display: block; }
#m-btn-prev svg, #m-btn-next svg { width: 40px; height: 40px; fill: rgba(255,255,255,0.7); transition: fill 0.15s; }
#m-btn-prev:active svg, #m-btn-next:active svg { fill: #ffc56e; }
#m-btn-play { width: 72px; height: 72px; background: #ffc56e; border-radius: 50%; margin: 0 16px; padding: 0; box-shadow: 0 4px 20px rgba(255,197,110,0.35); transition: transform 0.15s, box-shadow 0.15s; position: relative; z-index: 1; }
#m-btn-play:active { transform: scale(0.94); box-shadow: 0 2px 10px rgba(255,197,110,0.2); }
#m-btn-play svg { width: 40px; height: 40px; fill: #1a1a1a; }
#m-icon-play  { display: block; }
#m-icon-pause { display: none; }

#m-vol-section { width: 100%; padding: 8px 20px 0; box-sizing: border-box; display: flex; align-items: center; gap: 10px; }
#m-volume-bar { flex: 1; -webkit-appearance: none; appearance: none; width: 100%; height: 18px; border-radius: 2px; background: transparent; outline: none; cursor: pointer; }
#m-volume-bar::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: rgba(255,255,255,0.15); }
#m-volume-bar::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; background: #ffc56e; border-radius: 50%; margin-top: -7.5px; cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,0.4); }
#m-volume-bar::-moz-range-thumb { width: 18px; height: 18px; background: #ffc56e; border-radius: 50%; border: none; cursor: pointer; }
#m-volume-bar::-moz-range-progress { height: 3px; border-radius: 2px; background: #ffc56e; }
#m-volume-bar::-moz-range-track { height: 3px; border-radius: 2px; background: rgba(255,255,255,0.15); }

#m-playlist-wrap { width: 100%; margin-top: 28px; border-top: 1px solid rgba(255,176,0,0.12); }
#m-playlist { list-style: none; margin: 0; padding: 0; max-height: calc(6 * 47px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
#m-playlist li { display: flex; align-items: center; padding: 13px 20px; font-size: 11px; letter-spacing: 0.5px; text-transform: uppercase; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,0.04); transition: background 0.15s; -webkit-tap-highlight-color: transparent; gap: 12px; }
#m-playlist li:active { background: rgba(255,255,255,0.06); }
#m-playlist li.active { background: #ffc56e; color: #2a2a2a; font-weight: 600; }
#m-playlist li.active .m-pl-num, #m-playlist li.active .m-pl-dur { color: #2a2a2a; }
.m-pl-num { color: rgba(255,255,255,0.3); min-width: 20px; flex-shrink: 0; }
.m-pl-title { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-pl-dur { color: #ffc56e; font-size: 10px; flex-shrink: 0; }

#m-site-link { display: none; }
@media (max-width: 768px) {
  #m-site-link { display: block; position: static; align-self: flex-end; margin: 0 0 8px 0; font-family: 'Titillium Web', sans-serif; font-size: 10px; letter-spacing: 3px; color: #e7e7e7; text-transform: uppercase; text-decoration: none; z-index: 1; transition: color 0.2s; }
  #m-site-link:hover { color: #ffc56e; }
  #m-playlist li:nth-child(n+7) { display: flex; }
}

#m-viz-wrap { position: absolute; left: 0; right: 0; top: 42%; transform: translateY(-50%); height: 60px; pointer-events: none; cursor: default; z-index: 0; opacity: 0.4; padding: 0 20px; box-sizing: border-box; -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0%, black 12%, black 88%, transparent 100%); }
#m-viz-canvas { width: 100%; height: 60px; display: block; pointer-events: none; cursor: default; }

/* ── Carrusel de videos ── */
#carousel-bg { width: 100%; background: #212121; }

#carousel-section {
  position: relative; left: 50%; transform: translateX(-50%);
  width: 1200px; padding: 20px 0 24px 0;
  font-family: 'Titillium Web', sans-serif; box-sizing: border-box;
}

#carousel-inner { display: flex; align-items: flex-start; gap: 0; width: 1200px; }
#carousel-track-wrap { width: 751px; overflow: hidden; flex-shrink: 0; }
#carousel-track { display: flex; gap: 17px; transition: transform 1.1s cubic-bezier(0.25, 0.1, 0.1, 1); will-change: transform; padding-left: 0; }

.vc-card { flex-shrink: 0; width: 239px; cursor: pointer; }
.vc-thumb-wrap { position: relative; width: 239px; height: 142px; overflow: hidden; background: #000; }
.vc-thumb-wrap img { width: 239px; height: 142px; object-fit: cover; display: block; opacity: 0.8; transform: scale(1); transition: transform 0.4s ease, opacity 0.4s ease; }
.vc-card:hover .vc-thumb-wrap img { opacity: 1; transform: scale(1.05); }
.vc-play-icon { position: absolute; bottom: 10px; left: 10px; width: 40px; height: 40px; background: rgba(0,0,0,0.55); display: flex; align-items: center; justify-content: center; pointer-events: none; transition: background 0.25s ease; }
.vc-card:hover .vc-play-icon { background: rgb(254,185,73); }
.vc-play-icon svg { width: 15px; height: 15px; fill: #fff; margin-left: 2px; margin-bottom: -4px; }
.vc-info  { padding: 18px 0 0 0; }
.vc-title { font-size: 14px; font-weight: 400; letter-spacing: 1.5px; color: #ffc56e; text-transform: uppercase; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vc-sub   { font-size: 12px; letter-spacing: 0px; color: #9a9a9a; text-transform: uppercase; margin-top: 0px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

#carousel-controls { width: 449px; flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; padding-top: 2px; padding-left: 22px; gap: 15px; }
#carousel-btns { display: flex; gap: 0; }
#btn-car-prev, #btn-car-next { width: 60px; height: 60px; background-image: url('img/btn_carrusel.png'); background-repeat: no-repeat; background-size: 120px 120px; border: none; cursor: pointer; padding: 0; display: block; flex-shrink: 0; }
#btn-car-prev { background-position: 0px 0px; }
#btn-car-prev:hover { background-position: 0px -60px; }
#btn-car-next { background-position: -60px 0px; }
#btn-car-next:hover { background-position: -60px -60px; }
#btn-car-prev:disabled, #btn-car-next:disabled { opacity: 0.6; cursor: default; pointer-events: none; }
#carousel-dots { display: flex; gap: 5px; flex-wrap: wrap; justify-content: flex-start; max-width: 120px; }
.car-dot { width: 12px; height: 12px; background: #343434; border: none; cursor: pointer; padding: 0; transition: background 0.2s ease; flex-shrink: 0; }
.car-dot:hover  { background: #feb949; }
.car-dot.active { background: #757575; }

/* ── Lightbox ── */
#vc-lightbox { display: none; position: fixed; inset: 0; z-index: 9999; background: rgb(0 0 0 / 50%); align-items: center; justify-content: center; cursor: pointer; }
#vc-lightbox.open { display: flex; }
#vc-lb-wrapper { position: relative; width: min(1200px, 96vw); cursor: default; }
#vc-lb-content { position: relative; width: 100%; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.9), 0 0 0 1px rgba(255,255,255,0.04); }
#vc-lb-content iframe { display: block; width: 100%; height: 100%; border: none; background: #000; }
#vc-lb-content video  { display: block; width: 100%; height: 100%; border: none; background: #000; vertical-align: bottom; }
#vc-lb-close { position: absolute; bottom: 100%; right: 0; width: 50px; height: 50px; background: #cfcfcf; border: none; cursor: pointer; padding: 0; display: flex; align-items: center; justify-content: center; transition: background 0.2s ease; z-index: 1; }
#vc-lb-close:hover { background: #ffc56e; }
#vc-lb-close::before, #vc-lb-close::after { content: ''; position: absolute; width: 22px; height: 2px; background: #212121; border-radius: 1px; }
#vc-lb-close::before { transform: rotate(45deg); }
#vc-lb-close::after  { transform: rotate(-45deg); }

#vc-controls { display: none; width: 100%; background: rgb(0 0 0 / 44%); padding: 1px 16px 0 16px; box-sizing: border-box; flex-direction: row; align-items: center; gap: 12px; height: 48px; position: absolute; bottom: 0; left: 0; opacity: 1; transition: opacity 0.4s ease; }
#vc-controls.hidden { opacity: 0; pointer-events: none; }
#vc-progress-wrap { position: relative; flex: 1; height: 3px; cursor: pointer; padding: 8px 0; margin: -8px 0; box-sizing: content-box; }
#vc-progress-bg { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); height: 3px; background: #555; border-radius: 2px; }
#vc-progress-bar { position: absolute; top: 50%; left: 0; transform: translateY(-50%); height: 3px; width: 0%; background: #ffc56e; border-radius: 2px; pointer-events: none; transition: width 0.1s linear; }
#vc-progress-thumb { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 13px; height: 13px; background: #ffc56e; border-radius: 50%; pointer-events: none; left: 0%; transition: left 0.1s linear; }
#vc-progress-wrap input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; margin: 0; }
#vc-play-btn { background: none; border: none; cursor: pointer; padding: 0; width: 28px; height: 28px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
#vc-play-btn svg { width: 18px; height: 18px; fill: #ccc; transition: fill 0.15s; }
#vc-play-btn:hover svg { fill: #fff; }
#vc-time { font-family: 'Titillium Web', sans-serif; font-size: 12px; letter-spacing: 0.5px; color: #ccc; white-space: nowrap; flex-shrink: 0; }
#vc-vol-wrap { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
#vc-mute-btn { background: none; border: none; cursor: pointer; padding: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; }
#vc-mute-btn svg { width: 25px; height: 25px; fill: #ccc; transition: fill 0.15s; }
#vc-mute-btn:hover svg { fill: #fff; }
#vc-vol-slider { -webkit-appearance: none; appearance: none; width: 90px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #ffc56e var(--vc-vol, 100%), #555 var(--vc-vol, 100%)); outline: none; cursor: pointer; flex-shrink: 0; }
#vc-vol-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 13px; height: 13px; background: #ffc56e; border-radius: 50%; cursor: pointer; }
#vc-vol-slider::-moz-range-thumb    { width: 13px; height: 13px; background: #ffc56e; border-radius: 50%; border: none; cursor: pointer; }
#vc-fs-btn { background: none; border: none; cursor: pointer; padding: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
#vc-fs-btn svg { width: 16px; height: 16px; fill: #ccc; transition: fill 0.15s; }
#vc-fs-btn:hover svg { fill: #fff; }

/* ── Galería discográfica ── */
#galeria-discos { width: 100%; background: rgb(20, 20, 20); }
#galeria-discos-inner { position: relative; left: 50%; transform: translateX(-50%); width: 1200px; padding: 25px 0 60px 0; box-sizing: border-box; }
#galeria-discos-grid { display: grid; grid-template-columns: repeat(auto-fill, 120px); justify-content: start; gap: 15px; }

.galeria-titulo { font-size: 28px; font-weight: lighter; letter-spacing: 1px; color: #8b8b8b; margin-bottom: 0px; }
.galeria-subtitulo { font-size: 11px; letter-spacing: 3px; color: #ffc56e; text-transform: uppercase; margin-bottom: 28px; }

.galeria-item { width: 120px; height: 120px; overflow: hidden; cursor: pointer; flex-shrink: 0; position: relative; }
.galeria-item::after { content: ''; position: absolute; inset: 0; background: rgba(255,197,110,0.9); opacity: 0; transition: opacity 0.3s ease; pointer-events: none; }
.galeria-item:hover::after { opacity: 1; }
.galeria-item img { width: 120px; height: 120px; object-fit: cover; display: block; opacity: 0.7; filter: grayscale(30%); transform: scale(1); transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease; box-sizing: border-box; }
.galeria-item:hover img { opacity: 1; filter: grayscale(0%); transform: scale(1.1); }

@media (max-width: 768px) {
  #galeria-discos { overflow: hidden; }
  #galeria-discos-inner { position: static; width: 100%; left: auto; transform: none; padding: 30px 10px 40px 10px; }
  .galeria-titulo, .galeria-subtitulo { display: none; }
  .galeria-item { width: 115px; height: 115px; }
  .galeria-item img { width: 115px; height: 115px; }
  #galeria-discos-grid { grid-template-columns: repeat(auto-fill, 115px); gap: 10px; }
}

#galeria-tooltip { position: fixed; pointer-events: none; z-index: 9999; background: rgba(15,15,15,0.88); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 8px 13px; display: flex; flex-direction: column; gap: -2px; opacity: 0; transform: translateY(4px); transition: opacity 0.18s ease, transform 0.18s ease; }
#galeria-tooltip.visible { opacity: 1; transform: translateY(0); }
#galeria-tooltip .tt-band { font-family: 'Titillium Web', sans-serif; font-size: 12px; font-weight: 600; letter-spacing: 2px; color: #ffc56e; text-transform: uppercase; white-space: nowrap; }
#galeria-tooltip .tt-album { font-family: 'Titillium Web', sans-serif; font-size: 11px; font-weight: 300; letter-spacing: 1px; color: #e7e7e7; text-transform: uppercase; white-space: nowrap; }

/* ── Footer ── */
#site-footer { width: 100%; background: #212121; }
#site-footer-inner { position: relative; left: 50%; transform: translateX(-50%); width: 1200px; height: 90px; display: flex; align-items: center; justify-content: space-between; box-sizing: border-box; }
#footer-copyright { font-family: 'Titillium Web', sans-serif; font-size: 11px; font-weight: bold; letter-spacing: 2px; color: #555; text-transform: uppercase; }
#footer-right { display: flex; align-items: center; gap: 10px; }
#footer-site-link { font-family: 'Titillium Web', sans-serif; font-size: 11px; letter-spacing: 3px; color: #a8a8aa; text-transform: uppercase; text-decoration: none; transition: color 0.2s; }
#footer-site-link:hover { color: #ffc56e; }
#footer-home-link { display: block; width: 32px; height: 32px; cursor: pointer; flex-shrink: 0; }
#footer-home-link img { width: 32px; height: 32px; object-fit: contain; display: block; opacity: 0.6; transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s ease; }
#footer-home-link:hover img { transform: scale(1.1); opacity: 1; }
