/* Custom Scrollbar for Dark Theme */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #0a0a0a; 
}
::-webkit-scrollbar-thumb {
    background: #262626; 
    border-radius: 5px;
    border: 2px solid #0a0a0a;
}
::-webkit-scrollbar-thumb:hover {
    background: #38bdf8; 
}

/* Glass Navigation Custom Class */
.glass-nav {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Active Nav Link Style */
.nav-link.active {
    color: #38bdf8;
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

/* --- NEW INTERACTIVE STYLES --- */

/* Typing Cursor */
.typing-cursor::after {
    content: '|';
    animation: blink 1s step-end infinite;
    color: #38bdf8;
}
@keyframes blink { 
    0%, 100% { opacity: 1; }
    50% { opacity: 0; } 
}

/* Scroll Reveal Animation Premium Polish */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* 3D Tilt Card Base */
.tilt-card {
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-style: preserve-3d;
    will-change: transform;
}

/* Toast Notification Premium */
.toast {
    position: fixed;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(14, 165, 233, 0.9);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 12px 32px;
    border-radius: 9999px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: bottom 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 100;
    box-shadow: 0 10px 40px -10px rgba(14, 165, 233, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.toast.show { 
    bottom: 40px; 
}