*{box-sizing:border-box;margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background:#050616;
  color:#f9fafb;
}
a{text-decoration:none;color:inherit}
.main-wrap{
  max-width:1200px;
  margin:0 auto;
  padding:16px;
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 0 20px 0;
}
.nav-left{
  display:flex;
  align-items:center;
  gap:8px;
}
.nav-logo{
  width:36px;
  height:36px;
  border-radius:999px;
  background:linear-gradient(135deg,#ec4899,#8b5cf6);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:700;
}
.nav-title{
  font-size:24px;
  font-weight:700;
}
.nav-links{
  display:flex;
  gap:12px;
  font-size:14px;
  color:#9ca3af;
}
.nav-links a.active{
  color:#f9fafb;
}
.btn{
  padding:6px 14px;
  border-radius:999px;
  border:none;
  cursor:pointer;
  font-size:14px;
}
.btn-primary{
  background:linear-gradient(135deg,#ec4899,#8b5cf6);
  color:#fff;
}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
  gap:14px;
  margin-top:12px;
}
.card{
  background:rgba(15,23,42,0.9);
  border-radius:14px;
  overflow:hidden;
  border:1px solid rgba(148,163,184,0.18);
}
.card-img{
  width:100%;
  height:210px;
  object-fit:cover;
  background:#020617;
}
.card-body{
  padding:8px 10px 10px 10px;
}
.card-title{
  font-size:14px;
  font-weight:600;
}
.card-meta{
  font-size:11px;
  color:#9ca3af;
  margin-top:2px;
}
.section-title{
  margin-top:18px;
  margin-bottom:6px;
  font-size:18px;
  font-weight:600;
}
.badge{
  display:inline-flex;
  align-items:center;
  padding:2px 8px;
  border-radius:999px;
  border:1px solid rgba(148,163,184,0.4);
  font-size:11px;
  color:#9ca3af;
}
.hero{
  margin-top:10px;
  padding:16px;
  border-radius:18px;
  background:radial-gradient(circle at top left,#312e81,#020617);
  border:1px solid rgba(129,140,248,0.4);
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);
  gap:16px;
}
.hero-text-title{
  font-size:22px;
  font-weight:700;
}
.hero-text-sub{
  margin-top:6px;
  font-size:14px;
  color:#cbd5f5;
}
.hero-side{
  display:flex;
  align-items:center;
  justify-content:flex-end;
}
.hero-img{
  width:140px;
  height:140px;
  border-radius:18px;
  background:linear-gradient(135deg,#1d1546,#020617);
}
.list{
  margin-top:10px;
}
.list-item{
  padding:8px 0;
  display:flex;
  justify-content:space-between;
  border-bottom:1px solid rgba(30,64,175,0.5);
  font-size:13px;
}
.list-item span{
  color:#9ca3af;
}
.form-card{
  max-width:420px;
  margin:40px auto;
  padding:18px;
  background:#020617;
  border-radius:16px;
  border:1px solid rgba(148,163,184,0.4);
}
.form-card h1{
  font-size:20px;
  margin-bottom:10px;
}
.form-group{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:4px;
  font-size:13px;
}
.form-group input,.form-group textarea{
  padding:8px 10px;
  border-radius:10px;
  border:1px solid rgba(55,65,81,0.9);
  background:#020617;
  color:#e5e7eb;
}
.form-group textarea{min-height:120px;resize:vertical;}
.form-footer{
  margin-top:14px;
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color:#9ca3af;
}
.alert{
  padding:8px 10px;
  border-radius:10px;
  font-size:12px;
  margin-bottom:8px;
}
.alert-ok{
  background:rgba(22,163,74,0.1);
  border:1px solid rgba(22,163,74,0.7);
  color:#bbf7d0;
}
.alert-err{
  background:rgba(239,68,68,0.1);
  border:1px solid rgba(239,68,68,0.7);
  color:#fecaca;
}
.comment-box{
  margin-top:18px;
}
.comment{
  padding:8px 10px;
  border-radius:10px;
  background:#020617;
  border:1px solid rgba(30,64,175,0.6);
  font-size:12px;
  margin-top:6px;
}
.comment-meta{
  font-size:11px;
  color:#9ca3af;
  margin-bottom:2px;
}
.like-row{
  margin-top:8px;
  font-size:12px;
  color:#9ca3af;
}
.like-row a{
  font-weight:600;
}
@media(max-width:800px){
  .hero{
    grid-template-columns:1fr;
  }
  .nav-title{font-size:20px;}
}
