body {
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 100vh;
    width: 100%;
    max-width: 100vw;
}

.skills-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 60px 40px;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
    gap: 60px;
    width: 100%;
}

.skills-left {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skills-wrapper {
    max-width: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: flex-start;
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skills-header {
    text-align: left;
    margin-bottom: 30px;
    width: 100%;
}

.skills-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.skills-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    font-weight: 500;
}

.skills-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-category {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.category-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent-purple);
    margin-bottom: 0;
    text-align: left;
    flex-shrink: 0;
    min-width: 140px;
    white-space: nowrap;
}

.skills-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex: 1;
}

.skill-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
    cursor: pointer;
    width: auto;
    height: auto;
}

.skill-item:hover {
    transform: translateY(-3px);
}

.skill-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
    display: block;
}

.skill-item:hover .skill-icon {
    transform: scale(1.1);
}

.skill-name {
    display: none;
}

.skills-right {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    padding-top: 20px;
}

/* Lottie Animation Container */
.lottie-container {
    width: 100%;
    max-width: 500px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.lottie-container svg {
    width: 100% !important;
    height: 100% !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .skills-container {
        flex-direction: column;
        gap: 40px;
        padding: 100px 40px 40px;
        align-items: stretch;
    }

    .skills-left {
        width: 100%;
    }

    .skills-wrapper {
        width: 100%;
        gap: 25px;
    }

    .skills-header {
        margin-bottom: 20px;
    }

    .skills-content {
        gap: 25px;
    }

    .skill-category {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 0;
    }

    .category-title {
        margin-bottom: 0;
        min-width: auto;
        width: 100%;
    }

    .skills-grid {
        width: 100%;
        justify-content: flex-start;
    }

    .skills-right {
        padding-top: 0;
        width: 100%;
        min-height: 350px;
    }

    .lottie-container {
        max-width: 100%;
        height: 350px;
    }
}

@media (max-width: 768px) {
    .skills-container {
        padding: 90px 30px 30px;
        gap: 35px;
    }

    .skills-wrapper {
        gap: 20px;
    }

    .skills-header {
        margin-bottom: 18px;
    }

    .skills-title {
        font-size: 32px;
        line-height: 1.2;
    }

    .skills-subtitle {
        font-size: 14px;
    }

    .skills-content {
        gap: 20px;
    }

    .skill-category {
        gap: 10px;
    }

    .category-title {
        font-size: 18px;
        margin-bottom: 0;
    }

    .skills-grid {
        gap: 10px;
    }

    .skill-item {
        touch-action: manipulation;
    }

    .skill-icon {
        width: 44px;
        height: 44px;
    }

    .skills-right {
        min-height: 280px;
    }

    .lottie-container {
        height: 280px;
    }
}

@media (max-width: 480px) {
    .skills-container {
        padding: 80px 20px 25px;
        gap: 30px;
    }

    .skills-wrapper {
        gap: 18px;
    }

    .skills-header {
        margin-bottom: 15px;
    }

    .skills-title {
        font-size: 28px;
        line-height: 1.1;
        margin-bottom: 6px;
    }

    .skills-subtitle {
        font-size: 13px;
    }

    .skills-content {
        gap: 18px;
    }

    .skill-category {
        gap: 8px;
    }

    .category-title {
        font-size: 16px;
        margin-bottom: 0;
    }

    .skills-grid {
        gap: 8px;
        justify-content: center;
    }

    .skill-icon {
        width: 42px;
        height: 42px;
    }

    .skills-right {
        min-height: 220px;
    }

    .lottie-container {
        height: 220px;
    }
}

@media (max-width: 360px) {
    .skills-title {
        font-size: 24px;
    }

    .skills-subtitle {
        font-size: 12px;
    }

    .category-title {
        font-size: 15px;
    }

    .skill-icon {
        width: 38px;
        height: 38px;
    }

    .skills-grid {
        gap: 6px;
    }

    .lottie-container {
        height: 200px;
    }
}

