:root{
  --bg:#0a0d14;
  --ink:#e9eefc;
  --muted:#a9b7db;
  --acc:#86a8ff;
  --card:#121826cc;
  --card-solid:#121826;
  --stroke:rgba(255,255,255,.08);
  --glow-card:0 2px 6px rgba(80,120,255,.25), 0 8px 22px rgba(60,100,220,.25);
  --glow-btn:0 1px 4px rgba(80,120,255,.12), 0 2px 6px rgba(100,140,255,.18);
  --radius:18px;
}

*{ box-sizing:border-box }
body{
  margin:0;
  color:var(--ink);
  font:16px/1.6 ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Noto Sans", Arial;
  background:
    radial-gradient(900px 600px at 90% -10%, #1f2a44, #0a0d14 60%),
    radial-gradient(600px 500px at -10% 10%, #1b2340, transparent 60%),
    repeating-linear-gradient(180deg, #0a0d14 0, #0c101f 600px, #0a0d14 1200px);
  background-attachment: fixed;
}

a{ color:var(--acc); text-decoration:none }

.wrap{
  max-width:1000px;
  margin:0 auto;
  padding:40px 20px 28px;
}

.header{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
  margin-bottom:28px;
}

.header-left{
  display:flex;
  align-items:center;
  gap:22px;
}

.avatar{
  width:92px;
  height:92px;
  border-radius:50%;
  overflow:hidden;
  border:2px solid var(--acc);
  box-shadow:var(--glow-card);
}

.avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:50%;
}

.title{
  display:flex;
  align-items:center;
  gap:12px;
  margin:0;
}

.title span{
  opacity:.8;
  font-weight:600;
  letter-spacing:.2px;
}

h1{
  font-size:30px;
  line-height:1.2;
  margin:0;
}

.sub{
  color:var(--muted);
  margin-top:2px;
}

.badges{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:14px;
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  background:linear-gradient(180deg, #172035, #121a2b);
  border:1px solid var(--stroke);
  box-shadow:var(--glow-card);
}

.badge:hover{ background:#1a2238 }

.lang-switch{
  font-size:14px;
  color:var(--muted);
  opacity:.8;
  white-space:nowrap;
}

.lang-switch a{ color:var(--acc) }

.lang-switch .lang-current{
  color:var(--ink);
  font-weight:600;
}

.lang-switch .lang-sep{ margin:0 6px }

h3.section-title{
  margin:34px 0 12px;
  font-size:14px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--muted);
}

.section{ margin-bottom:8px }

.grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
}

.card{
  background:var(--card);
  backdrop-filter:blur(6px);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  padding:18px;
  display:flex;
  flex-direction:column;
  box-shadow:var(--glow-card);
}

.card h2{
  font-size:18px;
  margin:0 0 10px;
}

.card p{
  margin:0 0 16px;
  color:var(--ink);
}

.meta{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
  margin-bottom:10px;
}

.meta .meta-metrics {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.meta .stars,
.meta .installs {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
  opacity: 0.9;
}

.tag{
  padding:3px 10px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background:#121a2b;
}

.actions{
  margin-top:auto;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 14px;
  border-radius:12px;
  background:#182033;
  border:1px solid var(--stroke);
  box-shadow:var(--glow-btn);
}

.btn:hover{ background:#1b2740 }

.actions .btn{ align-self:flex-start }

.about{
  display:grid;
  grid-template-columns:1fr;
  gap:18px;
}

.about .card{
  display:grid;
  align-items:center;
}

.about .card p{ margin:0 }

.card--featured{ grid-column:1 / -1 }

.icon-badge{
  width:18px;
  height:18px;
  vertical-align:sub;
}

.icon-installs{
  width:15px;
  height:15px;
  vertical-align:sub;
}

.icon-card{
  width:22px;
  height:22px;
  vertical-align:sub;
  margin-right:6px;
}

code{
  background:#1a2135;
  padding:2px 6px;
  border-radius:6px;
}

.section-divider{
  margin:56px 0;
  height:1px;
  background:linear-gradient(
    90deg,
    transparent,
    rgba(90,160,255,0.6),
    rgba(140,200,255,0.9),
    rgba(90,160,255,0.6),
    transparent
  );
  box-shadow:0 0 14px rgba(120,180,255,0.6);
}

.footer{
  margin:16px 0 24px;
  color:var(--muted);
  font-size:14px;
  text-align:center;
}

@media (max-width:720px){
  .grid{ grid-template-columns:1fr }
  .wrap{ padding:24px 16px 64px }
  .header{ flex-wrap:wrap; }
  .lang-switch{ margin-left:auto; }
  .avatar{ width:76px; height:76px }
  h1{ font-size:26px }
}
