/* Tailwind handles most styling, but we'll add some specific custom animations and utilities here */

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: transparent; 
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1; 
    border-radius: 4px;
}
.dark ::-webkit-scrollbar-thumb {
    background: #475569; 
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8; 
}
.dark ::-webkit-scrollbar-thumb:hover {
    background: #64748b; 
}

/* Base custom utilities */
.glass {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

/* Reveal classes for JavaScript Intersection Observer */
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Typing cursor animation */
.type-cursor {
    display: inline-block;
    width: 3px;
    height: 1.1em;
    background-color: currentColor;
    vertical-align: middle;
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Animated gradient background blob */
.blob {
    position: absolute;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
    animation: floating 10s infinite ease-in-out alternate;
}

@keyframes floating {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(5%, 10%) scale(1.1); }
    100% { transform: translate(-5%, -5%) scale(0.9); }
}
