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

body {
font-family: Arial, Helvetica, sans-serif;
margin: 0;
background: 
linear-gradient(rgba(0, 0, 0, 0.836), rgba(0,0,0,0.5)),
url("img/index.png");
backdrop-filter: blur(14px);
border-top: 1px solid rgba(255,255,255,0.05);
-webkit-backdrop-filter: blur(10px);
border-top: 1px solid rgba(138, 15, 15, 0.1);
z-index: 1000;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
min-height: 100vh;
}

/* --------------- navbar -------------------*/

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  padding: 15px 40px;
  letter-spacing: 0.15em;
}

.nav-left {
  position: absolute;
  left: 40px;
  display: flex;
  flex-direction: column;
}

.hero-title {
  font-size: 22px;
  font-weight: bold;
  color: rgba(255, 255, 255, 0.765);
  letter-spacing: 0.15em;
}

.hero-sub {
  margin-top: 4px;
  font-size: 9px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em;
  position: absolute;
  left: 7px
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 60px; /*espacio entre enlances navbar*/
}

.nav-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.462);
  font-size: 15px;
  transition: transform 0.2s ease;
  display: inline-block;
  
}

.nav-links a:hover {
  transform: scale(1.30);
  display: inline-block;
  opacity: 1;
}

/* ---------------- footer ------------------- */
.social-links {
  display: flex;
  list-style: none;
  gap: 40px; /*separacion logos redes*/
  align-items: center;
}

.social-links a {
  color: rgba(255, 255, 255, 0.77); /* color logos*/
  font-size: 20px; /*tamaño logos */
  transition: 0.3s;
}

/* Hover pro */
.social-links a:hover {
  transform: scale(1.2);
  color: #b9701d;
}

/* SVG mixcloud */
.icon {
  width: 25px;
  height: 25px;
  display: block;
}

.footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px 0; /*ancho del footer*/
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ----------- banner news --------------------*/
.banner {
  padding: 8em 15em;
  display: flex;
  justify-content: center;
  align-items: center;
}

.banner-content { /* boton titulo*/
  display: flex;
  flex-direction: column;
  font-size: 1.4rem; /* subí o bajá este número */
}

.banner-new { /*new release*/
  font-size: 15px; /*tamaño fuente*/
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #c8a84b;
  margin-bottom: 8px;
}

.banner-album {
  font-size: clamp(3.5rem, 6vw, 7rem);
  font-weight: 900;
  color: white;
  line-height: 1;
  margin-top: 8px;
}

.banner-artist {
  font-size: 18px; /*tamaño nombre artista*/
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-top: 8px; 
}

.banner-btns {
  display: flex;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.banner-btns a { /* botones reproductores*/
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
} 

.banner-btns a:hover {
  opacity: 0.8;
}

.btn-spotify {
  background: #1db954;
  color: #000;
  margin-top: 10px;
}

.btn-apple {
  background: white;
  color: #000;
  margin-top: 10px;
}

.banner-cover { /* foto cover*/
  width: 320px; /*tamaño*/
  height: 320px; /*tamaño*/
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  margin-right: 60px;
}

/* ---------- reproductor ---------------------*/

.player-toggle {
  position: relative;

  width: 62px;
  height: 62px;

  border-radius: 50%;
  border: none;

  background: linear-gradient(
    135deg,
    #7b2ff7,
    #b14cff
  );

  color: white;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  font-size: 22px;

  box-shadow:
    0 8px 30px rgba(123,47,247,0.35);

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.player-toggle::before {
  content: "";

  position: absolute;
  inset: -10px;

  border-radius: 50%;

  background: rgba(145, 92, 255, 0.35);

  filter: blur(24px);

  z-index: -1;

  transition: 0.25s ease;
}

.player-toggle:hover {
  transform:
    translateY(-2px)
    scale(1.05);

  box-shadow:
    0 12px 36px rgba(145,92,255,0.45);
}

.player-toggle:hover::before {
  opacity: 1;
}

.player-toggle i {
  margin-left: 2px;
  transition: transform 0.25s ease;
}

.player-toggle:hover i {
  transform: scale(1.08);
}

.player-expand {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transform: translateY(10px) scale(0.96);

  transition: 0.25s ease;
}

.player-expand.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

  transform: translateY(0) scale(1);
}

.floating-player {
  position: fixed;

  bottom: 12px;
  right: 350px;

  z-index: 1000;

  display: flex;
  flex-direction: column;
  align-items: flex-end;

  cursor: grab;
}

.floating-player.dragging {
  cursor: grabbing;
}

 .player-toggle::after {
  content: "";

  position: absolute;
  inset: 0;

  border-radius: 50%;

  border: 2px solid rgba(145,92,255,0.5);

  animation: ripple 2s infinite;

  z-index: -2;
}

@keyframes ripple {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }

  100% {
    transform: scale(1.8);
    opacity: 0;
  }
}

