.skills-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 20px;
    justify-items: center;
}

.skill-card {
    margin: 1rem 0;
    position: relative;
    width: 140px;
    height: 140px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.level-fill {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: var(--level);
    background: linear-gradient(to top, rgba(168, 158, 201, 0.3), rgba(168, 158, 201, 0.1));
    z-index: 1;
    transition: height 1.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.level-percentage {
    position: absolute;
    top: 0;
    right: 8px;
    transform: translateY(-100%);
    
    font-size: 0.65rem;
    font-weight: bold;
    color: rgba(168, 158, 201, 0.8);
    pointer-events: none;
    font-family: monospace;
}


.skill-name {
    position: relative;
    z-index: 3;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.tech-tags {
    position: absolute;
    inset: 0; 
    display: flex;
    flex-wrap: wrap;
    align-content: space-between; 
    justify-content: space-between; 
    padding: 12px;
    z-index: 2;
}

.tech-tag {
    position: static;
    font-size: 0.6rem;
    width: 45%;
    opacity: 0.5;
}

.skill-card:hover {
    transform: scale(1.05);
    border-color: rgba(168, 158, 201, 0.5);
}