/* =====================================================
   ðŸ‘¤ PROFILE INNER (CENTRALIZAÃ‡ÃƒO)
   ===================================================== */

.profile-inner {
    max-width: 600px;
    margin: 0 auto;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
}

/* =====================================================
   ðŸ‘¤ PROFILE HERO
   ===================================================== */

.profile-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-left: var(--space-4);
    padding-right: var(--space-4);
    text-align: center;
}


/* =====================================================
   👤 AVATAR
   ===================================================== */

.profile-hero__avatar {
    width: var(--profile-avatar-size);
    height: var(--profile-avatar-size);

    flex-shrink: 0;
    overflow: hidden;

    border-radius: 50%;
    background-color: var(--color-poster-placeholder, #161717);

    margin-bottom: var(--space-3);
}

.profile-hero__avatar img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    border-radius: inherit;
}


/* =====================================================
   ðŸ”¤ USERNAME + COPY
   ===================================================== */

.profile-hero__username-row {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: 10px;
}

.profile-hero__username {
    font-size: var(--profile-username-size);
    color: var(--color-text-secondary);
}


/* =====================================================
   📋 COPY USERNAME FEEDBACK
===================================================== */
.profile-hero__copy {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        opacity 0.18s ease;
}


.profile-hero__copy.is-copied {
    transform: scale(0.94);
    opacity: 0.72;
}

.profile-hero__copy img {
    width: 16px;
    height: 16px;

    filter: var(--icon-white);
    opacity: 0.7;
}

.profile-hero__copy:hover img {
    opacity: 1;
}


/* =====================================================
   ➕ ADD SOCIALS BUTTON
===================================================== */



.profile-hero__add-socials {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 14px;
    width: fit-content;
    padding: 10px 14px;
    border: 1px solid #525252;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        border-color 0.2s ease;
}

/* =====================================================
   🎯 HOVER
===================================================== */

.profile-hero__add-socials:hover {
    opacity: 0.85;

    transform: translateY(-1px);
}

/* =====================================================
   🖼️ ICON
===================================================== */

.profile-hero__add-socials img {
    width: 16px;
    height: 16px;

    filter:
        invert(31%)
        sepia(3%)
        saturate(0%)
        hue-rotate(131deg)
        brightness(92%)
        contrast(88%);
}

/* =====================================================
   ✏️ TEXT
===================================================== */

.profile-hero__add-socials span {
    font-size: 15px;
    font-weight: 600;
    color: #525252;
    letter-spacing: -0.01em;
}



/* ===================================================== */
/* ðŸ”— SOCIALS */
/* ===================================================== */

.profile-socials {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-bottom: 10px;
}


/* ===================================================== */
/* ðŸ”— SOCIAL LINK */
/* ===================================================== */

.profile-social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    transition:
        transform 0.18s ease,
        opacity 0.18s ease,
        background-color 0.18s ease;
}


/* ===================================================== */
/* âœ¨ HOVER */
/* ===================================================== */

.profile-social-link:hover {
    transform: scale(1.06);

    opacity: 0.88;

    background-color: rgba(255, 255, 255, 0.05);
}


/* ===================================================== */
/* ðŸ‘† ACTIVE */
/* ===================================================== */

.profile-social-link:active {
    transform: scale(0.96);
}


/* ===================================================== */
/* ðŸ–¼ï¸ ICON */
/* ===================================================== */

.profile-social-icon {
    width: 25px;
    height: 25px;
    filter: invert(100%) sepia(0%) saturate(7500%) hue-rotate(225deg) brightness(100%) contrast(105%);
    object-fit: contain;
    opacity: 0.88;
}


/* =====================================================
   ðŸ“ BIO
   ===================================================== */

.profile-hero__bio {
    font-size: var(--profile-bio-size);
    color: #ffffff;
    max-width: 380px;
    line-height: 1.4;
    margin-bottom: 14px;
}


/* =====================================================
   ðŸ“Š STATS
   ===================================================== */

.profile-hero__stats {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 360px; /* ðŸ‘ˆ mesmo do botÃ£o */
    margin-bottom: var(--profile-spacing-section);
}



.profile-hero__stat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.profile-hero__stat strong {
    font-size: var(--profile-stat-number-size);
    color: var(--color-text-primary);
}

.profile-hero__stat span {
    font-size: var(--profile-stat-label-size);
    color: var(--color-text-secondary);
}


