:root{
  --bg:#0B0517;
  --card:#1A0F2E;
  --card-2:#210C3A;
  --text:#FFFFFF;
  --muted:#B8A9C9;
  --accent:#E731BF;
  --accent-2:#7B2FE3;
  --brand:#3F146C;
  --brand-2:#370F60;
  --glass: rgba(255,255,255,.06);
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: var(--bg);
  line-height:1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container{
  width:100%;
  max-width:1080px;
  margin:0 auto;
  padding: 16px;
}

.f_link{
    color:#FFFFFF;
    text-decoration:none;
}

.f_link.li{
    color:#FFFFFF;
    text-decoration:none;
}

.bg-gradient{
  position:fixed;
  inset:0;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(231,49,191,.15), transparent 60%),
    radial-gradient(1000px 500px at 100% 20%, rgba(123,47,227,.12), transparent 60%),
    linear-gradient(120deg, var(--brand), var(--brand-2));
  z-index:-1;
}

.header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:24px;
  padding-bottom:8px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.logo{
  width:48px; height:48px; border-radius:12px;
  display:grid; place-items:center; font-size:26px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 12px 30px rgba(231,49,191,.35);
}
.title h1{ margin:0; font-size:24px; font-weight:800; letter-spacing:.2px; }
.subtitle{ margin:0; color:var(--muted); font-size:12px; }

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border:1px solid rgba(255,255,255,.08);
  border-radius:20px;
  padding:18px;
  box-shadow: 0 10px 40px rgba(0,0,0,.25);
  backdrop-filter: blur(10px);
}

.hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin-top:16px;
}
.hero-text h2{ margin:0 0 8px; font-size:22px; }
.hero-text .muted{ color:var(--muted); margin:0; }

.hero-actions{
  display:flex; gap:10px; flex-wrap:wrap;
}
.btn{
  appearance:none; border:none; cursor:pointer;
  padding:12px 16px; border-radius:14px; font-weight:700; letter-spacing:.2px;
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active{ transform: translateY(1px) scale(.99); }

.btn-primary{
  color:#fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 10px 30px rgba(231,49,191,.4);
  text-decoration:none; display:inline-block;
}
.btn-primary:hover{ box-shadow: 0 12px 36px rgba(231,49,191,.5); }

.btn-ghost{
  background: rgba(255,255,255,.08); color:#fff; border:1px solid rgba(255,255,255,.12);
}
.btn-ghost.small{ padding:8px 10px; border-radius:10px; font-size:12px; }

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  margin-top:16px;
}
.info h3, .verify h3, .install-help h3 { margin:0 0 12px; }
.kv{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.kv li{
  display:flex; align-items:center; justify-content:space-between;
  background: var(--glass);
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.08);
}
.kv span{ color:var(--muted); }
.changelog pre{
  white-space:pre-wrap; word-break:break-word; margin:8px 0 0; background:var(--card);
  border-radius:12px; padding:12px; border:1px solid rgba(255,255,255,.06);
}

.verify .checksum{
  display:flex; align-items:center; gap:8px; background:var(--glass);
  border:1px solid rgba(255,255,255,.08);
  padding:10px 12px; border-radius:12px; overflow:auto;
}
.verify code{ font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }

.tip{ margin-top:12px; }
.tip summary{ cursor:pointer; }
.tip-body{
  background:var(--card-2);
  border:1px solid rgba(255,255,255,.08);
  padding:12px; border-radius:12px; margin-top:8px;
}

.install-help{ margin-top:16px; }
.install-help ol{ margin:0; padding-left:20px; }
.install-help .muted{ color:var(--muted); }
.install-help .tiny{ font-size:12px; }

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

/* Responsive */
@media (max-width: 900px){
  .grid{ grid-template-columns: 1fr; }
  .hero{ flex-direction: column; align-items: flex-start; }
  .hero-actions{ width:100%; }
  .hero-actions .btn{ flex: 1 1 auto; text-align:center; }
}

@media (max-width: 420px){
  .title h1{ font-size:20px; }
  .hero-text h2{ font-size:20px; }
  .kv li{ padding:10px; }
}
