/* Página principal: uma coluna, simples. Usa as cores e fontes de base.css. */
:root {
  --signal-text: #a796ff; /* roxo mais claro para texto pequeno sobre o fundo escuro */
  --body-text: #c9c8c3;
}

body { overflow-x: clip; }
.page { width: min(460px, 100% - 32px); padding: 64px 0 132px; }

/* entrada suave */
.page > * { animation: rise .7s var(--ease) both; }
.page > *:nth-child(2) { animation-delay: .06s; }
.page > *:nth-child(3) { animation-delay: .12s; }
.page > *:nth-child(n+4) { animation-delay: .18s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes up { from { opacity: 0; transform: translate(-50%, 12px); } }

.muted { color: var(--mute); }
.small { font-size: 14px; }
.muted a, .note a { color: var(--bone); }

/* ---------- topo ---------- */
.hero { position: relative; text-align: center; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -90px; left: 50%; width: min(460px, 100vw); height: 460px; transform: translateX(-50%);
  background: radial-gradient(circle, rgba(124, 92, 255, .24), rgba(124, 92, 255, 0) 62%);
}
.hero__photo {
  width: 196px; height: 196px; margin: 0 auto 24px;
  border-radius: 38px; overflow: hidden;
  background: var(--ink-2);
  box-shadow: 0 0 0 1px var(--line), 0 34px 70px -24px rgba(124, 92, 255, .55);
}
.hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero__name { margin: 0; font: 800 clamp(64px, 19vw, 92px)/.88 var(--display); text-transform: uppercase; }
.hero__tag { margin: 12px 0 0; font-size: 15px; color: var(--mute); }
.hero__live {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 18px 0 0; padding: 7px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(19, 19, 22, .72);
  font-size: 13px; color: var(--mute);
}
.hero__live span { font-weight: 600; color: var(--bone); }
.hero__live i { width: 7px; height: 7px; border-radius: 50%; background: #1ed760; animation: live 2.4s ease-in-out infinite; }
@keyframes live { 0%, 100% { box-shadow: 0 0 0 0 rgba(30, 215, 96, .55); } 50% { box-shadow: 0 0 0 5px rgba(30, 215, 96, 0); } }

/* ---------- links ---------- */
.ico { display: block; width: 1em; height: 1em; flex-shrink: 0; }
.links { display: grid; gap: 10px; margin-top: 36px; }
.link {
  display: flex; align-items: center; gap: 14px;
  min-height: 62px; padding: 10px 18px 10px 10px;
  border: 1px solid var(--line); border-radius: 18px;
  background: var(--ink-2);
  font-weight: 600; text-decoration: none;
  transition: transform .2s var(--ease), border-color .2s, background-color .2s;
}
.link:hover { border-color: rgba(236, 235, 230, .28); transform: translateY(-1px); }
.link:active { transform: scale(.985); }
.link__icon { width: 42px; height: 42px; flex-shrink: 0; display: grid; place-items: center; border-radius: 12px; background: var(--c, #26262b); color: #fff; }
.link__icon .ico { width: 21px; height: 21px; }
.link__name { flex: 1; }
.link__go { color: var(--mute); }
.link__go .ico { width: 18px; height: 18px; stroke-width: 2; }
.link--main { background: var(--bone); color: var(--ink); border-color: transparent; }
.link--main:hover { background: #fff; border-color: transparent; }
.link--main .link__icon { background: var(--ink); color: #1ed760; }
.link--main .link__go { color: rgba(9, 9, 11, .5); }

.socials { display: flex; justify-content: center; gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.social {
  width: 50px; height: 50px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%;
  background: var(--ink-2); color: var(--bone);
  transition: transform .2s var(--ease), border-color .2s;
}
.social:hover { border-color: rgba(236, 235, 230, .3); transform: translateY(-2px); }
.social .ico { width: 20px; height: 20px; }

/* ---------- blocos ---------- */
.block { margin-top: 68px; }
.block__title { margin: 0 0 16px; font: 800 36px/1 var(--display); text-transform: uppercase; }
.card, .tracks, .contact, .fold, .stat { border: 1px solid var(--line); border-radius: 18px; background: var(--ink-2); }

/* músicas */
.tracks { margin: 0; padding: 0; list-style: none; overflow: hidden; }
.tracks li + li { border-top: 1px solid var(--line); }
.block__sub { margin: -6px 0 16px; font-size: 15px; }
.track {
  display: grid; grid-template-columns: 16px 48px minmax(0, 1fr) auto; align-items: center; gap: 12px;
  width: 100%; padding: 10px 16px 10px 12px;
  border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer;
  transition: background-color .15s;
}
.track:hover { background: rgba(236, 235, 230, .04); }
.track__rank { color: var(--mute); font-size: 14px; text-align: center; font-variant-numeric: tabular-nums; }
.track__cover { position: relative; width: 48px; height: 48px; border-radius: 8px; overflow: hidden; background: #1c1c20; box-shadow: 0 0 0 1px var(--line); }
.track__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.track__over { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(9, 9, 11, .55); opacity: 0; transition: opacity .15s; }
.track__over > * { grid-area: 1 / 1; }
.track__icon .ico { width: 18px; height: 18px; color: #fff; }
.track .eq { display: none; color: #fff; }
.track:hover .track__over, .track:focus-visible .track__over, .track.is-current .track__over { opacity: 1; }
.track.is-current .track__icon { display: none; }
.track.is-current .eq { display: inline-flex; }
.track.is-current:hover .eq { display: none; }
.track.is-current:hover .track__icon { display: block; }
.track__text { min-width: 0; }
.track__title, .track__artist { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.track__title { font-weight: 600; }
.track__artist { font-size: 13px; color: var(--mute); }
.track__ver {
  display: inline-block; margin-right: 6px; padding: 1px 6px; vertical-align: 1px;
  border-radius: 5px; background: rgba(124, 92, 255, .16);
  font-size: 11px; font-weight: 600; color: var(--signal-text);
}
.track__plays { font-size: 13px; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.track.is-current .track__title, .track.is-current .track__rank { color: var(--signal-text); }

.eq { align-items: flex-end; gap: 2px; height: 13px; color: var(--signal-text); }
.eq i { width: 3px; height: 30%; border-radius: 1px; background: currentColor; animation: eq 1s ease-in-out infinite; animation-play-state: paused; }
.eq i:nth-child(2) { animation-delay: -.45s; }
.eq i:nth-child(3) { animation-delay: -.75s; }
body.is-playing .eq i { animation-play-state: running; }
@keyframes eq { 0%, 100% { height: 25%; } 50% { height: 100%; } }

/* bio */
.bio p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: var(--body-text); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 26px 0 0; }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 16px; }
.stat dd { margin: 0; font: 800 42px/1 var(--display); }
.stat dt { font-size: 13px; line-height: 1.35; color: var(--mute); }
.note { margin: 12px 0 0; font-size: 13px; color: var(--mute); }

/* contato */
.contact {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin-top: 14px; padding: 18px;
}
.contact__email { font: 800 27px/1.1 var(--display); text-decoration: none; overflow-wrap: anywhere; transition: color .15s; }
.contact__email:hover { color: var(--signal-text); }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  height: 40px; padding: 0 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: transparent; color: var(--bone);
  font: 600 14px var(--text); cursor: pointer;
  transition: background-color .15s;
}
.pill:hover { background: rgba(236, 235, 230, .07); }
.pill .ico { width: 16px; height: 16px; }

/* vocais */
.fold + .fold { margin-top: 10px; }
.fold summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 18px; font-weight: 600; cursor: pointer; list-style: none;
}
.fold summary::-webkit-details-marker { display: none; }
.fold summary .ico { width: 18px; height: 18px; color: var(--mute); transition: transform .2s var(--ease); }
.fold[open] summary .ico { transform: rotate(90deg); }
.fold > :not(summary) { margin: 0 18px 18px; }
.rules { padding-left: 20px; color: var(--body-text); line-height: 1.6; }
.rules li + li { margin-top: 10px; }
.rules strong { color: var(--bone); }

/* rodapé */
.foot { display: flex; justify-content: center; gap: 20px; margin-top: 76px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--bone); }

/* ---------- mini player ---------- */
.player {
  position: fixed; z-index: 10;
  left: 50%; bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(460px, 100% - 24px);
  display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px;
  padding: 10px 10px 14px;
  border: 1px solid var(--line); border-radius: 20px;
  background: rgba(19, 19, 22, .84);
  -webkit-backdrop-filter: blur(20px) saturate(1.4); backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, .75);
  overflow: hidden;
  animation: up .35s var(--ease);
}
.player img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
.player__meta { min-width: 0; text-decoration: none; }
.player__meta strong, .player__meta small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player__meta strong { font-size: 15px; font-weight: 600; }
.player__meta small { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--mute); }
.player__meta small span:last-child { overflow: hidden; text-overflow: ellipsis; }
.player__meta:hover strong { text-decoration: underline; text-underline-offset: 2px; }
.player__tag { color: #1ed760; }
.player__tag .ico { width: 13px; height: 13px; }
.player__btns { display: flex; align-items: center; gap: 2px; }
.pbtn {
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: none; color: var(--bone); cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.pbtn:hover { background: rgba(236, 235, 230, .08); }
.pbtn:active { transform: scale(.9); }
.pbtn .ico { width: 18px; height: 18px; }
.pbtn--play { background: var(--bone); color: var(--ink); }
.pbtn--play:hover { background: #fff; }

.player__seek {
  --p: 0%;
  position: absolute; left: 0; right: 0; bottom: 0;
  width: 100%; height: 12px; margin: 0;
  -webkit-appearance: none; appearance: none; background: transparent; cursor: pointer;
}
.player__seek::-webkit-slider-runnable-track { height: 3px; margin-top: 9px; background: linear-gradient(to right, var(--signal) var(--p), rgba(236, 235, 230, .12) var(--p)); }
.player__seek::-moz-range-track { height: 3px; background: rgba(236, 235, 230, .12); }
.player__seek::-moz-range-progress { height: 3px; background: var(--signal); }
.player__seek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4.5px; border-radius: 50%; background: var(--bone); opacity: 0; transition: opacity .15s; }
.player__seek::-moz-range-thumb { width: 12px; height: 12px; border: 0; border-radius: 50%; background: var(--bone); }
.player:hover .player__seek::-webkit-slider-thumb, .player__seek:focus-visible::-webkit-slider-thumb { opacity: 1; }

/* aviso rápido */
.toast {
  position: fixed; z-index: 20; left: 50%; bottom: 100px; transform: translateX(-50%);
  padding: 10px 18px; border-radius: 999px;
  background: var(--bone); color: var(--ink);
  font-size: 14px; font-weight: 600; white-space: nowrap;
  box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .6);
  animation: up .25s var(--ease);
}

@media (max-width: 380px) {
  .hero__photo { width: 168px; height: 168px; border-radius: 32px; }
  .stat dd { font-size: 36px; }
  .contact__email { font-size: 23px; }
}
