.tech-stack-container {
    position: relative;
    width: 70%;
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    overflow: hidden;
}

.tech-stack-title {
    text-align: center;
    color: rgba(60, 60, 60, 0.95);
    font-size: 2em;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
    font-weight: 600;
    letter-spacing: 2px;
}

.tech-stack-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 182, 193, 0.7), 
        transparent
    );
}

.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    padding: 15px 0;
}

.tech-category {
    position: relative;
    padding: 15px;
}

.category-title {
    font-size: 1.1em;
    color: rgba(60, 60, 60, 0.9);
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-icon {
    font-size: 1.2em;
    opacity: 0.9;
}

.tech-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-item {
    position: relative;
}

.tech-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    color: rgba(60, 60, 60, 0.9);
}

.tech-name {
    font-size: 0.9em;
    font-weight: 500;
}

.tech-percentage {
    font-size: 0.85em;
    opacity: 0.8;
}

.tech-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.tech-bar {
    height: 100%;
    border-radius: 3px;
    position: relative;
    animation: fillBar 1.5s ease forwards;
    background: linear-gradient(90deg,
        rgba(255, 182, 193, 0.7),
        rgba(255, 218, 224, 0.9)
    );
}

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

/* 鼠标悬浮效果 */
.tech-item:hover .tech-bar {
    transform: scaleY(1.2);
    transition: transform 0.3s ease;
}

.tech-item:hover .tech-name {
    color: rgba(40, 40, 40, 1);
    transition: color 0.3s ease;
}

/* 装饰性动画 */
@keyframes fillBar {
    from { width: 0; }
    to { width: var(--percentage); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 装饰性光效 */
.tech-stack-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at center,
        rgba(255, 182, 193, 0.1) 0%,
        transparent 70%
    );
    animation: rotateLight 15s linear infinite;
    pointer-events: none;
}

@keyframes rotateLight {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tech-stack-container {
        width: 90%;
        padding: 20px;
    }
    
    .tech-stack-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-category {
        padding: 12px;
    }
    
    .category-title {
        font-size: 1em;
    }
    
    .tech-name {
        font-size: 0.85em;
    }
} 