
    body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  background: linear-gradient(135deg, #2b1d1d, #4b2c5e, #6a4c93, #8b4513, #a0522d);
  color: white;
  text-align: center;
  overflow-x: hidden;
  position: relative;
}

header {
  padding: 40px 20px;
  animation: fadeIn 2s ease-in;
}

.shake-btn {
  background: linear-gradient(45deg, #ff69b4, #ffd700);
  border: none;
  color: white;
  padding: 10px 20px;
  font-size: 1.2em;
  border-radius: 25px;
  cursor: pointer;
  margin-top: 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  transition: transform 0.2s;
}

.shake-btn:hover {
  transform: scale(1.1);
}

h1 {
  font-size: 2.2em;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.card {
  margin: 20px auto;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  max-width: 600px;
  animation: slideIn 1s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}

.card:nth-child(1) { animation-delay: 0.5s; }
.card:nth-child(2) { animation-delay: 1s; }
.card:nth-child(3) { animation-delay: 1.5s; }
.card:nth-child(4) { animation-delay: 2s; }
.card:nth-child(5) { animation-delay: 2.5s; }
.card:nth-child(6) { animation-delay: 3s; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

#imagem2 {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  margin-top: 20px;
  transition: transform 0.3s;
}

#gif1 {
  transition: transform 0.3s, filter 0.3s;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

#gif1:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.snail {
  font-size: 40px;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

.video-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  margin-top: 15px;
  transition: border-color 0.3s;
}
#video {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
  margin-top: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  display: block;
  aspect-ratio: 16 / 9;  /* troca 21/9 por 16/9, que é o padrão de vídeo */
}
.letter {
  background: rgba(255,255,255,0.15);
  border: 2px solid #ffd700;
  font-style: italic;
}

.letter p {
  text-align: left;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

footer {
  margin-top: 30px;
  padding: 20px;
  font-size: 0.9em;
  opacity: 0.7;
  animation: fadeIn 2s ease-in 3s both;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.5em;
  }
  .card {
    margin: 10px;
    padding: 15px;
  }
  .shake-btn {
    font-size: 1em;
    padding: 8px 16px;
  }
  .snail {
    font-size: 30px;
  }
  .letter p {
    font-size: 0.9em;
  }
  /* Desabilitar animações pesadas no mobile */
  .card {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .snail {
    animation: none;
  }
}

/* Confetes */
.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  animation: fall 3s linear forwards;
  top: -10px;
  border-radius: 50%;
  box-shadow: 0 0 5px currentColor;
}

.confetti.star {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 10px solid currentColor;
  background: none;
  box-shadow: none;
}

.confetti.heart {
  width: 10px;
  height: 10px;
  background: currentColor;
  transform: rotate(45deg);
  border-radius: 0;
  box-shadow: none;
}

.confetti.heart::before,
.confetti.heart::after {
  content: '';
  width: 10px;
  height: 10px;
  position: absolute;
  left: 5px;
  top: 0;
  background: currentColor;
  border-radius: 5px 5px 0 0;
}

.confetti.heart::before {
  left: -5px;
  border-radius: 5px 0 0 5px;
}

@keyframes fall {
  to {
    transform: translateY(100vh) rotate(360deg);
  }
}

/* Estrelas piscando */
.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  animation: twinkle 2s infinite;
}

.star:nth-child(odd) {
  animation-delay: 1s;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

/* Shake animation vertical */
.shake-vertical {
  animation: shake-vertical 0.5s;
}

@keyframes shake-vertical {
  0%, 100% { transform: translateY(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateY(-10px); }
  20%, 40%, 60%, 80% { transform: translateY(10px); }
}

/* Glitter effect */
.glitter {
  position: absolute;
  width: 5px;
  height: 5px;
  background: radial-gradient(circle, #ffd700, #ff69b4);
  border-radius: 50%;
  animation: glitter-fall 3s linear forwards;
  top: -10px;
  box-shadow: 0 0 5px #ffd700;
}

@keyframes glitter-fall {
  to {
    transform: translateY(100vh) rotate(720deg);
    opacity: 0;
  }
}

/* Neve caindo */
.snowflake {
  position: absolute;
  top: -10px;
  color: white;
  font-size: 1em;
  animation: snowfall 10s linear infinite;
  pointer-events: none;
}

@keyframes snowfall {
  to {
    transform: translateY(100vh) rotate(360deg);
  }
}
