.tech-cloud {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
    perspective: 1000px;
}

.tech-item {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    color: var(--color);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    animation: float 3s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tech-item:hover {
    transform: scale(1.1) translateZ(20px);
    box-shadow: 0 0 20px var(--color);
}

.tech-item:nth-child(odd) {
    animation-delay: 0.5s;
}

.tech-item:nth-child(3n) {
    animation-delay: 1s;
}

.tech-item:nth-child(3n+1) {
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(5deg);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tech-cloud {
        width: 90%;
        gap: 10px;
    }
    
    .tech-item {
        font-size: 1rem;
        padding: 6px 12px;
    }
}

.tech-section {
    padding: 30px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.tech-section .section-title {
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
}

.tech-section::before {
    content: '';
    /* margin-top: 7vh; */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: 1100px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    z-index: 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark-theme .tech-section::before {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 5px 20px;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.tech-text {
    font-size: var(--size, 1rem);
    font-weight: var(--weight, 400);
    color: var(--color);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    opacity: var(--opacity, 0.8);
    transform: rotate(var(--rotate, 0deg));
    padding: 5px;
}

.tech-text:nth-child(1) { --size: 2rem; --weight: 700; --opacity: 1; }
.tech-text:nth-child(2) { --size: 1.7rem; --weight: 600; --rotate: -5deg; }
.tech-text:nth-child(3) { --size: 1.8rem; --weight: 600; --rotate: 5deg; }
.tech-text:nth-child(4) { --size: 1.5rem; --weight: 500; --rotate: -3deg; }
.tech-text:nth-child(5) { --size: 1.6rem; --weight: 600; }
.tech-text:nth-child(6) { --size: 1.4rem; --weight: 500; --rotate: 4deg; }
.tech-text:nth-child(7) { --size: 1.3rem; --weight: 400; --rotate: -4deg; }
.tech-text:nth-child(8) { --size: 1.7rem; --weight: 600; }
.tech-text:nth-child(9) { --size: 1.2rem; --weight: 400; --rotate: 3deg; }
.tech-text:nth-child(10) { --size: 1.5rem; --weight: 500; --rotate: -2deg; }
.tech-text:nth-child(11) { --size: 1.4rem; --weight: 500; }
.tech-text:nth-child(12) { --size: 1.3rem; --weight: 400; --rotate: 2deg; }
.tech-text:nth-child(13) { --size: 1.6rem; --weight: 600; --rotate: -3deg; }
.tech-text:nth-child(14) { --size: 1.2rem; --weight: 400; }
.tech-text:nth-child(15) { --size: 1.8rem; --weight: 600; --rotate: 4deg; }
.tech-text:nth-child(16) { --size: 1.5rem; --weight: 500; --rotate: -2deg; }
.tech-text:nth-child(17) { --size: 1.3rem; --weight: 400; }
.tech-text:nth-child(18) { --size: 1.4rem; --weight: 500; --rotate: 3deg; }
.tech-text:nth-child(19) { --size: 1.6rem; --weight: 600; --rotate: -4deg; }
.tech-text:nth-child(20) { --size: 1.5rem; --weight: 500; }

.tech-text:hover {
    transform: scale(1.2) rotate(0deg);
    opacity: 1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.tech-text::after {
    display: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tech-list {
        gap: 10px;
        padding: 10px;
        max-width: 100%;
    }
    
    .tech-text {
        --size: 1rem !important;
        --weight: 400 !important;
        --rotate: 0deg !important;
    }
}

