/* Minimalist CSS */

/* --- 8-bit Pixel Art Cursor --- */
* {
    cursor: none !important;
}

#pixel-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 12px;
    height: 16px;
    pointer-events: none;
    z-index: 99999;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    background: url('img/cursor-arrow.svg') no-repeat center / contain;
    transition: opacity 0.15s, width 0.1s, height 0.1s;
    will-change: transform;
    -webkit-filter: drop-shadow(0 0 2px rgba(99, 102, 241, 0.5));
    filter: drop-shadow(0 0 2px rgba(99, 102, 241, 0.5));
}

#pixel-cursor.is-pointer {
    width: 16px;
    height: 18px;
    background-image: url('img/cursor-pointer.svg');
}

#pixel-cursor.is-text {
    width: 8px;
    height: 16px;
    background-image: url('img/cursor-text.svg');
}

::selection {
    background-color: #e5e7eb;
    color: #111827;
}

@media (prefers-color-scheme: dark) {
    ::selection {
        background-color: #374151;
        color: #f9fafb;
    }
}

/* Scroll reveal initial state */
.reveal {
    opacity: 0;
    transform: translateY(15px);
    transition: all 0.7s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 100ms;
}