/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Corpo e fundo */
body.carta-body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #fff0f5;
  color: #333;
  text-align: center;
  overflow-x: hidden;
  padding: 2rem 1rem;
  position: relative;
  min-height: 100vh;
}

/* Carta centralizada */
.carta {
  background: #fff;
  max-width: 600px;
  margin: 4rem auto 2rem;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(255, 105, 180, 0.3);
  font-size: 1.25rem;
  line-height: 1.8;
  position: relative;
  z-index: 1;
}

/* Título */
.carta h1 {
  color: #ff4d6d;
  margin-bottom: 1.5rem;
  font-size: 2rem;
}

/* Botão estilizado */
.botao-link {
  text-align: center;
  margin: 2rem 0 3rem;
}

.btn {
  background-color: #ff69b4;
  color: white;
  padding: 1rem 2.2rem;
  border-radius: 30px;
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(255, 105, 180, 0.5);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  user-select: none;
}

.btn:hover {
  background-color: #ff85c1;
  transform: scale(1.07);
}

/* Seta animada */
.btn .seta {
  font-size: 1.4rem;
  transition: transform 0.3s ease;
}

.btn:hover .seta {
  transform: translateX(8px);
}

/* Container dos corações */
.coracoes-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

/* Coração */
.heart {
  position: absolute;
  color: #ff4d6d;
  font-size: 22px;
  animation: floatUp 5s linear forwards;
  opacity: 0.8;
}

/* Animação do coração subindo */
@keyframes floatUp {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translateY(-110vh) scale(1.5);
    opacity: 0;
  }
}

/* Responsivo */
@media (max-width: 768px) {
  .carta {
    margin: 3rem 1rem 2rem;
    font-size: 1.1rem;
  }

  .btn {
    width: 90%;
    font-size: 1rem;
  }
}
