@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-scale {
    animation: scaleIn 1s ease-out forwards;
}

.animate-slide-in {
    animation: slideIn 1s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.animate-hover {
    transition: transform 0.3s ease-out;
}

.animate-hover:hover {
    transform: translateY(-5px);
}

/* Staggered animations */
.container > * {
    opacity: 0;
}

.container > *:nth-child(1) { animation-delay: 0.2s; }
.container > *:nth-child(2) { animation-delay: 0.4s; }
.container > *:nth-child(3) { animation-delay: 0.6s; }
.container > *:nth-child(4) { animation-delay: 0.8s; }
.container > *:nth-child(5) { animation-delay: 1s; }

/* Ensure images are visible */
.container img {
    opacity: 1;
}

/* Apply animations to specific elements */
.container > h1,
.container > .image-container,
.container > p,
.container > h2,
.container > .aiko-links-container {
    animation: fadeInUp 1s ease-out forwards;
}

.container > .image-container {
    animation: fadeIn 1s ease-out forwards;
}

.aiko-avatar {
    animation: scaleIn 1s ease-out forwards;
}

/* Exclude .aiko-divider from animations */
.container > .aiko-divider {
    animation: none;
    opacity: 1;
}

.container > h1 {
    animation: none;
    opacity: 1;
}