/* ============================================
   RESET BÁSICO
============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ============================================
   BODY E BACKGROUND
============================================ */
body {
  background-color: #0d0d1a;
  color: #fff;
  font-family: "Questrial", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  background-image: url("https://images-wixmp-ed30a86b8c4ca887773594c2.wixmp.com/f/af7dfb2d-8cc1-45ab-9bab-6b0d0c655e58/dkeit50-6ad18cac-6098-4108-b9e8-fbe559639199.jpg?token=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJ1cm46YXBwOjdlMGQxODg5ODIyNjQzNzNhNWYwZDQxNWVhMGQyNmUwIiwiaXNzIjoidXJuOmFwcDo3ZTBkMTg4OTgyMjY0MzczYTVmMGQ0MTVlYTBkMjZlMCIsIm9iaiI6W1t7InBhdGgiOiIvZi9hZjdkZmIyZC04Y2MxLTQ1YWItOWJhYi02YjBkMGM2NTVlNTgvZGtlaXQ1MC02YWQxOGNhYy02MDk4LTQxMDgtYjllOC1mYmU1NTk2MzkxOTkuanBnIn1dXSwiYXVkIjpbInVybjpzZXJ2aWNlOmZpbGUuZG93bmxvYWQiXX0.m9oh-nru6tT-fGAUDnl0dqN8yzlo7usNKJgKyoar4EA");
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  background-repeat: no-repeat;
  animation: fundoMovimento 60s ease-in-out infinite;
  will-change: background-position;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(13, 13, 26, 0.6);
  z-index: 0;
  pointer-events: none;
  will-change: opacity;
  animation: pulsoOverlay 4s ease-in-out infinite;
}

@keyframes fundoMovimento {
  0% {
    background-position: center top;
  }
  25% {
    background-position: 10% center;
  }
  50% {
    background-position: center bottom;
  }
  75% {
    background-position: 90% center;
  }
  100% {
    background-position: center top;
  }
}

@keyframes pulsoOverlay {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 0.3;
  }
}

/* ============================================
   MENU
============================================ */
.menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.3s ease;
  background: transparent;
  padding: 16px 0;
  will-change: transform;
}

.menu-conteudo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.menu-logo {
  font-family: "Oswald", sans-serif;
  font-size: 34px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  text-shadow: 0 0 15px rgba(61, 139, 255, 0.4);
  letter-spacing: 2px;
}

.menu-rolado {
  transform: translateY(-100%);
}

/* ============================================
   CAPA (HERO)
============================================ */
.capa {
  position: relative;
  height: 100vh;
  overflow: hidden;
  z-index: 1;
}

.capa-painel {
  position: relative;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding-top: 0px;
  z-index: 2;
}

.capa-conteudo {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  position: relative;
  z-index: 2;
  flex: 1;
}

.capa-titulo-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  transition: transform 0.3s ease;
  cursor: default;
  transform: translateZ(0);
  will-change: transform;
}

.capa-titulo-container:hover {
  transform: scale(1.01);
}

.capa-titulo-gigante {
  font-family: "Oswald", sans-serif;
  font-size: 140px;
  font-weight: 700;
  text-transform: uppercase;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    rgb(61, 139, 255) 50%,
    #6ab0ff 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 12px;
  line-height: 1;
  text-shadow: 0 0 80px rgba(61, 139, 255, 0.2);
  user-select: none;
  animation: brilhoNeon 2s ease-in-out infinite;
}

@keyframes brilhoNeon {
  0%,
  100% {
    text-shadow:
      0 0 30px rgba(61, 139, 255, 0.4),
      0 0 60px rgba(61, 139, 255, 0.2);
  }
  50% {
    text-shadow:
      0 0 50px rgba(61, 139, 255, 0.8),
      0 0 100px rgba(61, 139, 255, 0.4),
      0 0 150px rgba(61, 139, 255, 0.2);
  }
}

.capa-status-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 6px;
  font-family: "Questrial", sans-serif;
}

.capa-status-dot {
  width: 8px;
  height: 8px;
  background: #00ff88;
  border-radius: 50%;
  display: inline-block;
  animation: piscar 1.5s infinite;
  box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

@keyframes piscar {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
  }
  50% {
    opacity: 0.3;
    box-shadow: 0 0 5px rgba(0, 255, 136, 0.2);
  }
}

.capa-status-text {
  color: #00ff88;
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 700;
  text-transform: uppercase;
  animation: pulseTexto 2s ease-in-out infinite;
}

@keyframes pulseTexto {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
  }
  50% {
    text-shadow:
      0 0 40px rgba(0, 255, 136, 0.8),
      0 0 80px rgba(0, 255, 136, 0.3);
  }
}

.capa-status-badge {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  background: transparent;
  padding: 2px 12px;
  border-radius: 4px;
  letter-spacing: 1px;
}

