:root{
    --bg:#0a0e1f;
    --bg-soft:#121a33;
    --card:#121a33;
    --card-2:#171f42;
    --card-hover:#1c2550;
    --line:rgba(255,255,255,.08);
    --line-strong:rgba(255,255,255,.16);
    --text:#f5f7fc;
    --muted:#a3aecb;
    --muted-2:#6b7398;
    --accent:#4747ff;
    --accent-2:#0000e6;
    --accent-dim:rgba(71,71,255,.14);
    --lime:#d4ff1f;
    --lime-dim:rgba(212,255,31,.14);
    --green:#34d399;
    --amber:#ffb020;
    --danger:#ff5c72;
    --radius:14px;
    --shadow:0 10px 30px rgba(3,8,25,.5);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
    font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,sans-serif;
    background:radial-gradient(1100px 560px at 82% -12%,rgba(0,0,230,.22),transparent 60%),
               radial-gradient(900px 520px at -8% 8%,rgba(212,255,31,.05),transparent 55%),
               var(--bg);
    background-attachment:fixed;
    color:var(--text);
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
}
a{color:var(--accent);text-decoration:none}
a:hover{color:#7373ff}
.wrap{max-width:1080px;margin:0 auto;padding:0 22px}
::selection{background:var(--lime);color:#0a0e1f}
::-webkit-scrollbar{width:10px;height:10px}
::-webkit-scrollbar-track{background:transparent}
::-webkit-scrollbar-thumb{background:var(--card-2);border-radius:8px}
::-webkit-scrollbar-thumb:hover{background:var(--card-hover)}

/* Header */
.site-header{border-bottom:1px solid var(--line);background:rgba(10,14,31,.78);backdrop-filter:blur(12px);position:sticky;top:0;z-index:20}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:68px}
.brand{display:flex;align-items:center;gap:12px;color:var(--text)}
.brand-mark{display:grid;place-items:center;width:40px;height:40px;border-radius:11px;font-weight:800;font-size:18px;
    background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff;box-shadow:0 0 0 1px rgba(71,71,255,.35),0 8px 20px -8px rgba(0,0,230,.6)}
.brand-mark .plus{font-size:13px;vertical-align:super;color:var(--lime)}
.brand-text{font-weight:700;font-size:16px}
.brand-text small{display:block;font-weight:500;font-size:11px;color:var(--muted-2);letter-spacing:.12em;text-transform:uppercase}
.header-nav{display:flex;align-items:center;gap:18px}
.header-nav a{color:var(--muted);font-weight:500}
.header-nav a:hover{color:var(--text)}

/* Buttons */
.btn{display:inline-flex;align-items:center;gap:8px;padding:10px 16px;border-radius:10px;font-weight:600;font-size:14px;
    background:linear-gradient(135deg,var(--accent),var(--accent-2));color:#fff;border:none;cursor:pointer;transition:.15s;
    box-shadow:0 0 0 1px rgba(71,71,255,.3),0 10px 24px -10px rgba(0,0,230,.65)}
.btn:hover{filter:brightness(1.1);color:#fff;transform:translateY(-1px)}
.btn:active{transform:translateY(0) scale(.98)}
.btn-sm{padding:7px 12px;font-size:13px}
.btn-ghost{background:transparent;border:1px solid var(--line-strong);color:var(--text);box-shadow:none}
.btn-ghost:hover{border-color:var(--accent);color:#fff;filter:none;background:var(--card-2)}
.btn-danger{background:linear-gradient(135deg,#ff5c72,#c81e3a);box-shadow:0 0 0 1px rgba(255,92,114,.3),0 10px 24px -10px rgba(200,30,58,.6)}

/* Eyebrow */
.eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--lime);margin-bottom:14px}
.eyebrow::before{content:'';width:6px;height:6px;border-radius:50%;background:var(--lime);box-shadow:0 0 10px var(--lime)}

/* Hero */
.hero{padding:72px 0 48px;text-align:center}
.hero .eyebrow{justify-content:center}
.hero h1{font-size:44px;font-weight:800;margin:0 0 18px;letter-spacing:-.03em;line-height:1.16}
.hero .accent{color:var(--lime)}
.hero .lede{max-width:560px;margin:0 auto 30px}
.lede{color:var(--muted);font-size:17px;max-width:680px;margin:0}
.hero-actions{display:flex;justify-content:center;gap:12px;margin-bottom:44px}
.hero-stats{display:flex;justify-content:center;gap:40px;padding-top:32px;border-top:1px solid var(--line);max-width:560px;margin:0 auto}
.hero-stat-value{font-size:24px;font-weight:700}
.hero-stat-label{font-size:12.5px;color:var(--muted-2);margin-top:4px}

/* Section head */
.section{padding:52px 0}
.section-head{margin-bottom:26px}
.section-head h2{font-size:26px;font-weight:700;letter-spacing:-.02em;margin:0 0 8px}
.section-head p{color:var(--muted);font-size:14.5px;margin:0}

/* Features */
.features{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.feature-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:20px}
.feature-icon{width:36px;height:36px;border-radius:10px;background:var(--accent-dim);display:flex;align-items:center;justify-content:center;margin-bottom:12px}
.feature-icon svg{width:18px;height:18px;color:#a9a9ff}
.feature-card h3{font-size:14.5px;font-weight:600;margin:0 0 8px}
.feature-card p{font-size:13px;color:var(--muted);line-height:1.55;margin:0}
@media (max-width:900px){.features{grid-template-columns:1fr 1fr}}
@media (max-width:640px){.features{grid-template-columns:1fr}}

/* Footer */
.footer-inner{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}
.footer-inner img{height:20px;opacity:.8}
.footer-links{display:flex;gap:22px;font-size:13px;color:var(--muted-2)}

/* Tabs */
.tabs{display:flex;gap:4px;border-bottom:1px solid var(--line);margin-bottom:26px}
.tab{padding:10px 4px;margin-right:22px;font-size:14px;font-weight:600;color:var(--muted-2);cursor:pointer;border:none;border-bottom:2px solid transparent;background:none;font-family:inherit}
.tab.active{color:var(--text);border-bottom-color:var(--lime)}
.tab-panel{display:none}
.tab-panel.active{display:block}

/* Changelog (structured) */
.changelog-entry{padding:16px 0;border-bottom:1px solid var(--line)}
.changelog-entry:last-child{border-bottom:none}
.changelog-version{display:flex;align-items:baseline;gap:10px;margin-bottom:10px}
.changelog-version .v{font-family:ui-monospace,monospace;font-size:14px;font-weight:700;color:var(--lime)}
.changelog-version .date{font-size:12px;color:var(--muted-2)}
.check-list{margin:0;padding:0;list-style:none}
.check-list li{font-size:13.5px;line-height:1.6;color:var(--muted);padding-left:24px;position:relative;margin-bottom:8px}
.check-list li::before{content:'';position:absolute;left:0;top:5px;width:14px;height:14px;border-radius:4px;background:var(--accent-dim);box-shadow:inset 0 0 0 1px rgba(71,71,255,.35)}
.check-list li::after{content:'';position:absolute;left:4px;top:8px;width:6px;height:3px;border-left:2px solid var(--accent);border-bottom:2px solid var(--accent);transform:rotate(-45deg)}
.check-list.check-lime li::before{background:var(--lime-dim);box-shadow:inset 0 0 0 1px rgba(212,255,31,.35)}
.check-list.check-lime li::after{border-color:#9db81a}

/* Plugin grid */
.plugin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(310px,1fr));gap:20px;margin:24px 0 60px}
.plugin-card{background:linear-gradient(180deg,var(--card),var(--bg-soft));border:1px solid var(--line);border-radius:var(--radius);
    padding:20px;box-shadow:var(--shadow);display:flex;flex-direction:column;gap:14px;transition:.18s}
.plugin-card:hover{transform:translateY(-3px);border-color:rgba(71,71,255,.5)}
.plugin-card-head{display:flex;gap:14px;align-items:center}
.plugin-icon{width:52px;height:52px;border-radius:13px;object-fit:cover;flex:0 0 auto}
.plugin-icon.lg{width:72px;height:72px;border-radius:18px}
.plugin-icon.placeholder{display:grid;place-items:center;font-weight:800;font-size:22px;color:#0a0e1f;
    background:linear-gradient(135deg,var(--lime),#a8d600)}
.plugin-card h2{font-size:18px;margin:0 0 4px}
.plugin-card h2 a{color:var(--text)}
.plugin-card h2 a:hover{color:var(--accent)}
.plugin-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px}
.plugin-desc{color:var(--muted);font-size:14px;margin:0}
.plugin-card-foot{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:8px;border-top:1px solid var(--line)}
.compat{display:flex;gap:10px;color:var(--muted-2);font-size:12px}

.badge{display:inline-block;padding:3px 9px;border-radius:999px;font-size:12px;font-weight:600}
.badge-version{background:var(--lime-dim);color:var(--lime);border:1px solid rgba(212,255,31,.35)}
.badge-current{background:rgba(52,211,153,.16);color:var(--green);border:1px solid rgba(52,211,153,.35)}
.badge-draft{background:rgba(255,176,32,.14);color:var(--amber);border:1px solid rgba(255,176,32,.3)}
.chip{font-size:12px;color:var(--muted);border:1px solid var(--line-strong);padding:3px 9px;border-radius:999px}
.muted{color:var(--muted)}

/* Plugin detail */
.breadcrumb{margin:26px 0 8px;color:var(--muted-2);font-size:14px}
.breadcrumb span{margin:0 6px}
.breadcrumb a{color:var(--muted)}
.plugin-detail-head{display:flex;gap:20px;align-items:flex-start;margin:14px 0 24px}
.plugin-detail h1{font-size:32px;margin:0 0 6px}
.plugin-hero-actions{display:flex;gap:10px;margin-left:auto;flex-shrink:0}
.prose{color:var(--muted)}
.prose h2{font-size:19px;font-weight:700;color:var(--text);margin:0 0 14px}
.prose p{font-size:14.5px;line-height:1.7;margin:0 0 18px}
.section-title{font-size:20px;margin:28px 0 14px;padding-bottom:8px;border-bottom:1px solid var(--line)}
.release-list{display:flex;flex-direction:column;gap:12px}
.release-row{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:16px 18px}
.release-row.is-current{border-color:rgba(52,211,153,.4)}
.release-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.release-version{font-weight:700;font-size:16px}
.release-changelog{margin-top:10px;color:var(--muted);font-size:14px;white-space:normal}
.download-note{margin:30px 0 60px;padding:16px 18px;border-radius:12px;background:var(--card-2);border:1px solid var(--line);color:var(--muted);font-size:14px}

/* Logo */
.brand-logo{height:22px;width:auto;display:block}
.brand-tag{font-weight:600;font-size:14px;color:var(--muted);padding-left:12px;border-left:1px solid var(--line-strong);margin-left:2px}

/* Plugin detail two-column layout */
.plugin-layout{display:grid;grid-template-columns:1fr 300px;gap:32px;align-items:start;margin-top:8px}
.side-card{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);padding:18px;margin-bottom:16px}
.side-card h4{font-size:11.5px;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted-2);margin:0 0 12px}
.meta-row{display:flex;justify-content:space-between;padding:7px 0;font-size:13px;border-bottom:1px solid var(--line)}
.meta-row:last-child{border-bottom:none}
.meta-row span:first-child{color:var(--muted)}
.meta-row span:last-child{font-weight:600}
@media (max-width:900px){.plugin-layout{grid-template-columns:1fr}}

.empty-card{background:var(--card);border:1px dashed var(--line-strong);border-radius:var(--radius);padding:40px;text-align:center;color:var(--muted);margin:30px 0}

.error-page{padding:80px 0;text-align:center}
.error-page h1{font-size:72px;margin:0;color:var(--accent)}

/* Footer */
.site-footer{border-top:1px solid var(--line);padding:26px 0;color:var(--muted-2);font-size:13px;margin-top:40px}

@media (max-width:640px){
    .hero h1{font-size:32px}
    .hero-stats{gap:24px;flex-wrap:wrap}
    .hero-actions{flex-wrap:wrap}
    .plugin-detail-head{flex-direction:column}
    .plugin-hero-actions{margin-left:0;margin-top:16px}
    .plugin-hero-top{flex-wrap:wrap}
}
