.about-wrapper {
    display: flex;
    gap: clamp(12px, 2vw, 32px);
    background-color: #2e3136;
    padding: clamp(16px, 3vh, 32px) clamp(14px, 2vw, 28px);
    border-radius: 15px;
    border: 1px solid #494949;
    width: clamp(300px, 90%, 900px);
    max-height: 95%;
}

.about-left {
    width: 40%;
    flex-shrink: 0;
}

.about-photo-wrap {
    width: clamp(80px, 50%, 180px);
    aspect-ratio: 1 / 1;
    background-color: #131727;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(20px, 5vw, 100px);
}

.about-name {
    color: #ffffff;
    font-size: clamp(18px, 2vw, 28px);
    margin: clamp(8px, 1.5vh, 16px) 0 4px 0;
}

.about-title {
    color: #4a7ede;
    white-space: nowrap;
    font-size: clamp(12px, 1.2vw, 16px);
    margin-bottom: clamp(10px, 2vh, 20px);
}

.about-section-label {
    font-size: clamp(14px, 1.5vw, 24px);
    color: #4a7ede;
    text-transform: uppercase;
    font-weight: bold;
}

.line_separate {
    background-color: #4a7ede;
    width: 100%;
    height: 2px;
    margin-top: clamp(8px, 2vh, 20px);
}

.about-skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(6px, 0.8vw, 10px);
    margin-top: clamp(8px, 1vh, 12px);
}

.skill-item {
    padding: clamp(4px, 0.5vh, 8px) clamp(8px, 0.8vw, 14px);
    background: #2e3136;
    border: 1px solid #4a7ede;
    color: #4a7ede;
    border-radius: 20px;
    font-size: clamp(11px, 1vw, 14px);
    transition: 0.2s;
}

.skill-item:hover {
    background: #4a7ede;
    color: #0f1115;
    transform: translateY(-2px);
}

.about-right {
    flex: 1;
    min-width: 0;
}

.about-bio-block {
    width: 100%;
}

.about-bio-text {
    margin-top: clamp(10px, 2vh, 20px);
    color: #a6a6a6;
    font-size: clamp(13px, 1.2vw, 16px);
    line-height: 1.5;
    width: 100%;
}

/* ── Планшеты (до 1024px) ── */
@media (max-width: 1024px) {
    .about-wrapper {
        width: 90%;
    }

    .about-left {
        width: 45%;
    }
}

/* ── Мобильные (до 640px) ── */
@media (max-width: 640px) {
    .about-wrapper {
        flex-direction: column;
        width: 92%;
    }

    .about-left {
        width: 100%;
    }

    .about-photo-wrap {
        width: clamp(80px, 30vw, 130px);
    }

    .about-title {
        white-space: normal;
    }

    .about-right {
        width: 100%;
    }
}

/* ── Очень маленькие (до 360px) ── */
@media (max-width: 360px) {
    .about-section-label {
        font-size: 13px;
    }

    .skill-item {
        font-size: 11px;
        padding: 4px 8px;
    }
}

/* ── Keyframes ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.85);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ── Анимации элементов ── */
.about-wrapper {
    animation: fadeUp 0.6s cubic-bezier(.22,1,.36,1) both;
}

.about-photo-wrap {
    animation: scaleIn 0.6s 0.15s cubic-bezier(.22,1,.36,1) both;
}

.about-name {
    animation: fadeLeft 0.5s 0.25s cubic-bezier(.22,1,.36,1) both;
}

.about-title {
    animation: fadeLeft 0.5s 0.35s cubic-bezier(.22,1,.36,1) both;
}

.about-skills-block {
    animation: fadeUp 0.5s 0.45s cubic-bezier(.22,1,.36,1) both;
}

.skill-item {
    animation: fadeUp 0.4s cubic-bezier(.22,1,.36,1) both;
}

.skill-item:nth-child(1)  { animation-delay: 0.50s; }
.skill-item:nth-child(2)  { animation-delay: 0.55s; }
.skill-item:nth-child(3)  { animation-delay: 0.60s; }
.skill-item:nth-child(4)  { animation-delay: 0.65s; }
.skill-item:nth-child(5)  { animation-delay: 0.70s; }
.skill-item:nth-child(6)  { animation-delay: 0.75s; }
.skill-item:nth-child(7)  { animation-delay: 0.80s; }
.skill-item:nth-child(8)  { animation-delay: 0.85s; }
.skill-item:nth-child(9)  { animation-delay: 0.90s; }
.skill-item:nth-child(10) { animation-delay: 0.95s; }
.skill-item:nth-child(11) { animation-delay: 1.00s; }

.about-right {
    animation: fadeRight 0.6s 0.2s cubic-bezier(.22,1,.36,1) both;
}