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

body {
    overflow-x: hidden;
}

/* Scroll reveal — progressive enhancement, hidden by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* Mobile menu */
#mobileMenu a {
    display: block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(123, 45, 142, 0.1);
}

#mobileMenu a:last-child {
    border-bottom: none;
}

/* Floating cards animation */
@keyframes float1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}
@keyframes float2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}
@keyframes float3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-card-1 { animation: float1 4s ease-in-out infinite; }
.hero-card-2 { animation: float2 5s ease-in-out infinite; }
.hero-card-3 { animation: float3 4.5s ease-in-out infinite; }
.hero-card-4 { animation: float1 5.5s ease-in-out infinite; }

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #faf0fc;
}
::-webkit-scrollbar-thumb {
    background: #d782db;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7B2D8E;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-card-1, .hero-card-2, .hero-card-3, .hero-card-4 {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}
