:root{
  --bg:#070A12;
  --surface:#0B1220;
  --surface2:#0E1930;
  --text:rgba(255,255,255,.88);
  --muted:rgba(255,255,255,.62);
  --border:rgba(255,255,255,.08);

  /* Neon trio */
  --p:#6D5CFF;   /* tím */
  --s:#00E5FF;   /* xanh */
  --a:#FF2BD6;   /* hồng */

  --r:16px;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1200px 600px at 20% -10%, rgba(109,92,255,.25), transparent 55%),
    radial-gradient(1000px 700px at 90% 10%, rgba(0,229,255,.18), transparent 55%),
    radial-gradient(900px 600px at 50% 110%, rgba(255,43,214,.12), transparent 60%),
    var(--bg);
  color:var(--text);
}
a{color:inherit; text-decoration:none}
img{max-width:100%; height:auto}
.container{width:min(1140px, calc(100% - 32px)); margin:0 auto;}
.muted{color:var(--muted)}
.dot{opacity:.5; margin:0 8px}

.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(7,10,18,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.topbar__inner{display:flex; align-items:center; justify-content:space-between; gap:18px; padding:14px 0;}
.brand{font-weight:800; letter-spacing:.6px}
.brand span{color:var(--s)}
.brand--small{font-size:14px}

.nav{display:flex; gap:16px; align-items:center}
.nav a{color:var(--muted)}
.nav a:hover{color:var(--text)}

.topbar__actions{display:flex; gap:10px; align-items:center}
.search input{
  width:260px; padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--text);
  outline:none;
}
.search input:focus{ border-color: rgba(109,92,255,.45); box-shadow: 0 0 0 4px rgba(109,92,255,.12); }

.pill{
  padding:8px 12px; border-radius:999px;
  border:1px solid rgba(0,229,255,.25);
}
.pill:hover{ box-shadow: 0 0 24px rgba(0,229,255,.18); }

.main{min-height:60vh}
.section{padding:26px 0}
.section__head{display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:12px}
.section__title{margin:0 0 10px; font-size:18px; letter-spacing:.2px}
.link{color:rgba(0,229,255,.85)}
.link:hover{text-decoration:underline}

.hero{padding:44px 0 18px}
.hero__inner{display:grid; grid-template-columns: 1.4fr .9fr; gap:22px; align-items:stretch}
.hero h1{font-size:44px; line-height:1.05; margin:0 0 12px}
.hero p{color:var(--muted); margin:0 0 18px; font-size:16px}
.hero__cta{display:flex; gap:12px; flex-wrap:wrap}
.hero__meta{display:flex; gap:10px; flex-wrap:wrap}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px; border-radius:12px;
  border:1px solid var(--border);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn:hover{transform: translateY(-1px); box-shadow: var(--shadow)}
.btn--primary{
  border-color: rgba(109,92,255,.4);
  background: linear-gradient(135deg, rgba(109,92,255,.92), rgba(0,229,255,.72), rgba(255,43,214,.55));
}
.btn--ghost{background: rgba(255,255,255,.03)}
.btn--full{width:100%}

.chip{
  display:inline-flex; padding:6px 10px;
  border-radius:999px; border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--muted); font-size:13px;
}
.hero__panel{
  border-radius: var(--r);
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  box-shadow: 0 0 40px rgba(109,92,255,.10);
  padding:14px;
  display:grid; gap:10px;
}
.stat{
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  padding:14px;
}
.stat__kpi{font-size:18px; font-weight:800}
.stat__label{color:var(--muted); font-size:13px; margin-top:4px}

.grid{display:grid; gap:14px}
.grid--3{grid-template-columns: repeat(3, 1fr)}
.card{
  border-radius: var(--r);
  border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  padding:16px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(0,229,255,.22);
  box-shadow: 0 0 36px rgba(0,229,255,.10), var(--shadow);
}
.thumb{display:block; margin-bottom:12px}
.thumb img{width:100%;height:150px;object-fit:cover;border-radius:14px;display:block}
.tag{
  display:inline-flex; padding:5px 9px; border-radius:999px;
  border:1px solid rgba(109,92,255,.25);
  color: rgba(255,255,255,.75);
  background: rgba(109,92,255,.10);
  font-size:12px;
}
.post__meta{display:flex; align-items:center; gap:8px; flex-wrap:wrap}
.post__title{margin:10px 0 6px}
.post__excerpt{color:var(--muted); margin:0}

