@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&display=swap');

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', 'Montserrat', sans-serif;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #121212;
  overflow: hidden;
}

/* Camada de background */
.background-layer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay escuro */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

/* Card principal */
.card {
  width: 100%;
  max-width: 500px;
  padding: 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Avatar */
.avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  margin-bottom: 1.5rem;
  animation: popIn 0.6s ease-out 0.2s forwards;
  opacity: 0;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Textos */
h2 {
  color: #ffffff;
  font-size: 2rem;
  margin: 0.5rem 0;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  animation: fadeIn 0.6s ease-in 0.4s forwards;
  opacity: 0;
  overflow-wrap: break-word;
}

p {
  color: #dddddd;
  font-size: 1.1rem;
  margin: 1rem 0;
  line-height: 1.5;
  animation: fadeIn 0.6s ease-in 0.6s forwards;
  opacity: 0;
  overflow-wrap: break-word;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Redes sociais */
.socials {
  margin: 1.5rem 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeIn 0.6s ease-in 0.8s forwards;
  opacity: 0;
}

.socials a img {
  width: 32px;
  height: 32px;
  transition: transform 0.3s;
  filter: drop-shadow(1px 1px 3px rgba(0, 0, 0, 0.7));
}

.socials a img:hover {
  transform: translateY(-5px);
}

/* Players de música */
.music-container {
  width: 100%;
  max-width: 500px;
  margin-top: 1rem;
  animation: fadeIn 0.6s ease-in 1s forwards;
  opacity: 0;
}

/* YouTube (proporção 16:9) */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Spotify (altura fixa) */
.spotify-container {
  width: 100%;
  height: 80px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.spotify-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsividade */
@media (max-width: 600px) {
  .card {
    padding: 1.5rem;
  }
  
  .avatar {
    width: 120px;
    height: 120px;
  }
  
  h2 {
    font-size: 1.7rem;
  }
  
  p {
    font-size: 1rem;
  }
  
  .socials a img {
    width: 28px;
    height: 28px;
  }

  .spotify-container {
    height: 70px;
  }
}

@media (max-width: 400px) {
  .avatar {
    width: 100px;
    height: 100px;
  }
  
  h2 {
    font-size: 1.5rem;
  }
}

/* Home button */
.home-button {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 100;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.home-button:hover {
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.home-button svg {
  width: 24px;
  height: 24px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .home-button {
    width: 36px;
    height: 36px;
    top: 15px;
    right: 15px;
  }
  
  .home-button svg {
    width: 20px;
    height: 20px;
  }
}