@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

#threejs-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    outline: none;
}

#voice-feedback {
    transition: all 0.3s ease;
}

#micToggle.active {
    background-color: #ef4444;
    animation: pulse 1.5s infinite;
}

#micToggle.active:hover {
    background-color: #dc2626;
}
/* Grid styles */
.grid-helper {
    position: absolute;
    opacity: 0.3;
}

/* Custom scrollbar for sidebar */
aside::-webkit-scrollbar {
    width: 6px;
}

aside::-webkit-scrollbar-track {
    background: #3f3f46;
}

aside::-webkit-scrollbar-thumb {
    background: #71717a;
    border-radius: 3px;
}
aside::-webkit-scrollbar-thumb:hover {
    background: #a1a1aa;
}
aside {
    transition: transform 0.3s ease;
    transform: none !important;
}
