*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Tahoma,sans-serif;
}

body{
background:#111;
color:#fff;
}

a{
text-decoration:none;
color:inherit;
}

button{
cursor:pointer;
transition:.3s;
}

button:hover{
opacity:.9;
}

.topbar{
position:sticky;
top:0;
z-index:999;
display:flex;
justify-content:space-between;
align-items:center;
padding:14px 18px;
background:#181818;
border-bottom:1px solid #333;
}

.logo{
display:flex;
align-items:center;
gap:10px;
font-size:24px;
font-weight:bold;
color:#FFD700;
}

.top-logo{
width:45px;
height:45px;
border-radius:14px;
object-fit:cover;
background:#fff;
}

.top-right button{
width:45px;
height:45px;
border:none;
border-radius:50%;
background:#2b2b2b;
color:#FFD700;
font-size:22px;
}

.search-box{
padding:12px;
background:#181818;
}

.search-box input{
width:100%;
padding:14px;
border:none;
outline:none;
border-radius:30px;
background:#2c2c2c;
color:#fff;
font-size:16px;
}

.new-post{
padding:12px;
}

.new-post button{
width:100%;
padding:15px;
border:none;
border-radius:30px;
background:#FFD700;
color:#111;
font-size:18px;
font-weight:bold;
}

.post{
background:#1d1d1d;
margin:14px;
border-radius:20px;
overflow:hidden;
box-shadow:0 5px 15px rgba(0,0,0,.35);
}

.post img{
width:100%;
height:240px;
object-fit:cover;
}

.post-info{
padding:16px;
}

.post-info h2{
margin:8px 0;
font-size:22px;
}

.post-info h3{
color:#FFD700;
margin-bottom:8px;
}

.post-info p{
color:#ccc;
line-height:1.7;
margin-bottom:8px;
}

.post-actions{
display:flex;
justify-content:space-around;
padding:14px;
border-top:1px solid #333;
background:#181818;
}

.post-actions button{
background:none;
border:none;
color:#FFD700;
font-size:20px;
}

.popup{
display:none;
position:fixed;
left:0;
top:0;
width:100%;
height:100%;
background:rgba(0,0,0,.7);
justify-content:center;
align-items:center;
z-index:9999;
}

.form{
width:92%;
max-width:430px;
background:#1d1d1d;
padding:22px;
border-radius:22px;
box-shadow:0 10px 30px rgba(0,0,0,.4);
}

.form h2{
text-align:center;
margin-bottom:15px;
color:#FFD700;
}

.form input,
.form textarea,
.form select{
width:100%;
padding:14px;
margin:8px 0;
border:none;
outline:none;
border-radius:14px;
background:#2b2b2b;
color:#fff;
font-size:16px;
}

.form textarea{
resize:none;
height:110px;
}

.form button{
width:100%;
padding:15px;
margin-top:10px;
border:none;
border-radius:14px;
background:#FFD700;
color:#111;
font-size:18px;
font-weight:bold;
}

.bottom-nav{
position:fixed;
bottom:0;
left:0;
right:0;
height:70px;
background:#181818;
display:flex;
justify-content:space-around;
align-items:center;
border-top:1px solid #333;
z-index:999;
}

.bottom-nav button{
background:none;
border:none;
font-size:28px;
color:#FFD700;
}

.bottom-nav button:active{
transform:scale(.9);
}

.login-page{
display:flex;
justify-content:center;
align-items:center;
min-height:100vh;
background:#111;
padding:20px;
}

.login-container{
width:100%;
max-width:430px;
}

.login-logo{
text-align:center;
margin-bottom:25px;
}

.login-logo img{
width:120px;
height:120px;
border-radius:25px;
background:#fff;
padding:10px;
}

.login-logo h1{
margin-top:15px;
font-size:42px;
color:#FFD700;
}

.login-logo p{
color:#bbb;
margin-top:8px;
}

.login-card{
background:#1d1d1d;
padding:25px;
border-radius:22px;
box-shadow:0 10px 30px rgba(0,0,0,.35);
}

.password-box{
position:relative;
margin:10px 0;
}

.password-box input{
padding-left:55px;
}

.password-box button{
position:absolute;
left:8px;
top:50%;
transform:translateY(-50%);
width:42px;
height:42px;
border:none;
border-radius:12px;
background:#2b2b2b;
color:#FFD700;
font-size:18px;
}

.login-links{
margin:18px 0;
text-align:center;
}

.login-links a{
color:#FFD700;
font-size:15px;
font-weight:bold;
}

.mainBtn{
width:100%;
padding:15px;
border:none;
border-radius:15px;
background:#FFD700;
color:#111;
font-size:18px;
font-weight:bold;
margin-top:12px;
}

.googleBtn{
width:100%;
padding:15px;
border:none;
border-radius:15px;
background:#fff;
color:#111;
font-size:17px;
font-weight:bold;
margin-top:12px;
}

.createBtn{
width:100%;
padding:15px;
border:none;
border-radius:15px;
background:#333;
color:#FFD700;
font-size:18px;
font-weight:bold;
margin-top:20px;
}

.profile-cover{
height:220px;
background:linear-gradient(45deg,#111,#FFD700);
border-bottom-left-radius:25px;
border-bottom-right-radius:25px;
}

.profile-box{
text-align:center;
margin-top:-70px;
padding:20px;
}

.profile-img{
width:140px;
height:140px;
border-radius:50%;
border:6px solid #FFD700;
object-fit:cover;
background:#fff;
}

.profile-box h2{
margin-top:15px;
font-size:28px;
color:#FFD700;
}

.profile-box p{
margin-top:8px;
color:#ccc;
}

.profile-stats{
display:flex;
justify-content:space-around;
margin-top:25px;
}

.profile-stats div{
background:#1d1d1d;
padding:18px;
width:30%;
border-radius:16px;
text-align:center;
}

.profile-stats h3{
color:#FFD700;
font-size:24px;
}

.profile-stats span{
color:#bbb;
font-size:14px;
}

.profile-buttons{
display:flex;
gap:10px;
padding:20px;
}

.profile-buttons button{
flex:1;
padding:14px;
border:none;
border-radius:14px;
font-size:16px;
font-weight:bold;
}

.follow-btn{
background:#FFD700;
color:#111;
}

.message-btn{
background:#2b2b2b;
color:#fff;
}

.card{
background:#1d1d1d;
margin:15px;
padding:18px;
border-radius:18px;
box-shadow:0 5px 15px rgba(0,0,0,.3);
}

.card h3{
color:#FFD700;
margin-bottom:10px;
}

.card p{
color:#ccc;
line-height:1.8;
}

::-webkit-scrollbar{
width:8px;
}

::-webkit-scrollbar-track{
background:#111;
}

::-webkit-scrollbar-thumb{
background:#FFD700;
border-radius:20px;
}

@media(max-width:600px){

.top-logo{
width:40px;
height:40px;
}

.logo{
font-size:20px;
}

.post img{
height:200px;
}

.profile-img{
width:120px;
height:120px;
}

.login-logo h1{
font-size:34px;
}

.bottom-nav button{
font-size:24px;
}

.form{
width:95%;
}

}