/* styles.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

html, body {
  width: 100%;
  overflow-x: hidden; /* 👈 ESSENCIAL */
}

body {
  height: 100vh;
  background: radial-gradient(circle at center, #1e3c5a, #0a1a2f);
  color: #ffffff;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 40px;
  overflow: hidden;
}

#particles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;   /* 👈 garante largura correta */
  height: 100vh;
  z-index: 0;
}

.container {
  margin: 0 auto;
  text-align: center;
  max-width: 900px;
  padding: 20px;
  z-index: 1;
}

.lang-switch {
  position: absolute;
  top: 15px;
  right: 15px;
}

.lang-switch button {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  margin-left: 5px;
  padding: 5px 10px;
  cursor: pointer;
}

.logo {
  width: 100%;
  max-width: 500px;
  margin-bottom: 20px;
  filter: drop-shadow(0 0 15px rgba(255,255,255,0.3));
}

.slogan {
  font-style: italic;
  margin-bottom: 25px;
}

.player {
  position: relative;
  margin: 25px auto;
  max-width: 400px;
}

.player iframe {
  width: 100%;
  height: 110px;
  border-radius: 10px;
}

.equalizer {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 8px;
}

.equalizer span {
  width: 4px;
  height: 15px;
  background: #00c8ff;
  animation: bounce 1s infinite ease-in-out;
}

.equalizer span:nth-child(2) { animation-delay: 0.2s; }
.equalizer span:nth-child(3) { animation-delay: 0.4s; }
.equalizer span:nth-child(4) { animation-delay: 0.6s; }
.equalizer span:nth-child(5) { animation-delay: 0.8s; }

@keyframes bounce {
  0%,100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1.5); }
}

.buttons {
  margin-top: 20px;
}

.btn {
  padding: 12px 22px;
  margin: 5px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  text-decoration: none;
}

footer {
  margin-top: 25px;
  font-size: 0.8rem;
  opacity: 0.6;
}

@media (max-width: 600px) {
  .logo { max-width: 90%; }
}