.section-aboutme {
    background-color: #fdfaf9;
}

.aboutme__title {
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1e1e1e;
}
/* GRID */
.aboutme__container {
    display: grid;
    grid-template-columns: 1.2fr 1fr 0.8fr;
    gap: 40px;
}
/* PERFIL */
.aboutme__perfil {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.aboutme__avatar {
    width: 140px;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}
/* ========================= */
/* CV CARD */
/* ========================= */
.cv-card {
    background: linear-gradient(135deg, #6a5cff, #8b5cf6);
    border-radius: 16px;
    padding: 25px;
    color: #fff;
    position: relative;
    overflow: hidden;
    animation: floatCard 3s ease-in-out infinite;
}
/* EFECTO ANIMADO */
@keyframes floatCard {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}
/* PAUSAR ANIMACION */
.cv-card:hover {
    animation-play-state: paused;
}
/* BRILLO SUAVE */
.cv-card::before {
    content: "";
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2), transparent);
    top: -50%;
    left: -50%;
    transform: rotate(25deg);
}
/* CONTENIDO */
.cv-card__content {
    position: relative;
    z-index: 2;
}
.cv-card__title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}
.cv-card__subtitle {
    font-size: 14px;
    margin-bottom: 10px;
    opacity: 0.9;
}
.cv-card__text {
    font-size: 13px;
    margin-bottom: 15px;
    opacity: 0.85;
}
/* BOTON */
.cv-card__btn {
    display: inline-block;
    background: #fff;
    color: #6a5cff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}
.cv-card__btn:hover {
    transform: scale(1.08);
    background: #f3f3f3;
}
/* SKILLS */
.skills__title {
    font-size: 20px;
    margin-bottom: 20px;
}
.skills__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.skill__top {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}
.skill__bar {
    width: 100%;
    height: 8px;
    background-color: #eee;
    border-radius: 10px;
    overflow: hidden;
}
.skill__progress {
    height: 100%;
    border-radius: 10px;
    transition: width 0.5s ease;
}
/* COLORES REALES */
.skill__progress.html { width: 90%; background: #e34c26; }
.skill__progress.css { width: 85%; background: #264de4; }
.skill__progress.js { width: 60%; background: #f7df1e; }
.skill__progress.php { width: 85%; background: #777bb3; }
.skill__progress.mysql { width: 70%; background: #00758f; }
.skill__progress.python { width: 60%; background: #3776ab; }
/* ========================= */
/* EFECTO GENERAL SKILL */
/* ========================= */
.skill {
    transition: all 0.3s ease;
    padding: 8px 10px;
    border-radius: 10px;
}
.skill:hover {
    background: rgba(0,0,0,0.02);
    transform: translateX(5px);
}
/* ========================= */
/* BARRA ANIMADA */
/* ========================= */
.skill__progress {
    height: 100%;
    border-radius: 10px;
    position: relative;
    animation: loadBar 1.5s ease forwards;
    overflow: hidden;
}
/* ANIMACION DE CARGA */
@keyframes loadBar {
    from {
        width: 0;
    }
}
/* ========================= */
/* EFECTO BRILLO */
/* ========================= */

.skill__progress::after {
    content: "";
    position: absolute;
    top: 0;
    left: -50%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255,255,255,0.1),
        rgba(255,255,255,0.5),
        rgba(255,255,255,0.1)
    );
    animation: shine 2s infinite;
}
/* ANIMACION BRILLO */
@keyframes shine {
    0% {
        left: -50%;
    }
    100% {
        left: 120%;
    }
}
/* PAUSAR BRILLO EN HOVER */
.skill:hover .skill__progress::after {
    animation-play-state: paused;
}
/* ========================= */
/* PORCENTAJE */
/* ========================= */
.skill__percent {
    font-weight: 600;
    transition: all 0.3s ease;
}
/* EFECTO HOVER */
.skill:hover .skill__percent {
    transform: scale(1.1);
    color: #6a5cff;
}
.skill:active,
.skill:focus {
    background: rgba(0,0,0,0.02);
    transform: translateX(5px);
}
.skill:active .skill__percent,
.skill:focus .skill__percent {
    transform: scale(1.1);
    color: #6a5cff;
}
.skill:active .skill__progress::after,
.skill:focus .skill__progress::after {
    animation-play-state: paused;
}
/* HOBBIES */
.hobbies__title {
    font-size: 20px;
    margin-bottom: 20px;
}
.hobbies__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.hobby {
    background: #fff;
    padding: 12px;
    border-radius: 10px;
    font-size: 14px;
    text-align: center;
    border: 1px solid #eee;
    transition: all 0.3s ease;
}
.hobby:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}
/* ========================= */
/* RESPONSIVE */
/* ========================= */
@media (max-width: 1024px) {
    .aboutme__container {
        grid-template-columns: 1fr 1fr;
    }

    .aboutme__hobbies {
        grid-column: span 2;
    }
}
@media (max-width: 900px) {
    .aboutme__title {
        font-size: 28px;
    }
    .hobbies__title,
    .skills__title {
        font-size: 19px;
    }

    .hobby {
        font-size: 13px;
    }
    .cv-card__title {
        font-size: 17px;
    }
    .cv-card__subtitle {
        font-size: 13.5px;
    }
    .cv-card__btn {
        font-size: 12.5px;
    }
}
@media (max-width: 650px) {
    .aboutme__container {
        grid-template-columns: 1fr 1fr;
    }

    .aboutme__skills,
    .aboutme__hobbies {
        width: 100%;
    }

    .section-aboutme {
        padding: 40px 20px;
    }

    .aboutme__title {
        font-size: 26px;
    }
    .hobbies__title,
    .skills__title {
        font-size: 18px;
    }
    .aboutme__avatar {
        width: 110px;
    }

    .skill__top {
        font-size: 12px;
    }
    .hobby {
        font-size: 12.5px;
    }
    .cv-card__title {
        font-size: 16px;
    }
    .cv-card__subtitle {
        font-size: 13px;
    }
    .cv-card__btn {
        font-size: 12px;
    }
}
@media (max-width: 550px) {
    .aboutme__container {
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    .aboutme__perfil,
    .aboutme__skills,
    .aboutme__hobbies {
        width: 100%;
    }
}
@media (max-width: 400px) {
    .aboutme__title {
        font-size: 24px;
    }
}