:root{
  --bg: #0b0c10;
  --panel: #12131a;
  --text: #f3f4f6;
  --muted: #a3a3a3;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,.5);
  --accent: #7c3aed;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 10% -10%, rgba(124, 58, 237, .25), transparent 40%),
              radial-gradient(1000px 800px at 90% 10%, rgba(59, 130, 246, .20), transparent 50%),
              linear-gradient(160deg, #0b0c10, #0e1016 60%, #0b0c10);
  color: var(--text);
}

.container{max-width:1100px;margin:0 auto;padding:20px}

.site-header{
  position:sticky;top:0;z-index:10;
  background: rgba(8,9,14,.7); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--text);font-weight:800;letter-spacing:.2px}
.logo-dot{width:14px;height:14px;border-radius:50%; box-shadow:0 0 18px rgba(124,58,237,.6)}
.brand-text{font-size:18px}
.nav a{color:var(--text);text-decoration:none;margin-left:18px;opacity:.9}
.nav a:hover{opacity:1}
.btn{
  background: var(--accent);
  color:white;text-decoration:none;padding:10px 16px;border-radius:999px;font-weight:600;
  box-shadow: var(--shadow); display:inline-block;
}
.btn.small{padding:8px 14px; font-size:14px}
.btn.ghost{background:transparent;border:1px solid rgba(255,255,255,.15)}

.main{padding-top:26px;padding-bottom:40px}

.card{
  background: var(--panel);
  border:1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:22px;
}

.grid{display:grid; gap:20px}
.grid.cols-2{grid-template-columns:1fr 1fr}
.grid.cols-3{grid-template-columns:repeat(3,1fr)}
@media (max-width:900px){
  .grid.cols-2,.grid.cols-3{grid-template-columns:1fr}
}

.input, select, .file{
  width:100%; padding:12px 14px; border-radius:12px; border:1px solid rgba(255,255,255,.12);
  background:#0f1117; color:var(--text);
}
label{display:block;margin:10px 0 6px 4px; color:#d1d5db; font-weight:600; font-size:14px}
.actions{display:flex; gap:12px; align-items:center; flex-wrap:wrap}

.flash{padding:12px 14px;border-radius:12px;margin:10px 0}
.flash.ok{background:rgba(16,185,129,.12); border:1px solid rgba(16,185,129,.3)}
.flash.err{background:rgba(239,68,68,.12); border:1px solid rgba(239,68,68,.3)}

.hero{
  display:grid; gap:22px;
  grid-template-columns: 1.2fr 1fr;
  align-items:center;
}
.hero h1{font-size:40px; margin:0 0 10px; line-height:1.1}
.hero p{color:var(--muted); margin-top:0}
.hero .panel{padding:22px}

.progress{height:10px; background:#0f1117; border:1px solid rgba(255,255,255,.1); border-radius: 999px; overflow:hidden}
.progress > div{height:100%; width:0%}

.badge{display:inline-block;padding:4px 10px;border-radius:999px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);font-size:12px}
.footer-inner{display:flex;justify-content:space-between;align-items:center;opacity:.8}
.muted{color:var(--muted)}
.table{width:100%; border-collapse: collapse}
.table th,.table td{padding:10px;border-bottom:1px solid rgba(255,255,255,.06); text-align:left}
.table th{opacity:.7; font-weight:600}
.kv{display:grid; grid-template-columns: 160px 1fr; gap:6px 12px}
.avatar{width:42px;height:42px;border-radius:999px;background:#131522;border:1px solid rgba(255,255,255,.08);display:flex;align-items:center;justify-content:center;font-weight:800}
.user-banner{display:flex;align-items:center; gap:16px}
.user-banner .user-meta{display:flex;flex-direction:column}
.user-banner .user-meta small{color:var(--muted)}
.download-cta{display:flex; gap:14px; align-items:center;flex-wrap:wrap}
.note{font-size:14px;color:var(--muted)}
