.rosa-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1), background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    z-index: 1000;
    box-shadow: 0 -2px 15px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.rosa-footer:hover {
    height: 260px;
    background: linear-gradient(315deg, 
        rgba(20, 20, 20, 0.95) 0%, 
        rgba(0, 0, 0, 0.97) 100%) !important;
}

.rosa-footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    padding: 20px 15px;
    opacity: 0;
    transition: opacity 0.3s 0.1s;
    transform: translateY(20px);
}

.rosa-footer:hover .rosa-footer-content {
    opacity: 1;
    transform: translateY(0);
}

.rosa-footer-section {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    backdrop-filter: blur(5px);
    transition: all 0.4s ease;
    perspective: 1000px;
    animation: rosa-sectionLoad 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.rosa-footer:hover .rosa-footer-section {
    color: #f8fafc;
}

.rosa-footer-section h5 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #f1f5f9;
    position: relative;
    padding-bottom: 0.3rem;
    overflow: hidden;
}

.rosa-footer-section h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 1.5px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    transition: width 0.6s 0.2s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.rosa-footer:hover .rosa-footer-section h5::after {
    width: 100%;
}

.rosa-footer-section ul {
    list-style: none;
    padding: 0;
}

.rosa-footer-section ul li {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: #e2e8f0;
    opacity: 0;
    transform: translateY(20px);
    animation: rosa-itemEntrance 0.6s forwards;
    animation-delay: calc(var(--i, 0) * 0.1s);
    position: relative;
    padding-left: 0.8rem;
    line-height: 1.4;
}

.rosa-footer-section ul li a {
    color: #e2e8f0;
    text-decoration: none;
    position: relative;
    padding: 4px 0;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-block;
}

.rosa-footer-section ul li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #34d399;
    transition: width 0.4s ease;
}

.rosa-footer-section ul li a:hover {
    color: white !important;
    transform: translateX(8px);
}

.rosa-footer-section ul li a:hover::before {
    width: 100%;
}

.rosa-footer-section ul li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #34d399;
    font-size: 0.8em;
    top: 50%;
    transform: translateY(-45%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.rosa-footer-section ul li:hover::before {
    opacity: 1;
}

.rosa-footer-bottom {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 0.5rem 1rem;
    background: #f8f9fa;
    color: #6b7280;
    font-size: 0.8rem;
    text-align: center;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rosa-footer-section:hover {
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3),
                0 0 0 1px rgba(255, 255, 255, 0.05);
}

.rosa-footer.expanded {
    height: 260px !important;
}

@keyframes rosa-itemEntrance {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes rosa-sectionLoad {
    from {
        opacity: 0;
        transform: rotateX(15deg) translateZ(50px);
    }
    to {
        opacity: 1;
        transform: rotateX(0) translateZ(0);
    }
}

@media (max-width: 768px) {
    .rosa-footer {
        position: relative !important;
        height: auto !important;
        background: linear-gradient(315deg, 
            rgba(20, 20, 20, 0.95) 0%, 
            rgba(0, 0, 0, 0.97) 100%) !important;
        box-shadow: none;
    }
    
    .rosa-footer-content {
        opacity: 1 !important;
        transform: none !important;
        padding: 20px 10px;
        grid-template-columns: 1fr;
    }
    
    .rosa-footer-section {
        padding: 1rem;
        margin: 0 0 1rem;
        text-align: left;
    }
    
    .rosa-footer-section ul li {
        font-size: 0.85rem;
        transform: none !important;
        animation: none !important;
        opacity: 1 !important;
    }
    
    .rosa-footer-bottom {
        position: relative;
        height: auto;
        padding: 8px 10px;
        font-size: 0.7rem;
    }
}

@media (pointer: coarse) {
    .rosa-footer-section {
        animation: none !important;
        transition: none !important;
    }
    
    .rosa-footer-section ul li {
        animation: none !important;
    }
}