*{
  box-sizing:border-box;
}

:root{
  --bg:#0f1115;
  --panel:#171a21;
  --panel-2:#1e232d;
  --line:#2d3442;
  --text:#f5f7fb;
  --muted:#aeb7c7;
  --accent:#71a7ff;
  --accent-2:#8dd3ff;
  --shadow:0 10px 30px rgba(0,0,0,.25);
  --radius:18px;
  --wrap:min(1200px, calc(100% - 24px));
}

html,body{
  margin:0;
  padding:0;
}

body{
  background:linear-gradient(180deg,#0c0f14 0%, #121722 100%);
  color:var(--text);
  font-family:Arial, Helvetica, sans-serif;
  line-height:1.6;
}

a{
  color:var(--accent-2);
  text-decoration:none;
}

a:hover{
  text-decoration:underline;
}

.wrap{
  width:var(--wrap);
  margin:0 auto;
}

.site-header{
  position:sticky;
  top:0;
  z-index:30;
  backdrop-filter:blur(10px);
  background:rgba(15,17,21,.86);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 0;
  flex-wrap:wrap;
}

.logo{
  font-size:24px;
  font-weight:700;
  color:#fff;
}

.tagline{
  font-size:13px;
  color:var(--muted);
}

.nav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.nav a{
  display:inline-block;
  padding:10px 14px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
  color:#fff;
  text-decoration:none;
}

.nav a.active{
  background:rgba(113,167,255,.18);
  border-color:rgba(113,167,255,.4);
}

.hero{
  padding:48px 0 18px;
}

.hero h1{
  margin:0 0 12px;
  font-size:40px;
  line-height:1.15;
}

.hero p{
  margin:0;
  max-width:760px;
  color:var(--muted);
  font-size:17px;
}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:22px;
}

.button-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:11px 16px;
  border-radius:12px;
  background:var(--accent);
  color:#08111f;
  font-weight:700;
  text-decoration:none;
  box-shadow:var(--shadow);
}

.button-link:hover{
  text-decoration:none;
  opacity:.95;
}

.button-secondary{
  background:#293244;
  color:#fff;
}

.stats-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin:18px 0 40px;
}

.stat-card{
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.06);
  border-radius:var(--radius);
  padding:20px;
  box-shadow:var(--shadow);
}

.stat-label{
  font-size:14px;
  color:var(--muted);
  margin-bottom:8px;
}

.stat-value{
  font-size:30px;
  font-weight:700;
  line-height:1.1;
}

.stat-sub{
  font-size:13px;
  color:var(--muted);
  margin-top:8px;
}

.section{
  margin:38px 0;
}

.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
  flex-wrap:wrap;
}

.section-head h2,
.page-title h1{
  margin:0;
}

.page-title{
  padding:36px 0 6px;
}

.page-title p,
.small-note,
.empty{
  color:var(--muted);
}

.grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.card{
  display:flex;
  flex-direction:column;
  background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.015));
  border:1px solid rgba(255,255,255,.06);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  min-height:100%;
}

.thumb{
  width:100%;
  aspect-ratio:1 / 1;
  background:#0d1219;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.thumb-release{
  aspect-ratio:16 / 11;
}

.thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.no-image{
  color:var(--muted);
  font-size:13px;
}

.card-body{
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:12px;
  height:100%;
}

.card-title{
  margin:0;
  font-size:18px;
  line-height:1.35;
}

.meta-list{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.meta-line{
  font-size:14px;
  color:#d8deea;
}

.card-actions{
  margin-top:auto;
  padding-top:8px;
}

.badge-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.badge{
  display:inline-block;
  padding:5px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:700;
  background:rgba(113,167,255,.16);
  color:#dce9ff;
  border:1px solid rgba(113,167,255,.28);
}

.badge-soft{
  background:rgba(255,255,255,.05);
  color:#fff;
  border:1px solid rgba(255,255,255,.08);
}

.site-footer{
  margin-top:48px;
  border-top:1px solid rgba(255,255,255,.06);
}

.footer-inner{
  padding:18px 0 34px;
  display:flex;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  color:var(--muted);
  font-size:13px;
}

@media (max-width: 980px){
  .stats-grid{
    grid-template-columns:1fr;
  }

  .grid{
    grid-template-columns:repeat(2,1fr);
  }

  .hero h1{
    font-size:32px;
  }
}

@media (max-width: 640px){
  .grid{
    grid-template-columns:1fr;
  }

  .nav{
    width:100%;
  }

  .nav a{
    flex:1;
    text-align:center;
  }

  .hero{
    padding-top:30px;
  }

  .hero h1{
    font-size:28px;
  }
}
