* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #040406;
  --surface: rgba(12, 12, 16, 0.72);
  --surface-hover: rgba(18, 18, 24, 0.82);
  --text: #f3f3f5;
  --muted: #7a7a85;
  --border: rgba(255, 255, 255, 0.11);
  --border-bright: rgba(255, 255, 255, 0.36);
}

html, body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Space Mono', monospace;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 1.25rem 3.5rem;
  position: relative;
  background: radial-gradient(circle at 50% 18%, #14141b 0%, #050507 62%, #020203 100%);
}

/* --- CURSOR PERSONALIZADO --- */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 999;
  border-radius: 50%;
  display: none;
}

@media (pointer: fine) {
  body { cursor: none; }
  a, button, input { cursor: none !important; }

  .cursor-dot {
    display: block;
    width: 5px;
    height: 5px;
    margin: -2.5px 0 0 -2.5px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.95);
  }

  .cursor-ring {
    display: block;
    width: 32px;
    height: 32px;
    margin: -16px 0 0 -16px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  }

  .cursor-ring.active {
    width: 50px;
    height: 50px;
    margin: -25px 0 0 -25px;
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.06);
  }
}

/* --- NIEBLA ANIMADA Y HALO --- */
.fog-layer {
  position: fixed;
  inset: -25%;
  width: 150%;
  height: 150%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.22;
  filter: blur(70px);
}

.fog-1 {
  background: radial-gradient(circle at 30% 40%, rgba(160, 170, 200, 0.16), transparent 55%);
  animation: fogDrift1 22s ease-in-out infinite alternate;
}

.fog-2 {
  background: radial-gradient(circle at 72% 65%, rgba(255, 255, 255, 0.1), transparent 50%);
  animation: fogDrift2 28s ease-in-out infinite alternate;
}

@keyframes fogDrift1 {
  0% { transform: translate(-4%, -3%) scale(1); }
  100% { transform: translate(5%, 4%) scale(1.12); }
}

@keyframes fogDrift2 {
  0% { transform: translate(4%, 3%) scale(1.08); }
  100% { transform: translate(-5%, -4%) scale(0.95); }
}

.ambient-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 600px;
  height: 600px;
  margin: -300px 0 0 -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.075) 0%, rgba(255, 255, 255, 0.015) 42%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.32;
  transition: opacity 0.15s ease-out;
  will-change: transform;
}

#atmosphere-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* --- TEXTURAS CINEMATOGRÁFICAS --- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 50;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  animation: grainMove 0.38s steps(4) infinite;
}

@keyframes grainMove {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2%, 2%); }
  50% { transform: translate(2%, -1%); }
  75% { transform: translate(-1%, -2%); }
  100% { transform: translate(0, 0); }
}

.scanlines {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 45;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 2px,
    rgba(255, 255, 255, 0.014) 3px,
    rgba(0, 0, 0, 0.08) 4px
  );
}

.screen-vignette {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 40;
  box-shadow: inset 0 0 150px rgba(0, 0, 0, 0.92);
}

/* --- HUD SUPERIOR E INFERIOR --- */
.top-hud {
  position: fixed;
  top: 1.25rem;
  left: 1.6rem;
  right: 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.63rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  z-index: 25;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.9s ease 0.3s, transform 0.9s ease 0.3s;
}

.top-hud.visible {
  opacity: 1;
  transform: translateY(0);
}

.hud-left,
.hud-right {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.hud-toggle {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: var(--muted);
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  padding: 0.28rem 0.6rem;
  transition: all 0.25s ease;
}

.hud-toggle:hover,
.hud-toggle.active {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.15);
}

.hud-sep {
  opacity: 0.3;
}

.bottom-hud {
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  display: flex;
  gap: 1.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.28);
  z-index: 25;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease 0.6s, transform 1s ease 0.6s;
}

.bottom-hud.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.rec-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.95);
  animation: recBlink 1.8s ease-in-out infinite;
}

@keyframes recBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.2; }
}

/* --- PANTALLA DE ENTRADA --- */
.enter-screen {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #111118 0%, #030305 78%);
  z-index: 100;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: opacity 1.15s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 1.15s ease,
              transform 1.15s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1.15s ease;
}

.enter-screen.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.1);
  filter: blur(14px);
  pointer-events: none;
}

.enter-ring {
  position: absolute;
  width: min(76vw, 420px);
  height: min(76vw, 420px);
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
  animation: ringSpin 26s linear infinite;
}

.enter-ring::before {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.08);
}

@keyframes ringSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.enter-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.05rem;
  padding: 2rem;
}

.enter-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  color: var(--muted);
}

.enter-artist {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 9vw, 4.8rem);
  letter-spacing: 0.44em;
  text-indent: 0.44em;
  text-transform: uppercase;
  font-weight: 400;
}

