:root{
  --bg1:#070b10;
  --bg2:#0b1620;
  --card:rgba(17,22,29,.82);
  --border:#1c2630;
  --accent:#00ff88;
  --text:#e7eef6;
  --muted:#8ea0ad;
  --shadow: 0 0 24px rgba(0,255,136,.12);
}

*{box-sizing:border-box}
body{
  margin:0;
  color:var(--text);
  font-family: Consolas, ui-monospace, SFMono-Regular, Menlo, Monaco, "Courier New", monospace;
  background: linear-gradient(135deg, var(--bg1), var(--bg2));
  min-height:100vh;
}

.background{
  position:fixed; inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 30%, rgba(0,255,136,.09), transparent 42%),
    radial-gradient(circle at 75% 70%, rgba(0,160,255,.08), transparent 45%),
    radial-gradient(circle at 50% 10%, rgba(255,255,255,.03), transparent 55%);
  filter: saturate(120%);
}

.container{
  width:1100px;
  max-width:95%;
  margin:56px auto;
  position:relative;
  z-index:1;
}

.header h1{
  margin:0;
  color:var(--accent);
  text-shadow: 0 0 12px rgba(0,255,136,.55);
  letter-spacing:1px;
}
.subtitle{
  margin-top:8px;
  color:var(--muted);
}

.glass{
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.empty{
  margin-top:24px;
  padding:18px;
  border:1px solid var(--border);
  border-radius:14px;
  background: rgba(17,22,29,.72);
}
.empty a{color:var(--accent); text-decoration:none}
.empty a:hover{text-decoration:underline}

.card{
  display:flex;
  margin-top:22px;
  border:1px solid var(--border);
  border-radius:18px;
  overflow:hidden;
  background: var(--card);
  transition:.25s;
}
.card:hover{
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.card-media{
  width:260px;
  flex:0 0 260px;
}
.card-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.card-content{
  padding:22px 22px 18px 22px;
  flex:1;
  display:flex;
  flex-direction:column;
}
.title-row{
  display:flex;
  align-items:baseline;
  gap:12px;
}
.title-row h2{
  margin:0;
  color:var(--accent);
  font-size:20px;
}
.version{
  color:rgba(0,255,136,.8);
  font-size:13px;
  border:1px solid rgba(0,255,136,.25);
  padding:2px 8px;
  border-radius:999px;
}

.desc{
  margin:12px 0 18px 0;
  color:var(--muted);
  line-height:1.6;
  flex:1;
}

.actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.btn{
  text-decoration:none;
  border-radius:10px;
  padding:9px 14px;
  font-size:13px;
  border:1px solid rgba(0,255,136,.28);
  color:var(--accent);
  transition:.18s;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 0 14px rgba(0,255,136,.18);
}

.btn-download.primary{
  background: var(--accent);
  color:#04110b;
  border-color: transparent;
  font-weight:700;
}

.btn-doc{
  border-color: rgba(0,160,255,.45);
  color: #7fd4ff;
}
.btn-doc:hover{
  box-shadow: 0 0 14px rgba(0,160,255,.18);
}

.icon-link{
  width:38px; height:38px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  border:1px solid rgba(0,255,136,.20);
  transition:.18s;
}
.icon-link svg{
  width:18px; height:18px;
  fill: rgba(0,255,136,.85);
}
.icon-link:hover{
  transform: translateY(-1px);
  border-color: rgba(0,255,136,.55);
  box-shadow: 0 0 14px rgba(0,255,136,.16);
}

/* instruction page */
.back{
  display:inline-block;
  margin-bottom:14px;
  color:var(--muted);
  text-decoration:none;
}
.back:hover{color:var(--accent)}

.md{
  border:1px solid var(--border);
  border-radius:18px;
  padding:22px;
  background: rgba(17,22,29,.75);
}
.md h1{margin:0 0 10px 0; color:var(--accent)}
.md-body{
  color: var(--text);
  line-height:1.7;
}
.md-body code{
  background: rgba(0,0,0,.35);
  padding:2px 6px;
  border-radius:8px;
}
.md-body pre{
  background: rgba(0,0,0,.45);
  padding:14px;
  border-radius:14px;
  overflow:auto;
  border:1px solid rgba(255,255,255,.06);
}
.md-body table{
  width:100%;
  border-collapse:collapse;
  margin:10px 0;
}
.md-body th, .md-body td{
  border:1px solid rgba(255,255,255,.08);
  padding:8px;
}

/* mobile */
@media (max-width: 820px){
  .card{flex-direction:column}
  .card-media{width:100%; flex:0 0 auto}
  .card-media img{height:180px}
}