/* Minimal AI-Themed Effects */

/* Scanning Animation for Cards */
@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.project-card::after,
.skill-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: none;
    z-index: 2;
}

.project-card:hover::after,
.skill-card:hover::after {
    animation: scan 1.5s ease-out;
}

/* Holographic Border Effect */
.project-card,
.skill-card,
.stat-card {
    position: relative;
}

.project-card::before,
.skill-card::before,
.stat-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(45deg, transparent, rgba(0, 212, 255, 0.3), transparent);
    border-radius: inherit;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.project-card:hover::before,
.skill-card:hover::before,
.stat-card:hover::before {
    opacity: 1;
}

/* Neural Network Glow */
#particles-js {
    filter: drop-shadow(0 0 3px rgba(0, 212, 255, 0.3));
}

/* AI Brain Responsive */
@media (max-width: 768px) {
    #ai-brain {
        display: none !important;
    }
}

/* Circuit Board Patterns */
.circuit-divider {
    filter: drop-shadow(0 0 2px rgba(0, 212, 255, 0.3));
}

.circuit-divider .node {
    transition: all 0.3s ease;
}

/* Digital Signature Styles */
.compile-cursor {
    display: inline-block;
    margin-left: 2px;
}

/* Mobile Responsiveness for AI Features */
@media (max-width: 768px) {
    .circuit-divider {
        display: none;
    }
}

/* Subtle Pulse for Interactive Elements */
@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 212, 255, 0.2); }
    50% { box-shadow: 0 0 15px rgba(0, 212, 255, 0.4); }
}

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