.enter-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.68);
  letter-spacing: 0.16em;
  margin-bottom: 0.85rem;
}

.enter-btn {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: var(--text);
  font-family: 'Space Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  padding: 0.95rem 2rem;
  overflow: hidden;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, background 0.35s ease, transform 0.2s ease;
}

.enter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  animation: shimmer 3.2s infinite;
}

@keyframes shimmer {
  0% { left: -100%; }
  45%, 100% { left: 100%; }
}

.enter-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 32px rgba(255, 255, 255, 0.24);
}

.enter-hint {
  margin-top: 0.5rem;
  font-size: 0.56rem;
  letter-spacing: 0.26em;
  color: rgba(255, 255, 255, 0.28);
}

/* --- ESCENARIO Y CONTENEDOR --- */
.stage {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
  will-change: transform;
}

.container {
  width: 100%;
  max-width: 455px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  filter: blur(8px);
  transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1),
              transform 1s cubic-bezier(0.22, 1, 0.36, 1),
              filter 1s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--delay, 0s);
}

.container.entered .reveal {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

/* --- CABECERA --- */
.header {
  text-align: center;
}

.tag {
  font-size: 0.66rem;
  color: var(--muted);
  letter-spacing: 0.32em;
  display: block;
  margin-bottom: 0.45rem;
}

.artist-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.3rem, 10vw, 4.3rem);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0.14em;
  line-height: 1;
  text-transform: lowercase;
}

.artist-name,
.enter-artist {
  position: relative;
  display: inline-block;
  color: #ffffff;
  text-shadow:
    0 0 8px rgba(255, 255, 255, 0.85),
    0 0 24px rgba(255, 255, 255, 0.42),
    0 0 48px rgba(255, 255, 255, 0.18);
  animation: sadFloat 5s ease-in-out infinite, neonFlicker 6.5s infinite;
}

.artist-name::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  opacity: 0;
  color: #ffffff;
  pointer-events: none;
  animation: subtleGlitch 7.5s infinite;
}

@keyframes subtleGlitch {
  0%, 92%, 100% { opacity: 0; transform: translate(0); }
  93% { opacity: 0.45; transform: translate(-2.5px, 1px); clip-path: inset(18% 0 58% 0); }
  95% { opacity: 0.35; transform: translate(2.5px, -1px); clip-path: inset(62% 0 12% 0); }
  97% { opacity: 0; transform: translate(0); }
}

@keyframes sadFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes neonFlicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.55; }
}

/* --- PORTADA 3D INTERACTIVA --- */
.artwork-stage {
  perspective: 1000px;
}

.artwork-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background-color: #09090c;
  transition: transform 0.18s ease-out, box-shadow 0.15s ease-out, border-color 0.4s ease;
  will-change: transform, box-shadow;
}

.artwork-wrapper:hover {
  border-color: rgba(255, 255, 255, 0.48);
}

.corner {
  position: absolute;
  width: 12px;
  height: 12px;
  z-index: 7;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0.72);
  border-style: solid;
  transition: width 0.3s ease, height 0.3s ease;
}

.artwork-wrapper:hover .corner {
  width: 19px;
  height: 19px;
}

.corner.tl { top: 10px; left: 10px; border-width: 1px 0 0 1px; }
.corner.tr { top: 10px; right: 10px; border-width: 1px 1px 0 0; }
.corner.bl { bottom: 10px; left: 10px; border-width: 0 0 1px 1px; }
.corner.br { bottom: 10px; right: 10px; border-width: 0 1px 1px 0; }

.artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.16) brightness(0.9);
  animation: slowBreathe 16s ease-in-out infinite alternate;
  transition: filter 0.6s ease;
}

.artwork-wrapper:hover .artwork {
  filter: grayscale(82%) contrast(1.22) brightness(0.98);
}

@keyframes slowBreathe {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.artwork-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
  z-index: 4;
  pointer-events: none;
  animation: scanSweep 6s linear infinite;
}

@keyframes scanSweep {
  0% { top: -5%; opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { top: 105%; opacity: 0; }
}

.artwork-glare {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  box-shadow: inset 0 0 85px rgba(0, 0, 0, 0.88);
}

.artwork-play-overlay {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.artwork-wrapper:hover .artwork-play-overlay {
  opacity: 1;
}

.overlay-circle {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(6, 6, 9, 0.55);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  transform: scale(0.88);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), background 0.3s ease;
}

.artwork-wrapper:hover .overlay-circle {
  transform: scale(1);
}

.artwork-wrapper .ov-pause { display: none; }
.artwork-wrapper.is-playing .ov-play { display: none; }
.artwork-wrapper.is-playing .ov-pause { display: block; }

.artwork-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 7;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.65rem;
  background: rgba(5, 5, 8, 0.72);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--muted);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.artwork-badge.playing {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.38);
}

