@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.glitch-hover:hover {
    animation: glitch 0.3s cubic-bezier(.25,.46,.45,.94) both infinite;
}

.monolith-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-left: 0px solid transparent;
}

.monolith-card:hover {
    border-left: 4px solid var(--primary);
    background-color: var(--surface-container-high);
    transform: translateX(10px);
}

.terminal-cursor::after {
    content: '_';
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* Custom scrollbar for a more technological look */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: #0e0e0e;
}
::-webkit-scrollbar-thumb {
    background: #00C2CB;
}
::-webkit-scrollbar-thumb:hover {
    background: #5df1fa;
}
