:root {
  --background: #160d1f;
  --foreground: #f6f3fa;
  --muted: #b3a8c6;
  --muted-surface: #332347;
  --border: rgba(216, 90, 200, 0.35);
  --primary: #ff2e9a; /* rosa neon */
  --secondary: #f6a821; /* âmbar */
  --accent: #35c7ea; /* ciano */
  --destructive: #ff6b6b;
  --glow-pink: 0 0 40px rgba(255, 46, 154, 0.6);
  --font-display: "Bebas Neue", sans-serif;
  --font-body: "Barlow", sans-serif;
}

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

html, body {
  height: 100%;
  height: 100dvh;
  scrollbar-width: none; /* oculta barra de rolagem */
  -ms-overflow-style: none;
}

html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }

body {
  background-color: var(--background);
  background-image: radial-gradient(
    ellipse at 50% 20%,
    rgba(64, 24, 88, 0.55),
    transparent 65%
  );
  color: var(--foreground);
  font-family: var(--font-body);
  overflow: hidden;
}

.app { position: relative; min-height: 100vh; min-height: 100dvh; overflow: hidden; }

.eq {
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  gap: 2px;
  gap: clamp(1px, 0.25vw, 3px);
  width: 98vw;
  max-width: 1920px;
  width: min(1920px, 98vw);
  height: 24vh;
  height: clamp(100px, 24vh, 265px);
  height: clamp(100px, 24dvh, 265px);
  -webkit-flex: none;
  flex: none;
  pointer-events: none;
}

.eq-bar {
  display: block;
  width: 3px;
  min-height: 6px;
  -webkit-flex: 0 0 3px;
  flex: 0 0 3px;
  border-radius: 2px;
  background-color: #ff2e9a;
  opacity: 0.5;
  -webkit-transform-origin: center;
  transform-origin: center;
}

.eq.playing .eq-bar {
  opacity: 1;
  -webkit-animation-name: eq-bounce;
  animation-name: eq-bounce;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
}

@-webkit-keyframes eq-bounce {
  0%, 100% { -webkit-transform: scaleY(0.25); transform: scaleY(0.25); }
  50% { -webkit-transform: scaleY(1); transform: scaleY(1); }
}
@keyframes eq-bounce {
  0%, 100% { -webkit-transform: scaleY(0.25); transform: scaleY(0.25); }
  50% { -webkit-transform: scaleY(1); transform: scaleY(1); }
}

.content {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 1600px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 2dvh, 1.5rem);
}

.logo {
  width: 40vw;
  width: clamp(243px, min(39.6vw, 48.6vh), 612px);
  width: clamp(243px, min(39.6vw, 48.6dvh), 612px); /* +20% */
  height: auto;
  filter:
    drop-shadow(0 0 55px rgba(255, 0, 170, 0.6))
    drop-shadow(0 0 18px rgba(255, 92, 200, 0.55));
}

.stack { display: flex; flex-direction: column; align-items: center; gap: 1rem; }

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.4rem); /* 80% original + 25% */

  letter-spacing: 0.25em;
  color: var(--secondary);
  padding: 0.4em 1.1em;
  border: 2px solid var(--secondary);
  border-radius: 999px;
  box-shadow:
    0 0 25px rgba(246, 168, 33, 0.55),
    inset 0 0 25px rgba(246, 168, 33, 0.25);
  text-shadow: 0 0 18px rgba(246, 168, 33, 0.8);
}

.live-dot {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: var(--glow-pink);
  animation: live-pulse 1.4s ease-in-out infinite;
}

@keyframes live-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

