/* Custom animations and styles for Biko Today About Page */

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

@keyframes glow {
    from { filter: drop-shadow(0 0 5px rgba(0, 163, 255, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(0, 163, 255, 0.8)); }
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes particle {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* Particle animation */
.particle {
    position: absolute;
    background: linear-gradient(45deg, #00A3FF, #F9DD4A, #FF7A30, #FF4FB7);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.7;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #00A3FF, #FF7A30);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #F9DD4A, #FF4FB7);
}

/* Glass morphism effects */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Neon glow effects */
.neon-glow-blue {
    box-shadow: 0 0 20px rgba(0, 163, 255, 0.3);
}

.neon-glow-orange {
    box-shadow: 0 0 20px rgba(255, 122, 48, 0.3);
}

.neon-glow-yellow {
    box-shadow: 0 0 20px rgba(249, 221, 74, 0.3);
}

.neon-glow-pink {
    box-shadow: 0 0 20px rgba(255, 79, 183, 0.3);
}

.neon-glow-green {
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

/* Hover effects */
.hover-lift:hover {
    transform: translateY(-5px);
}

/* Gradient text animations */
.gradient-text {
    background: linear-gradient(-45deg, #00A3FF, #F9DD4A, #FF7A30, #FF4FB7);
    background-size: 400% 400%;
    animation: gradient-shift 4s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Form focus effects */
input:focus, textarea:focus {
    box-shadow: 0 0 0 2px rgba(0, 163, 255, 0.2), 0 0 20px rgba(0, 163, 255, 0.1);
}

/* Button pulse effect */
.btn-pulse:hover {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #00A3FF;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive design improvements */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
    
    .card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark mode optimizations */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #000000;
        color: #ffffff;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}