*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
background:#1e1e1e;
font-family:'Inter',sans-serif;
color:white;
max-width:430px;
margin:auto;
}

.cover{
height:170px;
background:url('https://images.unsplash.com/photo-1517841905240-472988babdf9?w=1400') center/cover;
}

.profile-card{
padding:18px;
background:#242424;
margin-top:-20px;
border-top-left-radius:24px;
border-top-right-radius:24px;
}

.top-row{
display:flex;
justify-content:space-between;
align-items:flex-start;
}

.avatar{
width:84px;
height:84px;
border-radius:50%;
border:3px solid #242424;
margin-top:-55px;
object-fit:cover;
}

.follow-btn{
padding:12px 18px;
border-radius:30px;
border:1px solid rgba(255,255,255,.5);
background:none;
color:white;
font-weight:700;
}

h1{
font-size:33px;
margin-top:10px;
}

.online{
font-size:14px;
color:#36ff70;
}

.username{
color:#b0b0b0;
margin-top:6px;
}

.stats{
display:flex;
gap:18px;
margin-top:14px;
color:#cfcfcf;
font-size:14px;
}

.bio{
margin-top:18px;
line-height:1.7;
color:#ececec;
}

.bio ul{
margin-top:14px;
padding-left:18px;
}

.join-btn{
width:100%;
margin-top:22px;
padding:18px;
border:none;
border-radius:40px;
background:#43ef5b;
font-size:22px;
font-weight:800;
}

.tabs{
display:flex;
background:#232323;
border-top:1px solid rgba(255,255,255,.05);
}

.tab{
flex:1;
padding:18px;
background:none;
border:none;
color:#aaa;
font-weight:700;
font-size:18px;
position:relative;
}

.tab.active{
color:white;
}

.tab.active::after{
content:'';
position:absolute;
left:20%;
bottom:0;
width:60%;
height:3px;
background:#43ef5b;
border-radius:10px;
}

.content{
display:none;
padding:14px;
}

.content.active{
display:block;
}

.post{
background:#242424;
border-radius:20px;
overflow:hidden;
margin-bottom:20px;
}

.post-header{
display:flex;
align-items:center;
gap:10px;
padding:14px;
}

.post-header img{
width:42px;
height:42px;
border-radius:50%;
object-fit:cover;
}

.post-header span{
margin-left:auto;
font-size:12px;
color:#bdbdbd;
}

.post-text{
padding:0 14px 14px;
color:#d7d7d7;
}

.blur-card{
height:370px;
position:relative;
overflow:hidden;
}

.blur-card img{
width:100%;
height:100%;
object-fit:cover;
filter:blur(18px);
transform:scale(1.08);
}

.unlock-box{
position:absolute;
left:50%;
top:50%;
transform:translate(-50%,-50%);
width:82%;
background:rgba(80,80,80,.45);
backdrop-filter:blur(12px);
padding:28px 20px;
border-radius:24px;
text-align:center;
}

.unlock-avatar{
width:72px!important;
height:72px!important;
border-radius:50%;
margin-top:-58px;
border:3px solid rgba(255,255,255,.2);
}

.unlock-box h2{
margin-top:10px;
font-size:28px;
}

.unlock-box p{
margin-top:6px;
color:#ddd;
}

.unlock-box button{
margin-top:18px;
padding:14px 26px;
border:none;
border-radius:30px;
font-weight:700;
font-size:16px;
}

.media-grid{
display:grid;
grid-template-columns:1fr 1fr;
gap:2px;
}

.media-item{
aspect-ratio:1/1.45;
overflow:hidden;
cursor:pointer;
}

.media-item img{
width:100%;
height:100%;
object-fit:cover;
filter:blur(10px);
transform:scale(1.06);
}

body{max-width:none}
.profile-card,.tabs,.content{max-width:920px;margin:auto}
.stats span{display:flex;align-items:center;gap:8px}
.stats svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2}
.blur-card{height:clamp(360px,55vw,680px)}
.post{margin-bottom:24px}
@media(min-width:768px){
.cover{height:320px}
.media-grid{grid-template-columns:repeat(3,1fr);gap:10px}
.post{border-radius:28px}
}
@media(max-width:767px){
.cover{height:220px}
.avatar{width:78px;height:78px}
h1{font-size:28px}
}

/* online indicator animation */
.online-dot{
animation:pulse 1.8s infinite;
}
@keyframes pulse{
0%{transform:scale(1);box-shadow:0 0 0 0 rgba(56,255,125,.7)}
70%{transform:scale(1.15);box-shadow:0 0 0 12px rgba(56,255,125,0)}
100%{transform:scale(1)}
}

/* bigger images */
.blur-card,
.post img,
.media-item img{
width:100%;
object-fit:cover;
}

.blur-card{height:clamp(500px,72vw,900px)}
.media-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:12px;
}
.media-item{
overflow:hidden;
border-radius:18px;
aspect-ratio:3/4;
}
.media-item img{
height:100%;
pointer-events:none;
user-select:none;
}

@media(max-width:767px){
.media-grid{
grid-template-columns:repeat(3,1fr);
gap:8px;
}
.blur-card{height:560px}
}


/* RESPONSIVE FIX */
body{
width:100%;
min-height:100vh;
}

.content{
padding:12px;
}

.unlock-box{
width:88%;
max-width:320px;
padding:20px 16px;
border-radius:22px;
background:rgba(35,35,35,.55);
backdrop-filter:blur(14px);
}

.unlock-box h2{
font-size:clamp(20px,4vw,28px);
}

.unlock-box p{
font-size:clamp(13px,2.8vw,15px);
}

.unlock-box button{
width:100%;
padding:14px 18px;
font-size:clamp(14px,3vw,16px);
border:none;
border-radius:18px;
background:#43ef5b;
font-weight:700;
cursor:pointer;
}

.media-grid{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:12px;
}

.media-item{
position:relative;
overflow:hidden;
border-radius:18px;
background:#242424;
aspect-ratio: 3 / 4;
}

.media-item img{
width:100%;
height:100%;
object-fit:cover;
display:block;
filter:blur(12px);
transform:scale(1.06);
}

.media-item::after{
content:'';
position:absolute;
inset:0;
background:linear-gradient(to top, rgba(0,0,0,.7), transparent 50%);
}

.media-cta{
position:absolute;
left:50%;
top:50%;
transform:translate(-50%,-50%);
width:86%;
padding:16px;
border-radius:20px;
background:rgba(50,50,50,.5);
backdrop-filter:blur(14px);
text-align:center;
z-index:2;
}

.media-cta h3{
font-size:clamp(16px,3.5vw,22px);
margin-bottom:6px;
}

.media-cta p{
font-size:clamp(12px,2.8vw,14px);
color:#ddd;
margin-bottom:12px;
}

.media-cta button{
width:100%;
padding:12px;
border:none;
border-radius:16px;
background:#43ef5b;
font-weight:700;
font-size:clamp(13px,2.8vw,15px);
}

@media (min-width:768px){
body{
max-width:520px;
}

.media-grid{
gap:14px;
}

.post-text{
font-size:15px;
}
}
