/* Glass morphism effect */
.glass {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animated background */
body {
    background: linear-gradient(-45deg, #0a0a0f, #1a1a2e, #16213e, #0f1419);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
}

/* Floating particles */
.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 212, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.particle:nth-child(1) { top: 20%; left: 20%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 80%; animation-delay: 2s; }
.particle:nth-child(3) { top: 80%; left: 40%; animation-delay: 4s; }
.particle:nth-child(4) { top: 40%; left: 70%; animation-delay: 1s; }
.particle:nth-child(5) { top: 10%; left: 90%; animation-delay: 3s; }

/* Enhanced progress bars */
.progress-bar {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Improved timeline */
.timeline-line::before {
    content: '';
    position: absolute;
    left: 13px;
    top: 16px;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #00d4ff, #ff6b6b);
    border-radius: 2px;
}

.timeline-dot::before {
    content: '';
    position: absolute;
    left: -30px;
    top: 3px;
    width: 12px;
    height: 12px;
    border: 2px solid #00d4ff;
    background: #1a1a2e;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Enhanced cards */
.card-hover {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.15);
}

/* Typing effect */
.typewriter {
    overflow: hidden;
    border-right: 3px solid #00d4ff;
    white-space: nowrap;
    margin: 0 auto;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #00d4ff; }
}

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

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00d4ff, #ff6b6b);
    border-radius: 10px;
}

/* Skill level indicators */
.skill-dot {
    width: 8px;
    height: 8px;
    margin: 0 1px;
    transition: all 0.3s ease;
}

.skill-dot.active {
    background: #00d4ff;
    box-shadow: 0 0 8px rgba(0, 212, 255, 0.6);
}

/* Notification styles */
.notification {
    animation: slideDown 0.4s ease-out, fadeOut 0.4s ease-in 2.6s;
}

@keyframes slideDown {
    from { transform: translate(-50%, -100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Floating hire button */
.hire-btn {
    background: linear-gradient(135deg, #ff6b6b, #ff8a65);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
    animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
}

/* Enhanced profile picture */
.profile-gradient {
    background: linear-gradient(135deg, #00d4ff, #ff6b6b, #9c27b0);
    background-size: 200% 200%;
    animation: gradient 3s ease infinite;
}

/* Sparkle effects */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #00d4ff;
    border-radius: 50%;
    animation: sparkle 1.5s ease-in-out infinite;
}

.sparkle:nth-child(1) { top: 20px; right: 20px; animation-delay: 0s; }
.sparkle:nth-child(2) { bottom: 20px; left: 20px; animation-delay: 0.5s; }
.sparkle:nth-child(3) { top: 50%; right: 10px; animation-delay: 1s; }

/* Mobile menu animation */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Navigation styles */
.nav-link {
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #ff6b6b);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active::after {
    width: 100%;
}