.play {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 1.11rem 1.82rem; border-radius: 999px; /* mesmo tamanho do Sair */
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border: 2px solid rgba(255, 92, 200, 0.9);
  color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 1.53rem;

  box-shadow:
    0 0 24px rgba(255, 0, 170, 0.4),
    0 0 12px rgba(255, 92, 200, 0.7),
    inset 0 0 10px rgba(255, 255, 255, 0.15);
  animation: play-border-glow 2.4s ease-in-out infinite;
  transition: transform .15s ease, box-shadow .2s ease, filter .2s ease;
}
@keyframes play-border-glow {
  0%, 100% {
    box-shadow:
      0 0 24px rgba(255, 0, 170, 0.4),
      0 0 12px rgba(255, 92, 200, 0.7),
      inset 0 0 10px rgba(255, 255, 255, 0.15);
  }
  50% {
    box-shadow:
      0 0 30px rgba(255, 0, 170, 0.6),
      0 0 22px rgba(255, 92, 200, 1),
      inset 0 0 14px rgba(255, 255, 255, 0.25);
  }
}
.play:hover,
.play:focus-visible,
.tv-focus:focus {
  transform: scale(1.05);
  border-color: #ffffff;
  box-shadow:
    0 0 22px rgba(255, 255, 255, 0.9),
    0 0 70px rgba(255, 0, 170, 1),
    0 0 130px rgba(255, 0, 170, 0.7),
    inset 0 0 20px rgba(255, 255, 255, 0.45);
  filter: brightness(1.35);
}
.play:active {
  transform: scale(0.96);
  border-color: #ffffff;
  box-shadow:
    0 0 28px rgba(255, 255, 255, 1),
    0 0 90px rgba(255, 46, 154, 1),
    0 0 150px rgba(255, 46, 154, 0.8),
    inset 0 0 28px rgba(255, 255, 255, 0.55);
  filter: brightness(1.5);
}
.play .icon { width: 32px; height: 32px; }

