* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    font-family: 'Bitcount', Arial, sans-serif;
}

.container-principal {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
    background-color: #e6e6e6;
}

.esquerda,
.direita {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 0;
}

.centro {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #e6e6e6;
    width: 100%;
    max-width: 500px;
    min-height: 100vh;
}

.card-content {
    padding: 5px;
    border-radius: 12px;
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.perfil {
    display: flex;
    align-items: center;
    padding: 20px;
    max-width: 400px;
    width: 100%;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 20px;
    gap: 20px;

    opacity: 0;
    animation: fadeInPerfil 0.6s ease forwards;
    animation-delay: 0.2s;
}

.perfil img {
    width: 100px;
    border-radius: 50%;
}

.perfil .description {
    display: flex;
    flex-direction: column;
}

.perfil .description h2 {
    margin-bottom: 8px;
    font-size: 1.4em;
    color: #333;
}

.perfil .description p {
    font-size: 0.95em;
    color: #555;
}

.network-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.network-list .rede {
    display: flex;
    font-size: 20px;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px;
    margin-bottom: 12px;
    text-decoration: none;
    font-weight: bold;
    color: #fff;
    background: #4E454E;
    border-radius: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

/* ✅ hover independente e funcional */
.network-list .rede:hover {
    transform: scale(1.05);
    background: linear-gradient(90deg, #0077cc, #56b9ff);
    backdrop-filter: blur(90px);
    color: #fff;
}

.rede img.icone {
    margin-right: 10px;
    border-radius: 2px;
    width: 24px;
    height: 24px;
}

/* Botão e tooltip */
.share {
    position: relative;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: linear-gradient(360deg, #0077cc, #56b9ff);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button:hover {
    background-color: #005fa3;
    transform: scale(1.05);
}

.tooltip {
    position: absolute;
    background-color: #0095ff;
    color: #fff;
    padding: 10px 16px;
    border-radius: 5px;
    font-size: 1em;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50px);
    transition: opacity 0.3s ease, transform 1.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
    user-select: text;
}

.tooltip.mostrar {
    opacity: 1;
    transform: translateY(0);
}

/* ✅ ANIMAÇÕES */
@keyframes fadeInPerfil {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ✅ apenas redes sociais animadas, separado */
.rede.animar {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

/* RESPONSIVO */
@media (min-width: 768px) and (max-width: 1140px) {
    .container-principal {
        flex-direction: row;
        align-items: flex-start;
    }

    .centro {
        margin: 0 auto;
        padding: 0;
        flex-direction: column;
    }

    .share {
        justify-content: flex-end;
    }
}

@media (min-width: 426px) and (max-width: 768px) {
    .container-principal {
        flex-direction: column;
        align-items: center;
    }

    .centro {
        width: 100%;
        padding: 16px;
    }

    .share {
        justify-content: center;
        max-width: 100%;
        padding: 10px;
    }

    .perfil {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card-content {
        font-size: 20px;
    }

    .rede {
        font-size: 0.95em;
    }
}

@media (max-width: 425px) {
    .container-principal {
        flex-direction: column;
        align-items: center;
    }

    .centro {
        width: 100%;
        padding: 12px;
    }

    .share {
        justify-content: center;
        max-width: 100%;
        padding: 8px;
    }

    .perfil {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .perfil img {
        width: 80px;
    }

    .tooltip {
        font-size: 0.85em;
        padding: 8px 10px;
    }

    .card-content {
        font-size: 18px;
    }

    .rede {
        padding: 12px;
        font-size: 0.9em;
    }
}