.single__head{margin-bottom:12px}
.single__title{margin:0 0 6px; font-size:32px; line-height:1.1}
.single__meta{display:flex; align-items:center; flex-wrap:wrap}
.single__thumb img{border-radius:18px; border:1px solid rgba(255,255,255,.08)}

.single__grid{display:grid; grid-template-columns: 360px 1fr; gap:14px; margin-top:14px}
.single__side{position:sticky; top:84px; align-self:start; display:grid; gap:14px}

.content{line-height:1.7}
.content h2,.content h3{scroll-margin-top:90px}
.content a{color: rgba(0,229,255,.9); text-decoration: underline; text-underline-offset: 3px}

.toc__title{font-weight:800; margin-bottom:10px}
.toc__item{display:block; padding:8px 10px; border-radius:12px; border:1px solid rgba(255,255,255,.06); margin-bottom:8px; color:var(--muted); background: rgba(255,255,255,.02)}
.toc__item:hover{color:var(--text); border-color: rgba(0,229,255,.20); box-shadow: 0 0 20px rgba(0,229,255,.10)}
.toc__item--h3{margin-left:10px; opacity:.95}

.review__top{display:flex; justify-content:space-between; gap:12px; align-items:flex-start}
.review__kicker{color:var(--muted); font-size:12px}
.review__name{font-weight:900; margin-top:4px}
.score{display:flex; align-items:flex-end; gap:6px}
.score__num{font-size:30px; font-weight:900}
.review__row{display:flex; justify-content:space-between; gap:10px; padding:10px 0; border-top:1px solid rgba(255,255,255,.06); border-bottom:1px solid rgba(255,255,255,.06); margin:12px 0}
.review__cols{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:12px 0}
.review__h{font-weight:800; margin-bottom:8px}
.list{margin:0; padding-left:18px; color:rgba(255,255,255,.78)}
.list--bad{color: rgba(255,255,255,.70)}
.review__note{margin-top:8px; font-size:12px}

.badge{
  display:inline-flex; padding:6px 10px; border-radius:999px;
  border:1px solid rgba(0,229,255,.22);
  background: rgba(0,229,255,.10);
}

.compare__filters{display:flex; gap:10px; flex-wrap:wrap; margin-bottom:12px}
.compare__input,.compare__select{
  padding:10px 12px; border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--text);
}
.compare__wrap{overflow:auto; border-radius:14px; border:1px solid rgba(255,255,255,.06)}
.compare__table{width:100%; border-collapse:collapse; min-width:720px}
.compare__table th,.compare__table td{padding:12px; border-bottom:1px solid rgba(255,255,255,.06); text-align:left}
.compare__table thead th{position:sticky; top:0; background: rgba(7,10,18,.92); backdrop-filter: blur(8px)}

.footer{border-top:1px solid var(--border); margin-top:40px}
.footer__inner{display:flex; justify-content:space-between; gap:12px; padding:22px 0}
.footer__links{display:flex; gap:14px; flex-wrap:wrap; color:var(--muted)}
.footer__links a:hover{color:var(--text)}

/* Review Hub Filters + Pagination */
.filters{display:grid; gap:12px}
.filters__row{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.filters__row--2{align-items:flex-end}
.filters__input,.filters__select{
  padding:10px 12px; border-radius:12px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.03);
  color:var(--text);
}
.filters__input{min-width:220px}
.filters__input--sm{min-width:120px}
.filters__select{min-width:180px}

.range{display:flex; flex-direction:column; gap:6px}
.range__inputs{display:flex; gap:10px; align-items:center; flex-wrap:wrap}

.pagination{margin-top:16px}
.pagination .page-numbers{
  display:inline-flex; padding:8px 12px; margin:0 6px 6px 0;
  border-radius:12px; border:1px solid var(--border);
  background: rgba(255,255,255,.02);
  color:var(--muted);
}
.pagination .page-numbers.current{
  color:var(--text);
  border-color: rgba(0,229,255,.22);
  box-shadow: 0 0 18px rgba(0,229,255,.10);
}
.pagination .page-numbers:hover{color:var(--text)}

@media (max-width: 980px){
  .hero__inner{grid-template-columns:1fr}
  .grid--3{grid-template-columns:1fr}
  .search input{width:180px}
  .single__grid{grid-template-columns:1fr}
  .single__side{position:relative; top:auto}
}
