/* Custom styles and overrides */
:root {
    --midnight-900: #040B1A;
    --midnight-950: #020610;
    --mint-400: #2DD4BF;
    --mint-350: #4ADE80;
}

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

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

::-webkit-scrollbar-track {
    background: var(--midnight-900);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--mint-400), #0F766E);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--mint-350);
}

/* Selection color */
::selection {
    background: var(--mint-400);
    color: var(--midnight-900);
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid var(--mint-400);
    outline-offset: 2px;
}

/* Animation keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(45, 212, 191, 0.3); }
    50% { box-shadow: 0 0 40px rgba(45, 212, 191, 0.6); }
}

/* Utility animations */
.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}
