/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Animación flotante para el objeto Beanstalk */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

.slide-up {
    animation: slideUp 0.8s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }

.hover-scale {
    transition: transform 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.03);
}

/* Estilos del objeto flotante Beanstalk */
.beanstalk-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1001;
    animation: float 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.beanstalk-footer {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--accent6), var(--accent3));
    color: var(--light);
    padding: 10px 15px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.9rem;
    border: 2px solid var(--light);
}

.beanstalk-footer:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, var(--primary), var(--accent2));
}

.beanstalk-logo {
    width: 30px;
    height: 30px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light);
    border-radius: 50%;
    padding: 4px;
}

.beanstalk-logo img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.beanstalk-footer span {
    white-space: nowrap;
}

/* Responsive para el objeto flotante */
@media (max-width: 768px) {
    .beanstalk-float {
        bottom: 15px;
        right: 15px;
    }
    
    .beanstalk-footer {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .beanstalk-logo {
        width: 25px;
        height: 25px;
        margin-right: 6px;
    }
}

@media (max-width: 576px) {
    .beanstalk-float {
        bottom: 10px;
        right: 10px;
    }
    
    .beanstalk-footer {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .beanstalk-logo {
        width: 22px;
        height: 22px;
        margin-right: 5px;
    }
}