.badge-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
}

.artwork-badge.playing .badge-dot {
  background: #ffffff;
  box-shadow: 0 0 8px #ffffff;
  animation: recBlink 1.2s infinite;
}

.artwork-index {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 7;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.48);
  padding: 0.28rem 0.5rem;
  background: rgba(5, 5, 8, 0.6);
  backdrop-filter: blur(6px);
}

/* --- REPRODUCTOR GLASSMORPHISM --- */
.player {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.58);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

.player:hover {
  background: var(--surface-hover);
  border-color: var(--border-bright);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.72), 0 0 26px rgba(255, 255, 255, 0.06);
}

.player-sheen {
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.75), transparent);
  animation: playerBorderSheen 6s ease-in-out infinite;
  pointer-events: none;
}

@keyframes playerBorderSheen {
  0% { left: -80%; }
  45%, 100% { left: 140%; }
}

.track-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
}

.title-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.title-stack {
  display: flex;
  flex-direction: column;
  gap: 0.16rem;
}

.track-title {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--text);
}

.track-sub {
  font-size: 0.58rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.time {
  font-size: 0.67rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  white-space: nowrap;
}

.eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 16px;
}

.eq-bars span {
  width: 2px;
  height: 3px;
  background-color: #ffffff;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.85);
  transition: height 0.2s ease;
}

.eq-bars.playing span:nth-child(1) { animation: eqBounce 0.65s infinite alternate; }
.eq-bars.playing span:nth-child(2) { animation: eqBounce 0.45s 0.15s infinite alternate; }
.eq-bars.playing span:nth-child(3) { animation: eqBounce 0.8s 0.05s infinite alternate; }
.eq-bars.playing span:nth-child(4) { animation: eqBounce 0.55s 0.25s infinite alternate; }

@keyframes eqBounce {
  0% { height: 3px; }
  100% { height: 16px; }
}

.visualizer-wrap {
  padding: 0.3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.visualizer {
  width: 100%;
  height: 48px;
  display: block;
}

/* Sliders con progreso dinámico */
input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  height: 3px;
  background: linear-gradient(
    to right,
    #ffffff 0%,
    #ffffff var(--fill, 0%),
    rgba(255, 255, 255, 0.16) var(--fill, 0%),
    rgba(255, 255, 255, 0.16) 100%
  );
  outline: none;
  transition: height 0.2s ease;
}

input[type="range"]:hover {
  height: 4px;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.95);
  border-radius: 0;
  transition: transform 0.2s ease;
}

input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.35);
}

input[type="range"]::-moz-range-thumb {
  width: 11px;
  height: 11px;
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.95);
  border: none;
  border-radius: 0;
}

.progress-bar {
  width: 100%;
}

/* Controles */
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-top: 0.1rem;
}

.controls-left {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.control-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--text);
  font-family: 'Space Mono', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  padding: 0.54rem 1.1rem;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.control-btn .icon-pause { display: none; }
.control-btn.is-playing .icon-play { display: none; }
.control-btn.is-playing .icon-pause { display: block; }

.control-btn:hover {
  background-color: #ffffff;
  color: var(--bg);
  border-color: #ffffff;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.55);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--muted);
  transition: all 0.25s ease;
}

.icon-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.09);
  transform: rotate(-35deg);
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mute-btn {
  background: none;
  border: none;
  font-family: 'Space Mono', monospace;
  font-size: 0.63rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  transition: color 0.25s ease;
}

.mute-btn:hover,
.mute-btn.muted {
  color: #ffffff;
}

.volume-bar {
  width: 78px;
}

/* --- ENLACES SOCIALES --- */
.links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.social-link {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.74rem 1rem;
  background: rgba(13, 13, 17, 0.66);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, transform 0.2s ease;
}

.social-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: #ffffff;
  transition: width 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.social-link .arrow {
  transition: transform 0.3s ease, color 0.3s ease;
}

.social-link:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.5);
}

.social-link:hover::after {
  width: 100%;
}

.social-link:hover .arrow {
  transform: translate(3px, -3px);
  color: #ffffff;
}

/* --- RESPONSIVE MÓVIL --- */
@media (max-width: 520px) {
  body {
    padding: 3.6rem 1rem 2.2rem;
  }

  .top-hud {
    top: 0.85rem;
    left: 1rem;
    right: 1rem;
    font-size: 0.56rem;
  }

  .hud-sep,
  #hud-level,
  .bottom-hud {
    display: none;
  }

  .player {
    padding: 1.1rem;
  }

  .volume-bar {
    width: 60px;
  }
}