/* --------------- responsive -------------------*/

/* --------------- 1366 x 768 (laptop) -------------------*/
@media (max-width: 1366px) {
  .banner {
    padding: 6em 8em;
  }

  .banner-album {
    font-size: clamp(3rem, 5vw, 5.5rem);
  }

  .nav-links {
    gap: 40px;
  }

  .floating-player {
    right: 20px;
    bottom: 20px;
  }
}

/* --------------- 768 x 1024 (tablet) -------------------*/
@media (max-width: 1024px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    gap: 16px;
  }

  .nav-left {
    position: static;
    align-items: center;
    text-align: center;
  }

  .hero-sub {
    position: static;
  }

  .nav-links {
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .banner {
    padding: 5em 3em;
    gap: 30px;
  }

  .banner-album {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
  }

  .banner-cover {
    width: 260px;
    height: 260px;
  }

  .floating-player {
    right: 20px;
    bottom: 20px;
  }

  .social-links {
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
  }
}

/* --------------- 480px (mobile grande) -------------------*/
@media (max-width: 480px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    padding: 15px;
    gap: 12px;
  }

  .nav-left {
    position: static;
    align-items: center;
    text-align: center;
  }

  .hero-title {
    font-size: 18px;
  }

  .hero-sub {
    position: static;
    font-size: 8px;
  }

  .nav-links {
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links a {
    font-size: 13px;
  }

  .banner {
    flex-direction: column;
    padding: 4em 1.5em 6em;
    text-align: center;
    gap: 24px;
  }

  .banner-cover {
    width: 220px;
    height: 220px;
    margin-right: 0;
  }

  .banner-album {
    font-size: clamp(2.5rem, 10vw, 3.5rem);
  }

  .banner-btns {
    justify-content: center;
  }

  .floating-player {
    right: 15px;
    bottom: 15px;
  }

  .social-links {
    gap: 18px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 15px;
  }
}

/* --------------- 320 x 568 (mobile pequeño) -------------------*/
@media (max-width: 320px) {
  .hero-title {
    font-size: 15px;
  }

  .hero-sub {
    font-size: 7px;
  }

  .nav-links a {
    font-size: 11px;
  }

  .nav-links {
    gap: 10px;
  }

  .banner {
    padding: 3em 1em 6em;
  }

  .banner-cover {
    width: 180px;
    height: 180px;
  }

  .banner-album {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .banner-btns {
    flex-direction: column;
    align-items: center;
  }

  .banner-btns a {
    padding: 12px 24px;
    font-size: 12px;
    width: 100%;
    justify-content: center;
  }

  .social-links {
    gap: 12px;
    padding: 0 10px;
  }

  .social-links a {
    font-size: 16px;
  }

  .floating-player {
    right: 10px;
    bottom: 10px;
  }

  .player-toggle {
    width: 50px;
    height: 50px;
    font-size: 18px;
  }
}
.floating-player.dragging {
  cursor: grabbing;
}
.floating-player {
  will-change: transform;
}