/* Animações Gerais */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Animações do Timer */
.tempo-item.animate {
    animation: pulse 0.5s ease-in-out;
}

/* Animações do Carrossel */
.swiper-slide {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.swiper-slide-active {
    opacity: 1;
}

/* Animações das Mensagens */
.mensagem-card {
    animation: slideUp 0.5s ease-out;
}

.reacao-adicionada {
    position: absolute;
    animation: reacaoEntrada 0.5s ease-out, reacaoSaida 0.5s ease-in 2s forwards;
}

@keyframes reacaoEntrada {
    from { transform: scale(0); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes reacaoSaida {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(0); opacity: 0; }
}

/* Animações dos Vales */
.vale-card {
    transition: transform 0.3s ease-out;
}

.vale-card:hover {
    transform: translateY(-5px);
}

.vale-card.animando {
    animation: pulse 1s ease-in-out;
}

.confete {
    position: absolute;
    width: 10px;
    height: 10px;
    animation: confeteFall 3s ease-in-out forwards;
}

@keyframes confeteFall {
    0% { transform: translateY(-100%) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
}

/* Animações da Timeline */
.timeline-item {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Animações do Easter Egg */
.easter-egg.pulse {
    animation: pulse 0.3s ease-in-out;
}

.easter-egg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.easter-egg-overlay.visible {
    opacity: 1;
}

.carta-amor {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

.carta-amor.visible {
    transform: scale(1);
    opacity: 1;
}

.particula {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    animation: particulaFloat 2s ease-in-out infinite;
}

@keyframes particulaFloat {
    0% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
    100% { transform: translateY(0) rotate(360deg); }
}

/* Animações da História */
.historia-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.historia-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.historia-item:nth-child(even) {
    transform: translateX(30px);
}

.historia-item:nth-child(even).visible {
    transform: translateX(0);
}

.historia-content {
    transition: transform 0.3s ease-out;
}

.historia-content:hover {
    transform: translateY(-5px);
}

/* Animações de Loading */
.loading {
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
} 