#aboutMe {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 80px 50px;
    text-align: center;
    background: radial-gradient(circle at 30% 20%, #1a001f, transparent 50%),
                radial-gradient(circle at 70% 80%, #290028, transparent 50%),
                #000;
    position: relative;
    overflow: hidden;
}

.aboutMe-container {
    display: flex;
    gap: 150px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    width: 100%;
    position: relative;
    padding-left: 60px;
    z-index: 2;
}

.left-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.photo-container {
    margin-bottom: 20px;
    animation: rotateIn 1.5s ease-in-out, popIn 1s ease-in-out forwards;
    filter: drop-shadow(0 0 15px rgba(255, 0, 127, 0.4));
}

.photo {
    width: 240px;
    height: 240px;
    margin-top: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ff007f;
    box-shadow: 0 0 25px rgba(255, 0, 127, 0.5);
    animation: floatPhoto 4s ease-in-out infinite;
}

@keyframes floatPhoto {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.social-icons {
    display: flex;
    gap: 20px;
    margin: -10px 0;
    animation: floatIcons 4s ease-in-out infinite;
}

.social-icon {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: linear-gradient(145deg, #ff007f, #cc0066);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    box-shadow: 0 0 10px rgba(255, 0, 127, 0.4);
    animation: glowPulse 3s infinite ease-in-out;
}

.social-icon:hover {
    transform: scale(1.25) rotate(10deg);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.9), 0 0 15px rgba(0, 0, 0, 0.4);
}

.social-icon img {
    width: 26px;
    height: 26px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.social-icon:hover img {
    transform: rotate(360deg);
}

@keyframes floatIcons {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.cv-button {
    padding: 12px 30px;
    background: linear-gradient(90deg, #ff007f, #e60073);
    color: #fff;
    font-size: 18px;
    text-decoration: none;
    border-radius: 30px;
    margin-top: 35px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: fadeInButton 1s 3s forwards;
}

.cv-button:hover {
    background: #ff3399;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.8);
    transform: scale(1.05);
}

.right-side {
    max-width: 600px;
    text-align: center;
}

.right-side h1 {
    font-size: 3rem;
    color: #fff;
    margin-bottom: 10px;
    animation: slideUp 1s ease-out forwards;
}

.description {
    font-size: 1.2rem;
    color: #aaa;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto;
    opacity: 0;
    animation: fadeIn 1s 1.5s forwards;
}

.typewriter-container {
    margin-top: 25px;
}

#letreiro {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff007f;
    margin-top: 20px;
    white-space: nowrap;
    overflow: hidden;
    display: inline-block;
    border-right: 4px solid #ff007f;
    padding-right: 5px;
    animation: typing 3s steps(25) 1s forwards, blink-caret 0.75s step-end infinite, changeText 10s infinite;
}

/* --- Animações --- */
@keyframes rotateIn {
    0% { transform: rotateY(90deg); opacity: 0; }
    100% { transform: rotateY(0deg); opacity: 1; }
}

@keyframes popIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInButton {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    50% { border-color: transparent; }
}

#aboutMe::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.1) 10%, transparent 70%);
    animation: pulseBg 6s ease-in-out infinite;
}

@keyframes pulseBg {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

@media (max-width: 1024px) {
    .aboutMe-container {
        gap: 80px;
        padding-left: 0;
        flex-direction: column;
    }

    .photo {
        width: 200px;
        height: 200px;
        margin-top: 40px;
    }

    .right-side h1 {
        font-size: 2.5rem;
    }

    .description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    #aboutMe {
        padding: 60px 25px;
    }

    .aboutMe-container {
        gap: 60px;
    }

    .photo {
        width: 180px;
        height: 180px;
        margin-top: 30px;
    }

    .social-icon {
        width: 45px;
        height: 45px;
    }

    .social-icon img {
        width: 22px;
        height: 22px;
    }

    .right-side h1 {
        font-size: 2.2rem;
    }

    .description {
        font-size: 1rem;
        max-width: 90%;
    }

    #letreiro {
        font-size: 1.2rem;
        border-right-width: 3px;
    }

    .cv-button {
        font-size: 16px;
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    #aboutMe {
        padding: 50px 15px;
    }

    .aboutMe-container {
        gap: 40px;
    }

    .photo {
        width: 150px;
        height: 150px;
    }

    .social-icons {
        gap: 15px;
    }

    .social-icon {
        width: 40px;
        height: 40px;
    }

    .social-icon img {
        width: 20px;
        height: 20px;
    }

    .right-side h1 {
        font-size: 1.8rem;
    }

    .description {
        font-size: 0.95rem;
        line-height: 1.4;
    }

    #letreiro {
        font-size: 1rem;
        border-right-width: 2px;
    }

    .cv-button {
        font-size: 15px;
        padding: 8px 20px;
    }
}