.top-contacts {
  position: absolute; top: 1.5rem; left: 1.5rem; z-index: 10;
  display: flex; flex-direction: column; gap: 0.55rem;
  padding: 1rem 1.25rem; border-radius: 1rem;
  border: 2px solid rgba(255, 92, 200, 0.75);
  background: rgba(22, 13, 31, 0.75);
  backdrop-filter: blur(6px);
  font-size: 1.55rem; color: var(--foreground);

  box-shadow:
    0 0 14px rgba(255, 0, 170, 0.35),
    0 0 8px rgba(255, 92, 200, 0.5);
  animation: panel-border-glow 2.4s ease-in-out infinite;
  max-width: min(700px, 65vw);
}
.top-contact { display: flex; align-items: center; gap: 0.6rem; line-height: 1.25; }
.white-text { color: #ffffff; }
.top-contact .icon { width: 29px; height: 29px; flex: none; }


/* Brilho pulsante da borda compartilhado pelos painéis */
@keyframes panel-border-glow {
  0%, 100% {
    box-shadow:
      0 0 14px rgba(255, 0, 170, 0.35),
      0 0 8px rgba(255, 92, 200, 0.5);
  }
  50% {
    box-shadow:
      0 0 22px rgba(255, 0, 170, 0.6),
      0 0 16px rgba(255, 92, 200, 0.9);
  }
}

.top-actions {
  position: absolute; top: 1.5rem; right: 1.5rem; z-index: 10;
  display: flex; align-items: stretch; gap: 0.6rem;
}

.exit {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 1.11rem 1.82rem; border-radius: 999px;
  border: 2px solid rgba(255, 92, 200, 0.75);
  background: rgba(22, 13, 31, 0.7);
  backdrop-filter: blur(6px);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 1.53rem;

  box-shadow:
    0 0 14px rgba(255, 0, 170, 0.35),
    0 0 8px rgba(255, 92, 200, 0.5);
  animation: exit-border-glow 2.4s ease-in-out infinite;
  transition: transform .15s ease, box-shadow .2s ease;
}
@keyframes exit-border-glow {
  0%, 100% {
    box-shadow:
      0 0 14px rgba(255, 0, 170, 0.35),
      0 0 8px rgba(255, 92, 200, 0.5);
  }
  50% {
    box-shadow:
      0 0 20px rgba(255, 0, 170, 0.55),
      0 0 14px rgba(255, 92, 200, 0.85);
  }
}
.exit:hover,
.exit:focus-visible {
  transform: scale(1.05);
  border-color: #ffffff;
  border-width: 3px;
  box-shadow:
    0 0 10px rgba(255, 255, 255, 1),
    0 0 30px rgba(255, 255, 255, 0.9),
    0 0 60px rgba(255, 0, 170, 1),
    0 0 110px rgba(255, 0, 170, 0.75);
  filter: brightness(1.5);
  animation: none;
}
.exit:active {
  transform: scale(0.96);
  border-color: #ffffff;
  border-width: 3px;
  box-shadow:
    0 0 14px rgba(255, 255, 255, 1),
    0 0 40px rgba(255, 255, 255, 1),
    0 0 80px rgba(255, 46, 154, 1),
    0 0 130px rgba(255, 46, 154, 0.85);
  filter: brightness(1.65);
  animation: none;
}
.exit .icon { width: 32px; height: 32px; }


.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.icon.fill { fill: currentColor; stroke: none; }
.icon.accent { stroke: var(--accent); }

.error { color: var(--destructive); font-size: 0.9rem; min-height: 1rem; max-width: 280px; text-align: center; }

.credit {
  position: fixed; bottom: 1rem; right: 1.25rem; z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  padding: 0.55rem 0.9rem; border-radius: 0.75rem;
  border: 2px solid rgba(255, 92, 200, 0.75);
  background: rgba(22, 13, 31, 0.7);
  backdrop-filter: blur(6px);
  box-shadow:
    0 0 14px rgba(255, 0, 170, 0.35),
    0 0 8px rgba(255, 92, 200, 0.5);
  animation: panel-border-glow 2.4s ease-in-out infinite;
}
.credit-label {
  font-size: 1.18rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.credit-logo {
  width: 156px; /* 40% do tamanho original + 30% + 25% */

  height: auto;
  border-radius: 0.4rem;
  display: block;
}
.credit-link {
  font-size: 1.28rem; font-weight: 700;

  letter-spacing: 0.08em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.credit-link:hover {
  text-decoration: underline;
  filter: drop-shadow(0 0 8px rgba(53, 199, 234, 0.7));
}

.now-playing {
  position: fixed;
  left: 1.25rem;
  bottom: 1.25rem;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  max-width: min(57.5vw, 650px);

  padding: 0.7rem 1rem;
  border-radius: 0.75rem;
  border: 2px solid rgba(255, 92, 200, 0.75);
  background: rgba(22, 13, 31, 0.55);
  backdrop-filter: blur(10px);
  box-shadow:
    0 0 14px rgba(255, 0, 170, 0.35),
    0 0 8px rgba(255, 92, 200, 0.5);
  animation: panel-border-glow 2.4s ease-in-out infinite;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}
.now-playing.visible {
  opacity: 1;
  transform: translateY(0);
}
.now-playing-label {
  font-size: 1.18rem; font-weight: 600;

  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  display: flex; align-items: center; gap: 0.45rem;
}
.now-playing-label::before {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px rgba(255, 46, 154, 0.9);
  animation: np-pulse 1.6s ease-in-out infinite;
}
.now-playing-title {
  font-family: var(--font-display);
  font-size: clamp(1.71rem, 2.93vw, 2.44rem);

  letter-spacing: 0.04em;
  color: var(--foreground);
  text-shadow: 0 0 14px rgba(255, 46, 154, 0.45);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@keyframes np-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.8); }
}

.tv-focus { outline: none; }
.tv-focus:focus-visible,
.tv-focus:focus {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
  box-shadow: var(--glow-pink);
}

/* Oculta o cursor quando o aplicativo fica 5s sem interação */
html.hide-cursor,
html.hide-cursor body,
html.hide-cursor * {
  cursor: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mNkYPhfDwAChwGA60e6kgAAAABJRU5ErkJggg=="), none !important;
}
.cursor-shield { display: none; position: fixed; inset: 0; top:0; left:0; right:0; bottom:0; z-index: 9999; background: transparent; }
html.hide-cursor .cursor-shield { display: block; }

@media (min-width: 1600px) {
  .content { gap: 2.5rem; }
}

@media (max-width: 720px) {
  .contact-card ul { grid-template-columns: 1fr; }
  .content { gap: 0.75rem; }
  .eq { height: clamp(90px, 20dvh, 150px); }
}

@media (min-width: 560px) and (max-width: 720px) and (max-height: 600px) {
  .logo { transform: translateX(80px); }
  .error { max-width: 240px; font-size: 0.75rem; }
}

@media (prefers-reduced-motion: reduce) {
  .eq-bar { animation: none; transition: none; transform: scaleY(0.6); }
  .top-contacts,
  .credit,
  .now-playing { animation: none; }
}
