:root{
  --bg:#0b1220;
  --card:#111a2e;
  --text:#eaf0ff;
  --muted:#a8b3d1;
  --accent:#4ade80;
  --accent2:#22c55e;
  --border:rgba(255,255,255,0.08);
  --shadow: 0 18px 60px rgba(0,0,0,0.35);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: radial-gradient(1200px 600px at 10% 0%, rgba(74,222,128,0.18), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(34,197,94,0.16), transparent 55%),
              var(--bg);
  color:var(--text);
}
a{color:inherit; text-decoration:none}
.container{max-width:1100px; margin:0 auto; padding:18px}

.topbar{
  position:sticky; top:0; z-index:10;
  backdrop-filter: blur(10px);
  background: rgba(11,18,32,0.65);
  border-bottom:1px solid var(--border);
}
.topbar-inner{display:flex; gap:14px; align-items:center; justify-content:space-between}
.brand{font-weight:800; letter-spacing:0.4px}
.search{display:flex; gap:10px; flex:1; max-width:520px}
.search input{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.06);
  color:var(--text);
  outline:none;
}
.search button{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:linear-gradient(180deg, rgba(74,222,128,0.95), rgba(34,197,94,0.92));
  color:#062012;
  font-weight:700;
  cursor:pointer;
}
.nav{display:flex; gap:12px; align-items:center}
.nav a{
  padding:9px 10px;
  border-radius:12px;
  border:1px solid transparent;
}
.nav a:hover{
  border-color:var(--border);
  background:rgba(255,255,255,0.05);
}

.hero{
  margin:16px 0 18px;
  padding:18px;
  border:1px solid var(--border);
  border-radius:18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
}
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width: 980px){ .grid{grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 640px){ .grid{grid-template-columns: 1fr;} .search{display:none;} }

.card{
  border:1px solid var(--border);
  border-radius:18px;
  background: rgba(255,255,255,0.05);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card .thumb{width:100%; display:block; aspect-ratio: 4/3; object-fit: cover; background:rgba(255,255,255,0.03)}
.card .body{padding:12px}
.badges{display:flex; gap:8px; flex-wrap:wrap; margin-top:8px}
.badge{
  font-size:12px;
  padding:6px 9px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(0,0,0,0.15);
  color:var(--muted);
}
.badge.paid{background:rgba(34,197,94,0.16); color:#bbf7d0; border-color: rgba(34,197,94,0.25);}

.h1{font-size:22px; margin:0 0 8px}
.muted{color:var(--muted)}
.btn{
  display:inline-block;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,0.06);
  cursor:pointer;
}
.btn.primary{
  background: linear-gradient(180deg, rgba(74,222,128,0.95), rgba(34,197,94,0.92));
  color:#062012;
  font-weight:800;
}
.footer{
  border-top:1px solid var(--border);
  margin-top:20px;
  padding:12px 0;
  background: rgba(0,0,0,0.15);
}
.footer-inner{display:flex; justify-content:space-between; gap:10px; color:var(--muted)}
.form{
  border:1px solid var(--border);
  border-radius:18px;
  padding:14px;
  background:rgba(255,255,255,0.05);
  box-shadow: var(--shadow);
}
.form input, .form textarea, .form select{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.06);
  color:var(--text);
  outline:none;
}
.form .row{display:grid; grid-template-columns: 1fr 1fr; gap:12px}
@media (max-width: 640px){ .form .row{grid-template-columns:1fr} }
.error{color:#fecaca; margin:10px 0}
.success{color:#bbf7d0; margin:10px 0}
.hr{height:1px; background:var(--border); margin:12px 0}
.table{width:100%; border-collapse:separate; border-spacing:0 10px}
.table td{padding:10px}



.tag-btn{
  display:inline-block;
  padding:6px 12px;
  margin:4px 6px 0 0;
  font-size:12px;
  font-weight:600;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,0.06);
  color:var(--text);
  text-decoration:none;
  transition:all .2s ease;
}

.tag-btn:hover{
  background:linear-gradient(
    180deg,
    rgba(74,222,128,0.25),
    rgba(34,197,94,0.25)
  );
  border-color:rgba(34,197,94,0.45);
  color:#bbf7d0;
}



.footer{
  border-top:1px solid var(--border);
  margin-top:40px;
  padding:20px 0;
  font-size:13px;
}

.footer-inner{
  max-width:1100px;
  margin:auto;
  padding:0 16px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.footer-links{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
}

.footer-links a{
  color:var(--muted);
  text-decoration:none;
}

.footer-links a:hover{
  color:var(--accent);
}

.footer-copy{
  color:var(--muted);
  font-size:12px;
}



.hero .muted a{
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

.hero .muted a:hover{
  text-decoration: underline;
}























.user-menu{
  position:relative;
}

.user-btn{
  background:none;
  border:0;
  cursor:pointer;
  position:relative;
}

.avatar{
  width:36px;
  height:36px;
  border-radius:50%;
  object-fit:cover;
}

.badge{
  position:absolute;
  top:-4px;
  right:-4px;
  background:#ef4444;
  color:#fff;
  font-size:11px;
  font-weight:700;
  padding:2px 6px;
  border-radius:999px;
}

.dropdown{
  display:none;
  position:absolute;
  right:0;
  top:46px;
  background:var(--card);
  border:1px solid var(--border);
  border-radius:10px;
  min-width:200px;
  z-index:1000;
}

.dropdown a{
  display:block;
  padding:10px 14px;
  text-decoration:none;
  color:var(--text);
}

.dropdown a:hover{
  background:rgba(255,255,255,.05);
}

.dropdown-head{
  padding:12px 14px;
  font-weight:700;
  border-bottom:1px solid var(--border);
}

.dropdown .danger{
  color:#ef4444;
}



















.notifications-list{
  list-style:none;
  padding:0;
  margin:0;
}

.notification{
  padding:12px 14px;
  border-bottom:1px solid var(--border);
}

.notification.unread{
  background:rgba(34,197,94,0.08);
  border-left:4px solid #22c55e;
}

.notification .message{
  font-weight:600;
}

.notification .time{
  font-size:12px;
  margin-top:4px;
}







.badge{
  display:inline-block;
  padding:4px 8px;
  font-size:11px;
  font-weight:700;
  border-radius:6px;
  background:#444;
  color:#fff;
}

.badge.success{background:#22c55e}
.badge.danger{background:#ef4444}
.badge.paid{background:#16a34a}



