*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#0f0f0f;
    color:#fff;
    font-family:'Inter',sans-serif;
    overflow-x:hidden;
}

.container{
    width:100%;
    max-width:900px;
    margin:auto;
    padding:0 20px;
}

button{
    border:none;
    cursor:pointer;
    transition:.25s ease;
}

.topbar{
    height:62px;
    background:#121212;
    display:flex;
    align-items:center;
    justify-content:center;
    position:sticky;
    top:0;
    z-index:999;
}

.logo{
    font-size:24px;
    font-weight:800;
}

.logo span{
    color:#22c55e;
}

.cover{
    width:100%;
    height:320px;

    background:
    linear-gradient(
        rgba(0,0,0,.2),
        rgba(0,0,0,.55)
    ),
    url('https://images.unsplash.com/photo-1517841905240-472988babdf9?w=1600');

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.profile{
    margin-top:-90px;
    position:relative;
    z-index:10;
}

.profile-top{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
}

.avatar{
    width:140px;
    height:140px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #0f0f0f;
}

.follow-btn{
    background:#22c55e;
    color:#fff;
    padding:15px 24px;
    border-radius:18px;
    font-weight:700;
}

.creator-info{
    margin-top:24px;
}

.name-row{
    display:flex;
    align-items:center;
    gap:10px;
}

.name-row h1{
    font-size:36px;
}

.online{
    color:#22c55e;
    font-size:14px;
    font-weight:700;
}

.username{
    margin-top:10px;
    color:#888;
}

.stats{
    display:flex;
    gap:32px;
    margin-top:24px;
}

.stats-box{
    display:flex;
    flex-direction:column;
}

.stats-box strong{
    font-size:24px;
}

.stats-box span{
    color:#888;
    margin-top:4px;
}

.bio{
    margin-top:24px;
    line-height:1.8;
    color:#d4d4d4;
}

.main-cta,
.bottom-cta{
    width:100%;
    background:#22c55e;
    color:#fff;
    padding:18px;
    border-radius:20px;
    font-size:18px;
    font-weight:800;
}

.main-cta{
    margin-top:24px;
}

.tabs{
    display:flex;
    margin-top:25px;
    border-top:1px solid rgba(255,255,255,.05);
    border-bottom:1px solid rgba(255,255,255,.05);
}

.tab{
    flex:1;
    background:none;
    color:#888;
    padding:18px;
    font-size:15px;
    font-weight:600;
    position:relative;
}

.tab.active{
    color:#fff;
}

.tab.active::after{
    content:'';
    position:absolute;
    left:0;
    bottom:0;
    width:100%;
    height:2px;
    background:#22c55e;
}

.tab-content{
    display:none;
    padding:24px 0;
}

.tab-content.active{
    display:block;
}

.post-card{
    background:#171717;
    border-radius:28px;
    padding:18px;
    margin-bottom:24px;
}

.post-header{
    display:flex;
    align-items:center;
    gap:12px;
}

.post-avatar{
    width:50px;
    height:50px;
    border-radius:50%;
    object-fit:cover;
}

.post-header small{
    margin-left:auto;
    color:#777;
}

.post-text{
    margin-top:16px;
    line-height:1.8;
    color:#ddd;
}

.locked-post{
    margin-top:18px;
    height:400px;
    border-radius:24px;

    background:
    linear-gradient(
        rgba(0,0,0,.35),
        rgba(0,0,0,.55)
    ),
    url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=1200');

    background-size:cover;
    background-position:center;
}

.media-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
}

.media-item{
    position:relative;
    border-radius:20px;
    overflow:hidden;
    aspect-ratio:1/1.1;
}

.media-item img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.locked-media::before{
    content:'';
    position:absolute;
    inset:0;
    backdrop-filter:blur(10px);
    background:rgba(0,0,0,.28);
}

.media-lock{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);

    width:58px;
    height:58px;

    border-radius:18px;

    background:rgba(0,0,0,.72);

    display:flex;
    align-items:center;
    justify-content:center;

    border:1px solid rgba(255,255,255,.08);
}

.bottom-cta{
    margin-top:28px;
}OSTS
========================= */

.post-card{
    background:#171717;
    border-radius:30px;
    padding:18px;
    margin-bottom:24px;
}

.post-header{
    display:flex;
    align-items:center;
    gap:12px;
}

.post-avatar{
    width:50px;
    height:50px;
    border-radius:50%;
    object-fit:cover;
}

.post-header h3{
    font-size:16px;
}

.post-header span{
    color:#888;
    font-size:13px;
}

.post-header small{
    margin-left:auto;
    color:#777;
}

.post-text{
    margin-top:16px;
    color:#ddd;
    line-height:1.8;
}

/* =========================
   LOCKED POST
========================= */

.locked-post{
    margin-top:18px;
    height:420px;
    border-radius:24px;
    overflow:hidden;
    position:relative;

    background:
    url('https://images.unsplash.com/photo-1494790108377-be9c29b29330?w=1200');

    background-size:cover;
    background-position:center;
}

.blur-overlay{
    position:absolute;
    inset:0;
    backdrop-filter:blur(20px);
    background:rgba(0,0,0,.30);
}

.unlock-box{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:2;

    background:rgba(15,15,15,.95);
    width:250px;
    border-radius:28px;
    padding:26px;
    text-align:center;
}

.unlock-box img{
    width:72px;
    height:72px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:15px;
}

.unlock-box h4{
    font-size:22px;
}

.unlock-box p{
    color:#8b8b8b;
    margin-top:8px;
}

.view-btn{
    width:100%;
    background:#22c55e;
    color:#fff;
    padding:14px;
    border-radius:18px;
    margin-top:18px;
    font-weight:700;
}

/* =========================
   MEDIA GRID
========================= */

.media-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:12px;
}

.media-item{
    position:relative;
    border-radius:18px;
    overflow:hidden;
    aspect-ratio:1/1.15;
    cursor:pointer;
}

.media-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.3s;
}

.media-item:hover img{
    transform:scale(1.06);
}

.locked-media::before{
    content:'';
    position:absolute;
    inset:0;
    backdrop-filter:blur(10px);
    background:rgba(0,0,0,.28);
    z-index:1;
}

.media-lock{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:2;

    width:54px;
    height:54px;
    border-radius:50%;
    background:rgba(0,0,0,.72);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;
}

/* =========================
   TABLET
========================= */

@media (max-width:768px){

    .cover{
        height:260px;
    }

    .avatar{
        width:115px;
        height:115px;
    }

    .name-row h1{
        font-size:30px;
    }

    .stats{
        gap:28px;
    }

    .locked-post{
        height:350px;
    }

    .media-grid{
        grid-template-columns:repeat(3,1fr);
    }
}

/* =========================
   MOBILE
========================= */

@media (max-width:480px){

    .profile{
        margin-top:-70px;
    }

    .profile-top{
        align-items:center;
    }

    .avatar{
        width:100px;
        height:100px;
    }

    .follow-btn{
        padding:13px 18px;
        font-size:14px;
    }

    .name-row h1{
        font-size:28px;
    }

    .stats{
        gap:22px;
    }

    .stats-box strong{
        font-size:20px;
    }

    .locked-post{
        height:300px;
    }

    .unlock-box{
        width:220px;
    }

    .media-grid{
        gap:8px;
    }
}