/* =====================================================
   âœ¨ DIVISORES (AS BARRINHAS)
   ===================================================== */

.profile-hero__divider {
    width: 2px;
    height: 24px;
    background: var(--color-border);
    align-self: center;
}


/* =====================================================
   ðŸŽ¯ CTA (BOTÃ•ES)
   ===================================================== */

.profile-hero__cta {
    width: 100%;
    max-width: 380px;
}

.btn-profile {
    width: 100%;
    height: var(--profile-btn-height);

    border-radius: var(--profile-btn-radius);

    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);

    font-size: var(--font-md);
    font-weight: 500;

    cursor: pointer;
    border: none;

    transition: var(--transition-default);
}

/* ============================= */
/* âœï¸ EDITAR PERFIL */
/* ============================= */

.btn-profile--edit {
    background: #2B2B2B;
    color: var(--color-text-primary);
}

.btn-profile--edit:hover {
    background: #333;
}

/* ============================= */
/* âž• SEGUIR */
/* ============================= */

.btn-profile--follow {
    background: var(--color-primary);
    color: #fff;
    font-weight: 500;
    text-decoration: none;
}

.btn-profile--follow:hover {
    background: var(--color-primary-hover);
}

/* ============================= */
/* âœ”ï¸ SEGUINDO */
/* ============================= */

.btn-profile--following {
    background: rgba(234, 88, 12, 0.08);
    color: #FF9862;
    font-weight: 500;
    border: 2px solid #FF9862;
}

.btn-profile--following:hover {
    background: rgb(247 94 13 / 13%);
}


/* =====================================================
   ðŸ§© ÃCONES DOS BOTÃ•ES
   ===================================================== */

.btn-profile img {
    width: 24px;
    height: 24px;
     filter: var(--icon-white); /* branco */
}



.btn-profile--edit {
    font-size: var(--font-md); /* 15px */
    font-weight: 600;
}


.btn-profile--follow img {
    filter: var(--icon-white); /* branco */
}


.btn-profile--following img {
    filter: var(--icon-primary); /* ðŸ‘ˆ usa sua cor principal */
}

.btn-profile.is-following img {
   filter: invert(85%) sepia(24%) saturate(7167%) hue-rotate(319deg) brightness(107%) contrast(104%);
}


.profile-content {
    margin-top: 0;
}





/* ===================================================== */
/* ðŸ“‘ PROFILE TABS (BASE)                                */
/* ===================================================== */

.tabs-profile {
    display: flex;
    width: 100%;
    max-width: 600px;
    margin: 10px auto 20px;
    border-bottom: 1px solid var(--color-border);
}

/* ===================================================== */
/* ðŸ§© TAB ITEM                                           */
/* ===================================================== */

.tabs-profile__item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    background: none;
    border: none;
    padding: 10px 0;
    font-size: var(--font-sm);
    color: var(--color-text-secondary);
    cursor: pointer;
    position: relative;
    transition: var(--transition-default);
}

/* HOVER */
.tabs-profile__item:hover {
    color: var(--color-text-primary);
}

/* ===================================================== */
/* ðŸŽ¯ ÃCONE                                              */
/* ===================================================== */

.tabs-profile__icon {
    width: 24px;
    height: 24px;
    filter: var(--icon-muted);
    transition: var(--transition-default);
}

/* ===================================================== */
/* ðŸ”¤ LABEL                                              */
/* ===================================================== */

.tabs-profile__label {
    font-size: var(--font-sm);
}

/* ===================================================== */
/* âœ… TAB ATIVA                                          */
/* ===================================================== */

.tabs-profile__item.is-active {
    color: var(--color-text-primary);
    font-weight: 600;
}

/* ÃCONE ATIVO */
.tabs-profile__item.is-active .tabs-profile__icon {
    filter: var(--icon-white);
}

/* UNDERLINE FULL WIDTH */
.tabs-profile__item.is-active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;

    width: 100%;
    height: 3px;

    background: var(--color-primary);
}




/* =====================================================
   EMPTY STATES — PERFIL
===================================================== */
.profile-content .empty-state {
    min-height: 35vh;
}



/* =====================================================
   ðŸ“± RESPONSIVO
   ===================================================== */

@media (max-width: 480px) {
    .profile-hero__bio {
        max-width: 90%;
    }

    .profile-hero__cta {
        max-width: 100%;
    }
}


