@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.animate-on-scroll {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}
.animate-on-scroll.slide-left {
    animation: slideInLeft 0.8s ease-out forwards;
}
.animate-on-scroll.slide-right {
    animation: slideInRight 0.8s ease-out forwards;
}
.loading {
    opacity: 0.7;
    pointer-events: none;
}
.btn:focus,
.nav-link:focus,
.social-link:focus {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}
@media (prefers-contrast: high) {
    :root {
        --text-secondary: #ffffff;
        --border-color: #333333;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .hero-title { animation: none; opacity: 1; }
    .scroll-progress { display: none; }
}

@supports (animation-timeline: view()) {
    .show-card,
    .member-card,
    .social-link {
        animation: scrollReveal linear both;
        animation-timeline: view();
        animation-range: entry 0% entry 40%;
    }
    @keyframes scrollReveal {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }
}
