:root { color-scheme: dark; }
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: #080a0d; color: #e9edf1;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

/* Topbar */
.topbar {
  height: 64px; display:flex; align-items:center; justify-content:space-between;
  padding: 0 20px; border-bottom:1px solid #131823; background: rgba(8,10,13,.6);
  backdrop-filter: blur(10px); position: sticky; top:0; z-index:20;
}
.brand { display:flex; gap:.25rem; font-weight:800; text-decoration:none; user-select:none }
.brand-main { color:#9BE28C }
.brand-sub { color:#87B5FF }
.nav { display:flex; gap:12px }
.nav-link { color:#b7c2d0; text-decoration:none; padding:8px 10px; border-radius:8px; }
.nav-link:hover { background:#11161f }

/* Hero */
.hero {
  background:
    radial-gradient(1200px 600px at 50% -20%, rgba(76,180,118,.17), transparent 60%),
    radial-gradient(900px 600px at 80% 10%, rgba(135,181,255,.15), transparent 55%),
    #080a0d;
  padding: 64px 20px 24px;
  text-align:center;
}
.title { font-size: clamp(38px, 5vw, 64px); margin: 16px 0 6px; font-weight:900; letter-spacing:.3px; }
.grad {
  background: linear-gradient(90deg, #dfe9ff 0%, #9cc8ff 40%, #7aa4ff 100%);
  -webkit-background-clip: text; background-clip:text; -webkit-text-fill-color: transparent;
}
.subtitle { color:#b2bcc8; margin:0 }

/* Section */
.wrap { max-width: 1120px; margin: 28px auto 64px; padding: 0 20px; }
.section-title {
  margin: 18px 0 12px; font-size: 22px; color:#d8dee7; font-weight:800;
  letter-spacing:.4px; border-bottom:1px solid #1a2030; padding-bottom:10px;
}

/* Cards */
.grid {
  display:grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px; margin-top: 12px;
}
.card {
  position:relative; display:flex; gap:14px; align-items:center;
  background:#12161d; border:1px solid #222a36; border-radius:16px;
  text-decoration:none; color:inherit; padding:14px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-2px); border-color:#2e7d57; box-shadow: 0 10px 30px rgba(0,0,0,.35); }

.thumb { width:72px; height:56px; border-radius:12px; background:#0d1118; border:1px solid #1e2532;
  display:flex; align-items:center; justify-content:center; overflow:hidden; flex:0 0 72px; }
.thumb-fallback { color:#89a9ff; font-weight:800; letter-spacing:.3px; }

.meta { flex:1; min-width:0; text-align:left; }
.name { font-weight:800; font-size:18px; color:#e9edf1; margin:0 0 4px; }
.desc { color:#9aa7b4; font-size:14px; }

.tag { position:absolute; right:12px; top:12px; font-size:11px;
  background:linear-gradient(180deg,#3aa671,#2b7a52); color:white; border:1px solid #2b7a52;
  padding:4px 8px; border-radius:999px; letter-spacing:.3px; }

/* Footer */
.footer { text-align:center; color:#7e8a99; padding: 36px 0 48px; font-size:12px; border-top:1px solid #131823; margin-top:40px; }

/* Responsive */
@media (max-width:640px){
  .topbar{ padding:0 14px; }
  .wrap{ padding:0 14px; }
}
