/* Additional custom styles */
.text-gradient {
    background: linear-gradient(90deg, #8B5CF6, #10B981);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.bg-gradient {
    background: linear-gradient(135deg, #8B5CF6, #10B981);
}

.bg-gradient-dark {
    background: linear-gradient(135deg, #0F172A, #1E293B);
}

.bg-gradient-accent {
    background: linear-gradient(135deg, #8B5CF6, #F59E0B);
}

.skill-bar {
    height: 8px;
    border-radius: 4px;
    background-color: #334155;
    overflow: hidden;
}

.skill-progress {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #8B5CF6, #10B981);
    width: 0;
    transition: width 1.5s ease-in-out;
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 2.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 60%;
    height: 4px;
    background: linear-gradient(90deg, #8B5CF6, #10B981);
    border-radius: 2px;
}

.hero-shape {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.nav-active {
    color: #8B5CF6;
    font-weight: 600;
}

.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.glow-text {
    animation: glow 2s ease-in-out infinite alternate;
}

.glass-effect {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.border-gradient {
    border: double 3px transparent;
    background-image: linear-gradient(#0F172A, #0F172A), linear-gradient(90deg, #8B5CF6, #10B981);
    background-origin: border-box;
    background-clip: padding-box, border-box;
}

.code-bg {
    background-color: #1a1a1a;
    background-image:
        radial-gradient(circle at 10% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 20%);
}
