/* Fonte padrão */
@font-face {
  font-family: 'Marvin Round';
  src: url('./fonts/marvin-round.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Reset básico */
body {
  margin: 0;
  padding: 0;
  font-family: 'Marvin Round', sans-serif;
  background: url('./images/bg.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
}

/* Logo principal */
.main-logo img {
  display: block;
  margin: 0 auto 20px;
  width: 220px;
  height: auto;
}

/* Título */
.music h1 {
  font-size: 3rem;
  margin: -35px 0 20px 0;
  font-weight: bold; /* destaque */
  text-align: center;
}

/* Container do form */
.token-container {
  margin: 15px 0;
}

textarea {
  width: 380px;   /* mais largo */
  height: 32px;   /* mais baixo */
  border-radius: 12px;
  border: none;
  padding: 12px 8px 6px 8px;
  font-size: 0.95rem;
  text-align: center;
  font-family: 'Marvin Round', sans-serif;
  font-weight: normal;
  display: block;
  margin: 10px auto;
  resize: none;
}

textarea::placeholder {
  color: #555;         /* cor do texto do placeholder */
  font-weight: bold;   /* pode manter bold */
  text-transform: uppercase;
}

textarea:focus::placeholder {
  color: transparent;  /* some ao focar no campo */
}

/* Link dev */
#dev-link {
  font-size: 0.9rem;
  font-weight: normal;
  margin-top: 5px;
}

#dev-link a {
  color: #1DB954; /* verde Spotify */
  text-decoration: none;
}

#dev-link a:hover {
  text-decoration: underline;
}

/* Mensagem de erro */
.error-message {
  margin-top: 10px;
  color: #ff4d4d;
  font-size: 1rem;
  font-weight: bold;
  display: none; /* só aparece quando tiver erro */
}

button {
  margin-top: 15px;
  padding: 10px 20px;
  border: none;
  border-radius: 15px;
  background: #1DB954; /* verde Spotify */
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: bold;
  transition: all 0.3s ease; /* suaviza hover */
}

button:hover {
  background: #1ed760; /* tom mais claro */
  box-shadow: 0 0 12px rgba(30, 215, 96, 0.8), 0 0 24px rgba(30, 215, 96, 0.6); /* glow verdinho */
}

button img {
  filter: brightness(0) saturate(100%); /* transforma em preto */
}

/* Linha decorativa */
.decorative {
  margin-top: 200px;
  font-size: 1.3rem;
  opacity: 0.7;
  font-weight: normal;
}

/* Visit Shop (imagem deslizante) */
.visit-shop {
  position: absolute;
  right: 0;
  bottom: 60px;
  display: block;
  width: 160px;       /* tamanho inicial visível */
  height: 160px;      /* altura fixa */
  overflow: hidden;  /* esconde o resto */
  transition: width 0.4s ease;
  border-radius: 25px 0 0 25px; /* arredondado só à esquerda */
}

.visit-shop img {
  height: 120px; /* altura fixa */
  width: auto;  /* mantém proporção */
  display: block;
}

/* Quando passa o mouse */
.visit-shop:hover {
  width: 260px; /* mostra a imagem inteira (ajusta pro tamanho real do PNG) */
}
