/* Ajustes base */
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #121212;
  color: #ffffff;
  text-align: center;
}

/* Container de seções */
.intro,
.galeria,
.playlist,
.final,
.musicas-marcantes {
  padding: 50px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

button {
  background-color: #1f1f1f;
  color: #fff;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
  max-width: 90vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

button:hover {
  background-color: #333;
}

/* Fotos galeria */
.fotos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.fotos img {
  width: 300px;
  max-width: 90vw;
  height: auto;
  border-radius: 15px;
  border: 2px solid #ffffff44;
  cursor: pointer;
  transition: transform 0.3s;
}

.fotos img:hover {
  transform: scale(1.1);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 10;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  overflow-y: auto;
  padding: 20px 0;
}

.modal-conteudo {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 12px;
}
.fechar {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
  z-index: 20;
}

#descricao {
  color: #f1f1f1;
  font-size: 18px;
  margin-top: 20px;
  max-width: 90vw;
  margin-left: auto;
  margin-right: auto;
}

/* Canvas dos corações */
canvas#corações {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none;
  z-index: 1;
}

/* Músicas marcantes */
.musicas-marcantes {
  background: #1a1a1a;
  padding: 40px 20px;
  max-width: 1000px;
  margin: 0 auto 40px auto;
}

.musicas-marcantes h2 {
  margin-bottom: 30px;
  color: #ffb6c1;
  font-size: 24px;
}

.musica-card {
  background-color: #292929;
  border-radius: 15px;
  padding: 20px;
  margin: 20px auto;
  max-width: 300px;
  text-align: left;
  box-shadow: 0 0 10px #000;
}

.musica-card h3 {
  color: #ff69b4;
  margin-bottom: 10px;
  font-size: 18px;
}

.musica-card p {
  font-style: italic;
  margin-bottom: 10px;
  font-size: 16px;
}

.musica-card a {
  color: #ffffff;
  text-decoration: underline;
  font-size: 16px;
  word-break: break-word;
}

/* Seção playlist (iframe) */
.playlist iframe {
  max-width: 100%;
  width: 100%;
  height: 400px;
  border-radius: 12px;
  border: none;
}

/* Seção final */
.final button {
  max-width: 90vw;
}

.contador-amor {
  text-align: center;
  padding: 40px 20px;
  font-family: 'Arial', sans-serif;
  background-color: #ffe6f0;
  color: #d63384;
  font-size: 1.5em;
  margin-top: 40px;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
#tempo-juntos span {
  font-weight: bold;
}
/* Ajustes para telas pequenas */
@media (max-width: 480px) {
  h1 {
    font-size: 24px !important;
    max-width: 90vw !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h2 {
    font-size: 20px;
  }

  .musicas-marcantes h2 {
    font-size: 20px;
  }

  .musica-card {
    max-width: 90vw;
    padding: 15px;
    margin: 15px auto;
  }

  .musica-card h3,
  .musica-card p,
  .musica-card a {
    font-size: 14px;
  }

  button {
    padding: 12px 25px;
    font-size: 14px;
  }

  .fotos img {
    width: 210px;
    height: 300px;
  }

  .playlist iframe {
    height: 600px;
  }
}
