/* 
  Next-Gen Styling
  Focused on 3D effects, hardware-accelerated animations, and glow.
*/

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
    background-color: #050505;
}

/* Custom Selection */
::selection {
    background: #00f0ff;
    color: #050505;
}

/* 
  Perspective for 3D Tilt 
*/
.perspective-1000 {
    perspective: 1000px;
}

/* 
  Staggered Fade In Up Animation
*/
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0; /* start hidden */
}

/* 
  Modal Animations 
*/
.modal-active #modalBackdrop {
    display: block;
    opacity: 1;
}

.modal-active #modalContent {
    transform: scale(1);
    opacity: 1;
}

/* Cyberpunk Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #050505;
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #00f0ff;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}
