:root{
  --bg0:#07070b;
  --bg1:#0c0b12;
  --card:#0f1017cc;
  --card2:#12131dcc;
  --text:#f3f2ff;
  --muted:#c9c7d7;
  --gold:#f7d27a;
  --gold2:#ffefb7;
  --line:#2a2a38;
  --accent:#ffd98a;
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color:var(--text);
  background: radial-gradient(1200px 700px at 25% 0%, rgba(255, 210, 120,.12), transparent 60%),
              radial-gradient(900px 500px at 80% 15%, rgba(255, 220, 140,.10), transparent 55%),
              radial-gradient(1200px 800px at 60% 110%, rgba(255, 170, 80,.08), transparent 65%),
              linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.92}
small{color:var(--muted)}
.container{max-width:1160px; margin:0 auto; padding:0 18px}
.topbar{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(10,10,15,.88), rgba(10,10,15,.55));
  border-bottom:1px solid rgba(255,255,255,.06);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:10px;
}
.brand img{width:34px; height:34px}
.brand .title{font-weight:750; letter-spacing:.3px}
.badge{
  font-size:12px;
  padding:4px 10px;
  border-radius:999px;
  border:1px solid rgba(255,215,130,.35);
  background: rgba(255,215,130,.08);
  color: var(--gold2);
}
.navlinks{display:flex; gap:16px; align-items:center; flex-wrap:wrap}
.navlinks a{
  font-size:14px; color:var(--muted);
  padding:8px 10px; border-radius:12px;
}
.navlinks a.active, .navlinks a:hover{
  color:var(--text);
  background: rgba(255,255,255,.06);
}
.hero{
  position:relative;
  padding:58px 0 26px;
}
.sparkles{
  position:absolute; inset:-80px -100px auto -100px;
  height:360px; pointer-events:none;
  opacity:.95;
}
.hero-grid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:stretch;
}
@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
}
.h1{
  font-size:44px; line-height:1.05; letter-spacing:-.6px;
  margin:0 0 12px;
}
.lead{
  font-size:16px; line-height:1.6; color:var(--muted);
  margin:0 0 20px;
}
.cta-row{display:flex; gap:12px; flex-wrap:wrap}
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  color:var(--text);
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}
.btn.primary{
  border:1px solid rgba(255,215,130,.42);
  background: linear-gradient(180deg, rgba(255,215,130,.20), rgba(255,215,130,.06));
}
.btn svg{width:18px; height:18px}
.card{
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
}
.card.pad{padding:18px}
.kpi{
  display:grid; grid-template-columns:repeat(2,1fr); gap:12px;
}
.kpi .box{
  padding:14px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.kpi .num{
  font-size:20px; font-weight:800;
  color: var(--gold2);
}
.kpi .label{font-size:12px; color:var(--muted); margin-top:2px}
.section{padding:18px 0 46px}
.section h2{
  margin:0 0 10px;
  font-size:22px;
  letter-spacing:-.2px;
}
.section p{color:var(--muted); margin:0 0 14px; line-height:1.65}
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
@media(max-width: 980px){.grid3{grid-template-columns:1fr}}
.icon{
  width:34px; height:34px; border-radius:12px;
  display:grid; place-items:center;
  border:1px solid rgba(255,215,130,.30);
  background: rgba(255,215,130,.10);
  color: var(--gold2);
  margin-bottom:10px;
}
.icon svg{width:18px; height:18px}
.tablewrap{
  overflow:auto;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}
table{
  width:100%;
  border-collapse:collapse;
  min-width:880px;
}
th,td{
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  text-align:left;
  font-size:13px;
}
th{color:var(--gold2); font-weight:750; position:sticky; top:0; background: rgba(10,10,15,.85); backdrop-filter:blur(10px)}
td{color:var(--text)}
td.muted{color:var(--muted)}
.controls{
  display:flex; flex-wrap:wrap; gap:10px; align-items:center;
  margin: 12px 0 10px;
}
.input, select{
  color:var(--text);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius: 14px;
  padding:10px 12px;
  outline:none;
}
.input{min-width: 260px}
select{min-width: 170px}
.footer{
  padding:26px 0 34px;
  border-top:1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(0,0,0,.08));
}
.footer-grid{
  display:grid; grid-template-columns:1.1fr .9fr; gap:14px;
}
@media(max-width:900px){.footer-grid{grid-template-columns:1fr}}
.footer h3{margin:0 0 8px; font-size:16px}
.footer p{margin:0; color:var(--muted); line-height:1.6}
.hr{height:1px; background:rgba(255,255,255,.08); margin:14px 0}
.notice{font-size:12px; color:var(--muted)}
.visitor{
  margin-top:14px;
  padding:14px;
  border-radius: 16px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}
.visitor .row{
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  flex-wrap:wrap;
}
.visitor .pill{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(255,215,130,.35);
  background: rgba(255,215,130,.08);
  color: var(--gold2);
  font-size:12px;
}
.visitor table{min-width:420px}
.visitor th, .visitor td{font-size:12px; padding:8px 10px}


/* Series cards */
.series-grid{
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:14px;
}
.series-card{
  display:block;
  text-decoration:none;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(18,18,28,.55);
  border-radius:16px;
  padding:14px 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transition: transform .12s ease, border-color .12s ease;
}
.series-card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,220,140,.35);
}
.series-title{
  font-weight:800;
  letter-spacing:.2px;
  font-size:18px;
  margin-bottom:8px;
}
.series-meta{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}
.pill{
  display:inline-block;
  font-size:12px;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(255,220,140,.25);
  background: rgba(255,220,140,.08);
}
