/* === Base & Utilities === */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #0D0D0D;
    color: #ffffff;
}

/* === Particle Animation === */
.particle {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    animation: float-up linear infinite;
}

.particle-1 {
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #FF704A, transparent);
    left: 10%;
    bottom: -10px;
    animation-duration: 8s;
    animation-delay: 0s;
}

.particle-2 {
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #D4A843, transparent);
    left: 25%;
    bottom: -10px;
    animation-duration: 10s;
    animation-delay: 2s;
}

.particle-3 {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #FF9F7E, transparent);
    left: 50%;
    bottom: -10px;
    animation-duration: 7s;
    animation-delay: 1s;
}

.particle-4 {
    width: 5px;
    height: 5px;
    background: radial-gradient(circle, #E8C56D, transparent);
    left: 70%;
    bottom: -10px;
    animation-duration: 9s;
    animation-delay: 3s;
}

.particle-5 {
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, #FF5722, transparent);
    left: 85%;
    bottom: -10px;
    animation-duration: 11s;
    animation-delay: 0.5s;
}

@keyframes float-up {
    0% {
        opacity: 0;
        transform: translateY(0) scale(1);
    }
    10% {
        opacity: 0.8;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        opacity: 0;
        transform: translateY(-100vh) scale(0.5);
    }
}

/* === Scroll Reveal (progressive enhancement) === */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .scroll-reveal:not(.revealed) {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* === Navbar === */
.nav-scrolled {
    background: rgba(13, 13, 13, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(212, 168, 67, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-scrolled .mobile-link {
    color: #A3A3A3 !important;
}

/* === Custom Scrollbar === */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0D0D0D;
}
::-webkit-scrollbar-thumb {
    background: #2A2A2A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3A3A3A;
}

/* === Selection === */
::selection {
    background: rgba(255, 87, 34, 0.3);
    color: #ffffff;
}
