/* Skills Drag-Drop Simple Fix Styles */

.skills-main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 30px 20px;
    margin-top: 20px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 20px rgba(0, 128, 255, 0.1) inset;
    position: relative;
    overflow: hidden;
}

.skills-main-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--cyber-neon-blue), 
        var(--cyber-neon-purple),
        var(--cyber-neon-pink),
        transparent);
    animation: border-flow 4s linear infinite;
}

.skills-main-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--cyber-neon-pink),
        var(--cyber-neon-purple), 
        var(--cyber-neon-blue), 
        transparent);
    animation: border-flow 4s linear infinite reverse;
}

@keyframes border-flow {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

/* Reset tracer particles */
.reset-tracer-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000;
}

/* Pulse animation when icon is reset */
.reset-pulse {
    animation: reset-pulse 0.8s ease-out;
}

@keyframes reset-pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(var(--cyber-accent-rgb), 0); }
    50% { transform: scale(1.2); box-shadow: 0 0 15px rgba(var(--cyber-accent-rgb), 0.7); }
    100% { transform: scale(1); box-shadow: 0 0 0 rgba(var(--cyber-accent-rgb), 0); }
}

/* Flash animation for the container when reset is complete */
.reset-flash {
    animation: reset-flash 0.5s ease-out;
}

@keyframes reset-flash {
    0% { box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
    50% { box-shadow: 0 0 30px rgba(255, 255, 255, 0.3) inset; }
    100% { box-shadow: 0 0 0 rgba(255, 255, 255, 0); }
}

/* Make the skill icons look more uniform in the new container */
.skills-main-container .skill-icon {
    margin: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.skills-main-container .skill-icon:hover {
    transform: translateY(-5px);
}