.capa-titulo-sub {
  font-family: "Questrial", sans-serif;
  font-size: 24px;
  color: #c4c0d8;
  letter-spacing: 8px;
  text-transform: uppercase;
  margin-top: 4px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.8);
  font-weight: 300;
  -webkit-text-fill-color: #c4c0d8;
  animation: moverTexto 4s ease-in-out infinite;
}

@keyframes moverTexto {
  0%,
  100% {
    transform: translateX(0);
    letter-spacing: 8px;
  }
  50% {
    transform: translateX(15px);
    letter-spacing: 14px;
  }
}

.capa-subtitulo {
  font-size: 20px;
  color: #fff;
  letter-spacing: 4px;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
  font-weight: 300;
  max-width: 800px;
  text-align: center;
  padding: 0 20px;
  margin-top: 4px;
}

.capa-seta {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: fit-content;
  z-index: 4;
  opacity: 0.7;
  color: #ffffff;
  animation: saltar 2s infinite;
  cursor: pointer;
  transition: color 0.3s ease;
}

.capa-seta:hover {
  color: #3d8bff;
  opacity: 1;
}

@keyframes saltar {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ============================================
   MAIN & ANIMAÇÕES DE SCROLL
============================================ */
main {
  position: relative;
  z-index: 1;
  padding: 40px 0;
}

.aparecer {
  opacity: 0;
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, opacity;
}

.animar-subir {
  transform: translateY(40px);
}
.animar-subir.visivel {
  opacity: 1;
  transform: translateY(0);
}
.animar-descer {
  transform: translateY(-40px);
}
.animar-descer.visivel {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RODAPÉ
============================================ */
.rodape {
  background: rgba(13, 13, 26, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
}

.rodape-conteudo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.rodape-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.rodape-logo {
  font-family: "Oswald", sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 15px rgba(61, 139, 255, 0.3);
  letter-spacing: 2px;
}

.rodape-mensagem {
  font-size: 18px;
  color: #c4c0d8;
  line-height: 1.6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  max-width: 700px;
}

.rodape-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 24px;
  margin-top: 8px;
}

.rodape-links a {
  color: #c4c0d8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  transition: color 0.3s;
}

.rodape-links a:hover {
  color: #3d8bff;
}

.rodape-redes {
  display: flex;
  gap: 16px;
}

.rede-social {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #c4c0d8;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}

.rede-social:hover {
  color: #fff;
  background: linear-gradient(135deg, #3d8bff, #6ab0ff);
  transform: scale(1.1);
}

.rodape-uptime {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  padding: 16px 32px;
  background: rgba(61, 139, 255, 0.1);
  border: 1px solid rgba(61, 139, 255, 0.2);
  border-radius: 12px;
}

.rodape-uptime span:first-child {
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: #00ff88;
  letter-spacing: 1px;
}

.rodape-uptime span:last-child {
  font-size: 12px;
  color: #8a8aa5;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.rodape-direitos {
  color: #6e6e85;
  font-size: 14px;
  margin-top: 16px;
}

/* ============================================
   CARD "TOCANDO AGORA" (COMPACTO + AUTO-AJUSTÁVEL)
============================================ */
.now-playing-container {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.np-header {
  text-align: center;
  margin-bottom: 32px;
}

.live-badge {
  background: linear-gradient(135deg, #ff4757, #ff6b7a);
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  display: inline-block;
  margin-bottom: 12px;
  animation: pulseBadge 1.5s infinite;
  box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
}

@keyframes pulseBadge {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.np-header h2 {
  font-family: "Oswald", sans-serif;
  font-size: 32px;
  color: #fff;
  letter-spacing: 1px;
  margin: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.np-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.np-card {
  background: rgba(20, 20, 35, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(61, 139, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 18px;
  align-items: center;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
  animation: slideUp 0.5s ease-out;
  position: relative;
  overflow: hidden;
  min-height: 140px;
  contain: layout style paint;
}

.np-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #3d8bff, #00ff88, #3d8bff);
  background-size: 200% 100%;
  animation: shimmer 3s linear infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.np-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border-color: rgba(61, 139, 255, 0.4);
}

.np-cover-wrapper {
  position: relative;
  flex-shrink: 0;
}

.np-cover {
  width: 110px;
  height: 110px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  contain: layout style;
}

.np-card:hover .np-cover {
  transform: scale(1.05);
  border-color: rgba(61, 139, 255, 0.5);
  box-shadow: 0 12px 32px rgba(61, 139, 255, 0.3);
}

.np-cover-wrapper::after {
  content: "";
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2300ff88'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.3s;
}

.np-card:hover .np-cover-wrapper::after {
  opacity: 1;
}

.np-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow: hidden;
}

.np-info h3 {
  font-family: "Oswald", sans-serif;
  font-size: 24px;
  color: #fff;
  margin: 0;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.5px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.np-info p {
  color: #c4c0d8;
  font-size: 16px;
  margin: 0;
  font-weight: 500;
  line-height: 1.3;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.np-details {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: #8a8aa5;
  flex-wrap: wrap;
}

.np-album {
  color: #c4c0d8;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
}

.np-duration {
  background: rgba(61, 139, 255, 0.15);
  color: #6ab0ff;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  font-family: "Oswald", sans-serif;
}

.np-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #6e6e85;
  flex-wrap: wrap;
  margin-top: 6px;
}

.np-meta span {
  color: #8a8aa5;
  font-weight: 600;
  white-space: nowrap;
}

.np-meta-dot {
  width: 4px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}

.np-next-text {
  color: #00ff88 !important;
  font-weight: 700 !important;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.np-next-text::before {
  content: "▶";
  font-size: 9px;
  animation: pulseIcon 1.5s infinite;
}

@keyframes pulseIcon {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

.np-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(61, 139, 255, 0.1);
  border: 1px solid rgba(61, 139, 255, 0.3);
  border-radius: 8px;
  color: #6ab0ff;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
  margin-left: auto;
}

.np-link-btn:hover {
  background: rgba(61, 139, 255, 0.2);
  border-color: rgba(61, 139, 255, 0.6);
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(61, 139, 255, 0.3);
}

.np-link-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* ============================================
   RESPONSIVIDADE
============================================ */

/* Tablet e telas médias */
@media (max-width: 900px) {
  .capa-titulo-gigante {
    font-size: 100px;
    letter-spacing: 8px;
  }
  .capa-titulo-sub {
    font-size: 20px;
    letter-spacing: 6px;
  }
  .capa-subtitulo {
    font-size: 17px;
  }
  .rodape-mensagem {
    font-size: 16px;
  }
  .np-cards-grid {
    grid-template-columns: 1fr;
  }
  .np-card {
    padding: 16px;
    gap: 14px;
  }
  .np-cover {
    width: 100px;
    height: 100px;
  }
  .np-info h3 {
    font-size: 22px;
  }
  .np-info p {
    font-size: 15px;
  }
}

/* Mobile */
@media (max-width: 700px) {
  .menu-conteudo {
    padding: 0 16px;
  }
  .capa-titulo-gigante {
    font-size: 86px !important;
    letter-spacing: 6px !important;
  }
  .capa-titulo-sub {
    font-size: 22px !important;
    letter-spacing: 5px !important;
  }
  .capa-subtitulo {
    font-size: 18px !important;
    letter-spacing: 2px !important;
    padding: 0 20px !important;
  }
  .capa-seta {
    bottom: 16px;
  }
  .capa-seta svg {
    width: 28px;
    height: 28px;
  }
  .rodape-logo {
    font-size: 32px;
  }
  .rodape-mensagem {
    font-size: 15px;
  }
  .rodape-uptime span:first-child {
    font-size: 20px;
  }
}

/* Mobile pequeno */
@media (max-width: 480px) {
  .capa-titulo-gigante {
    font-size: 64px !important;
    letter-spacing: 4px !important;
  }
  .capa-titulo-sub {
    font-size: 18px !important;
    letter-spacing: 3px !important;
  }
  .capa-subtitulo {
    font-size: 16px !important;
    letter-spacing: 1px !important;
    padding: 0 10px !important;
  }
  .capa-seta {
    bottom: 12px;
  }
  .capa-seta svg {
    width: 24px;
    height: 24px;
  }
  .rodape-logo {
    font-size: 28px;
  }
  .rodape-mensagem {
    font-size: 14px;
  }
  .rodape-uptime {
    padding: 12px 24px;
  }
  .rodape-uptime span:first-child {
    font-size: 18px;
  }
  .np-header h2 {
    font-size: 26px;
  }
  .np-cover {
    width: 90px;
    height: 90px;
  }
  .np-info h3 {
    font-size: 20px;
  }
  .np-info p {
    font-size: 14px;
  }
  .np-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .np-meta-dot {
    display: none;
  }
}

/* ============================================
   OTIMIZAÇÕES MOBILE (PERFORMANCE)
============================================ */
@media (max-width: 768px) {
  /* 🔥 Background natural no mobile (sem animação que distorce) */
  body {
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center center !important;
    animation: none !important;
    will-change: auto !important;
  }

  body::before {
    animation: none !important;
    will-change: auto !important;
  }

  /* Cards otimizados */
  .np-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(20, 20, 35, 0.98) !important;
    will-change: auto !important;
  }

  .np-card,
  .np-cover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
  }

  .np-card::before {
    animation: none !important;
    background: linear-gradient(90deg, #3d8bff, #00ff88) !important;
  }

  .np-card,
  .np-cover,
  .np-link-btn {
    transition: none !important;
  }

  .np-card:hover {
    transform: none !important;
  }

  .np-card:hover .np-cover {
    transform: none !important;
  }

  .live-badge,
  .np-next-text::before {
    animation: none !important;
  }

  .menu {
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
  }
}

/* ============================================
   PREFERÊNCIA DE MOVIMENTO REDUZIDO 
============================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  body {
    background-size: cover;
    animation: none !important;
  }
}
