:root {
  --bg: #070414;
  --bg-soft: #100822;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.16);
  --text: #fff8ff;
  --muted: rgba(255, 248, 255, 0.68);
  --cyan: #00f5ff;
  --pink: #ff3df2;
  --orange: #ff7a3d;
  --yellow: #ffe66d;
  --purple: #8a45ff;
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
  --radius-xl: 34px;
  --radius-lg: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 10%, rgba(0, 245, 255, 0.22), transparent 24rem),
    radial-gradient(circle at 82% 5%, rgba(255, 61, 242, 0.2), transparent 22rem),
    linear-gradient(145deg, #070414 0%, #120724 46%, #210723 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, rgba(0, 245, 255, 0.09), transparent 35%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 92px);
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.noise {
  position: fixed;
  inset: 0;
  opacity: .11;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
}

.bg-orb {
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 999px;
  filter: blur(48px);
  opacity: .48;
  pointer-events: none;
  animation: float 12s ease-in-out infinite alternate;
}

.orb-a { top: 8%; left: -8rem; background: var(--cyan); }
.orb-b { top: 18%; right: -9rem; background: var(--pink); animation-delay: -4s; }
.orb-c { bottom: -10rem; left: 38%; background: var(--orange); animation-delay: -8s; }

.site-shell {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 30px 0 44px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: clamp(160px, 22vw, 240px);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 40px rgba(255, 61, 242, .16));
}

.topbar-spacer {
  min-width: 1px;
  min-height: 1px;
}

.title-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  max-width: 100%;
}

.title-lockup h1 {
  flex: 0 1 auto;
}

.title-logo {
  flex: 0 0 auto;
  width: clamp(96px, 15vw, 168px);
  height: auto;
  display: block;
  object-fit: contain;
  border-radius: 18px;
  filter: drop-shadow(0 16px 32px rgba(255, 61, 242, .20));
}

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.7px;
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
  backdrop-filter: blur(18px);
}

.live-pill span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #27ff9f;
  box-shadow: 0 0 0 0 rgba(39,255,159,.6);
  animation: pulse 1.45s infinite;
}

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: minmax(0, 1.38fr) minmax(320px, .62fr);
  gap: 24px;
  align-items: stretch;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 58px);
  background:
    linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.052)),
    radial-gradient(circle at 85% 16%, rgba(255, 230, 109, .18), transparent 16rem);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -11rem;
  bottom: -12rem;
  width: 35rem;
  height: 35rem;
  border-radius: 50%;
  background: conic-gradient(from 180deg, var(--cyan), var(--pink), var(--yellow), var(--cyan));
  opacity: .14;
  filter: blur(3px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--cyan);
  text-transform: uppercase;
  letter-spacing: 3.2px;
  font-size: 12px;
  font-weight: 900;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 8.2vw, 104px);
  line-height: .86;
  letter-spacing: -5px;
  text-transform: uppercase;
  text-shadow: 0 0 28px rgba(255, 61, 242, .32);
}


.claim {
  margin: 0 0 14px;
  font-size: clamp(1.1rem, 2.2vw, 1.55rem);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 61, 242, .55), 0 0 34px rgba(0, 245, 255, .35);
}

.hero-text {
  max-width: 640px;
  margin: 22px 0 30px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.45;
}

.player-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 30px;
  background: rgba(5, 3, 15, .42);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 22px 70px rgba(0,0,0,.28);
}

.cover-wrap {
  position: relative;
  aspect-ratio: 1;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,245,255,.22), rgba(255,61,242,.24));
  box-shadow: 0 18px 42px rgba(0,0,0,.35);
}

.cover-wrap img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.cover-glow {
  position: absolute;
  inset: 12%;
  border-radius: 999px;
  background: conic-gradient(from 45deg, var(--cyan), var(--pink), var(--yellow), var(--cyan));
  filter: blur(32px);
  opacity: .75;
}

.track-area { min-width: 0; }

.now-label {
  margin: 0 0 8px;
  color: var(--yellow);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 2.2px;
  text-transform: uppercase;
}

#trackTitle {
  margin: 0;
  font-size: clamp(26px, 4vw, 46px);
  line-height: 1.02;
  letter-spacing: -1.8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#trackArtist {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.meta-status {
  min-height: 22px;
  margin: 12px 0 18px;
  color: rgba(255,255,255,.5);
  font-size: 13px;
}

.controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.play-btn {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: #100822;
  background: linear-gradient(135deg, var(--cyan), var(--pink) 52%, var(--yellow));
  box-shadow: 0 12px 34px rgba(255, 61, 242, .35), 0 0 0 1px rgba(255,255,255,.32) inset;
  transition: transform .2s ease, filter .2s ease;
}

.play-btn:hover { transform: translateY(-2px) scale(1.02); filter: brightness(1.08); }
.play-btn:active { transform: translateY(1px) scale(.98); }
.play-icon { font-size: 25px; transform: translateX(2px); }
.playing .play-icon { transform: none; }

.volume-wrap {
  min-width: 190px;
  flex: 1;
}

.volume-wrap label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.4px;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--pink);
}

.visualizer {
  display: flex;
  align-items: end;
  gap: 5px;
  height: 56px;
  margin-top: 22px;
}

.visualizer span {
  flex: 1;
  min-width: 4px;
  max-width: 13px;
  height: 18%;
  border-radius: 999px;
  background: linear-gradient(to top, var(--cyan), var(--pink), var(--yellow));
  opacity: .42;
}

body.is-playing .visualizer span {
  animation: bars .8s ease-in-out infinite alternate;
  opacity: .9;
}

.visualizer span:nth-child(2n) { animation-delay: -.18s; }
.visualizer span:nth-child(3n) { animation-delay: -.31s; }
.visualizer span:nth-child(5n) { animation-delay: -.49s; }

.side-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 28px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow);
}

.side-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 122, 61, .16), transparent 48%);
  pointer-events: none;
}

.sunset-mark {
  position: relative;
  width: 162px;
  height: 86px;
  margin-bottom: 30px;
  border-radius: 100px 100px 18px 18px;
  background: linear-gradient(135deg, var(--yellow), var(--orange), var(--pink));
  box-shadow: 0 0 44px rgba(255, 122, 61, .36);
  overflow: hidden;
}

.sunset-mark span {
  position: absolute;
  left: 0;
  right: 0;
  height: 8px;
  background: rgba(7, 4, 20, .55);
  border-radius: 999px;
}

.sunset-mark span:nth-child(1) { top: 28px; }
.sunset-mark span:nth-child(2) { top: 44px; }
.sunset-mark span:nth-child(3) { top: 60px; }
.sunset-mark span:nth-child(4) { top: 76px; }

.side-card h3,
.info-grid h3 {
  margin: 0 0 16px;
  font-size: 24px;
  letter-spacing: -.6px;
}

.history-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.history-list li {
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.11);
  background: rgba(0,0,0,.2);
  color: rgba(255,255,255,.82);
  line-height: 1.35;
}

.history-list strong {
  display: block;
  color: var(--text);
  font-size: 14px;
}

.history-list span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.info-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,.065);
  backdrop-filter: blur(16px);
}

.info-grid span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--cyan);
  font-weight: 900;
}

.info-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.footer {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 34px;
  display: flex;
  justify-content: center;
  gap: 20px;
  color: rgba(255,255,255,.52);
}

.footer p { margin: 0; }
.footer a { color: rgba(255,255,255,.76); text-decoration: none; }
.footer a:hover { color: var(--cyan); }

@keyframes float {
  from { transform: translate3d(0,0,0) scale(1); }
  to { transform: translate3d(38px,-34px,0) scale(1.08); }
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 12px rgba(39,255,159,0); }
  100% { box-shadow: 0 0 0 0 rgba(39,255,159,0); }
}

@keyframes bars {
  0% { height: 16%; }
  50% { height: 82%; }
  100% { height: 34%; }
}

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .side-card { min-height: 360px; }
  .info-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-shell { width: min(100% - 22px, 1180px); padding-top: 18px; }
  .topbar { align-items: flex-start; }
  .live-pill { margin-top: 6px; }
  .hero-copy { padding: 26px 18px; }
  h1 { letter-spacing: -3px; font-size: clamp(42px, 14vw, 76px); }

  .title-lockup {
    gap: 14px;
    align-items: center;
  }
  .title-logo {
    width: clamp(74px, 24vw, 112px);
    border-radius: 12px;
  }
  .player-card { grid-template-columns: 1fr; padding: 14px; }
  .cover-wrap { width: min(100%, 260px); margin: 0 auto; }
  #trackTitle, #trackArtist { white-space: normal; }
  .footer { flex-direction: column; }
}

/* Ajuste v8: no mostrar mensajes técnicos de metadata */
.meta-status { display: none !important; }
