/* === BASE === */
*, *::before, *::after { box-sizing: border-box; }

/* === FLOAT ANIMATIONS === */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

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

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

.animate-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1.5s;
}

/* === SCROLL REVEAL === */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-reveal="hidden"] {
    opacity: 0;
    transform: translateY(30px);
}

/* === SELECTION === */
::selection {
    background: rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

/* === SCROLLBAR === */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a0a1c;
}

::-webkit-scrollbar-thumb {
    background: #4f2656;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #683172;
}

/* === FOCUS === */
:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .reveal[data-reveal="hidden"] {
        opacity: 1;
        transform: none;
    }
}
