:root {
    --primary-color: #FF2D6B;
    --primary-hover: #E81C5A;
    --border-color: #dbdbdb;
}

body {
    background-color: #fafafa;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding-top: 60px;
}

/* Top Navigation Bar */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: white;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    z-index: 100;
}

.nav-container {
    width: 100%;
    max-width: 975px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-size: 24px;
    font-weight: 600;
}

.nav-menu {
    display: flex;
    gap: 22px;
}

.nav-menu a {
    color: #262626;
    font-size: 24px;
}

/* Main Content */
.profile-container {
    max-width: 935px;
    margin: 30px auto;
    padding: 0 20px;
}

.profile-header {
    display: flex;
    margin-bottom: 44px;
}

.profile-pic-container {
    flex: 0 0 30%;
    text-align: center;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.profile-info {
    flex: 1;
}

.profile-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 20px;
}

.stat-item {
    text-align: center;
}

.stat-item .number {
    font-weight: 600;
}

/* Tabs */
.profile-tabs {
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
}

.tab-item {
    padding: 16px 0;
    margin: 0 30px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #8e8e8e;
    display: flex;
    align-items: center;
    border-top: 1px solid transparent;
    cursor: pointer;
}

.tab-item.active {
    color: #262626;
    border-top-color: #262626;
}

.tab-item i {
    margin-right: 6px;
}

/* Posts Grid */
.posts-grid,
.reels-grid,
.vip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.post-item,
.reel-item,
.vip-item {
    position: relative;
    aspect-ratio: 1/1;
}

.post-item img,
.reel-item img,
.vip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-item.video::after {
    content: '\f04b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
}

.reel-item .views-count {
    position: absolute;
    bottom: 10px;
    left: 10px;
    color: white;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vip-item.locked .lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* FAB */
.fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 10;
}

/* Responsivo */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-stats {
        justify-content: space-around;
        gap: 10px;
    }

    .posts-grid,
    .reels-grid,
    .vip-grid {
        gap: 3px;
    }

    .tab-item {
        margin: 0 15px;
    }
}

.profile-pic-container {
    position: relative;
    display: inline-block;
}

.profile-pic {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    cursor: pointer;
    border: 3px solid #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.edit-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: var(--primary-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 2px solid white;
    cursor: pointer;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.post-item {
    position: relative;
    width: 100%;
    aspect-ratio: 1/1;
    /* Mantém formato quadrado */
    overflow: hidden;
    border-radius: 8px;
}

.post-item img,
.post-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}