:root {
  /* Mantive as cores originais, mas a animação usará um gradiente de 4 cores no body */
  --primary: #B31515;    /* Vermelho vibrante */
  --secondary: #1C75BC;  /* Azul profundo */
  --highlight: #FFFFFF;
  --background: #fdfafa;
  --text: #2d2a3a;
  --radius: 12px;
  --glow-color: rgba(255, 255, 255, 0.4);
  /* Definição das cores para o novo gradiente animado (baseado no seu modelo) */
  --grad-color-1: #E40F1C; /* Vermelho mais vivo */
  --grad-color-2: #EACD00; /* Amarelo */
  --grad-color-3: #1478BD; /* Azul */
  --grad-color-4: #009339; /* Verde */
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  
  /* === MUDANÇAS PARA USAR A TÉCNICA DO SEU MODELO === */
  background-image: linear-gradient(
    50deg, 
    var(--grad-color-1) 0%, 
    var(--grad-color-2) 30%, 
    var(--grad-color-3) 70%, 
    var(--grad-color-4) 100%
  ) !important;
  background-size: 300% 300%; /* Tamanho do gradiente ampliado */
  
  /* Substituí colorMove pela nova animação animatedgradient */
  animation: fadeIn 1.5s ease-out forwards, animatedgradient 8s ease alternate infinite; 
  /* ================================================= */

  color: var(--highlight);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* === NOVA ANIMAÇÃO BASEADA NO SEU MODELO === */
@keyframes animatedgradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
/* =========================================== */


/* O restante do seu código CSS permanece o mesmo para manter o container e botões intactos. */

.container {
  text-align: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.15); 
  backdrop-filter: blur(8px);
  border-radius: 20px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  animation: pulseGlow 3s infinite ease-in-out, bounceIn 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  max-width: 90%;
}

@keyframes pulseGlow {
  0% { 
    transform: scale(1); 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); 
  }
  50% { 
    transform: scale(1.01);
    box-shadow: 0 0 40px var(--glow-color);
  }
  100% { 
    transform: scale(1); 
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3); 
  }
}

h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7); 
}

p {
  margin-bottom: 20px;
  font-size: 1.15rem;
  line-height: 1.6;
}

.small-text {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-top: 25px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
  margin-top: 30px;
}

.btn {
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 30px;
  background-color: var(--primary); 
  color: var(--highlight);
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn:hover {
  background-color: var(--highlight);
  color: var(--primary);
  border: 2px solid var(--highlight);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.btn {
    opacity: 0;
    animation: slideUp 0.8s ease-out forwards;
}

.btn:nth-child(2) { animation-delay: 0.1s; }
.btn:nth-child(3) { animation-delay: 0.2s; }

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes bounceIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 600px) {
    .container {
        padding: 30px 20px;
    }
    h1 {
        font-size: 2rem;
    }
    p {
        font-size: 1rem;
    }
    .btn {
        width: 100%;
    }
}