:root{
  --bg:#0b0f18;
  --panel:rgba(255,255,255,.06);
  --panel2:rgba(255,255,255,.08);
  --border:rgba(255,255,255,.10);
  --text:#eef2ff;
  --muted:rgba(238,242,255,.7);
  --muted2:rgba(238,242,255,.55);
  --accent:#ffffff;
  --black:#000;
  --ok:#2ee59d;
  --warn:#ffcc66;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: radial-gradient(1200px 600px at 20% 0%, rgba(255,255,255,.08), transparent 60%),
              radial-gradient(800px 400px at 80% 20%, rgba(255,255,255,.06), transparent 55%),
              var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
.container{max-width:1100px; margin:0 auto; padding:24px}
.muted{color:var(--muted)}
.small{font-size:12px}
.mt{margin-top:14px}

.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(11,15,24,.55);
  border-bottom: 1px solid var(--border);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  gap:16px;
}

.brand{display:flex; align-items:center; gap:12px}
.brand__logo{
  width:38px; height:38px; border-radius:12px;
  background: rgba(255,255,255,.10);
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  font-weight:800;
}
.brand__name{font-weight:800; letter-spacing:.2px}
.brand__tag{font-size:12px; color:var(--muted2)}

.nav{display:flex; gap:12px}
.nav__link{
  font-size:14px;
  color:var(--muted);
  padding:8px 10px;
  border-radius:10px;
  border:1px solid transparent;
}
.nav__link:hover{border-color:var(--border); background:rgba(255,255,255,.04)}

.section{margin-top:28px}
h1{margin:0 0 10px; font-size:34px; line-height:1.15}
h2{margin:0 0 14px; font-size:22px}

.hero{
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap:18px;
  align-items:start;
  margin-top:18px;
}
@media (max-width: 900px){
  .hero{grid-template-columns:1fr}
  h1{font-size:30px}
}

.hero__card{
  border:1px solid var(--border);
  background: var(--panel);
  border-radius:18px;
  padding:16px;
}
.hero__cardTitle{font-weight:700; margin-bottom:10px}

.list{margin:0; padding-left:18px; color:var(--muted)}
.list li{margin:6px 0}

.note{
  margin-top:12px;
  padding:12px;
  border:1px solid var(--border);
  border-radius:14px;
  background: rgba(0,0,0,.20);
  color:var(--muted);
  font-size:13px;
}

.badges{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
@media (max-width: 900px){
  .badges{grid-template-columns:1fr}
}
.badge{
  border:1px solid var(--border);
  background: var(--panel);
  border-radius:16px;
  padding:12px;
}
.badge__title{font-weight:700; font-size:13px}
.badge__desc{font-size:12px; color:var(--muted2); margin-top:2px}

.hero__cta{margin-top:16px; display:flex; gap:10px; flex-wrap:wrap}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:14px;
  border:1px solid var(--border);
  padding:10px 14px;
  font-weight:700;
  font-size:14px;
  cursor:pointer;
}
.btn--primary{
  background: var(--accent);
  color: var(--black);
  border-color: rgba(255,255,255,.20);
}
.btn--primary:hover{opacity:.92}
.btn--ghost{
  background: rgba(255,255,255,.06);
}
.btn--ghost:hover{background: rgba(255,255,255,.09)}
.btn--sm{padding:9px 12px; border-radius:12px; font-size:13px}

.grid3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
@media (max-width: 900px){
  .grid3{grid-template-columns:1fr}
}
.card{
  border:1px solid var(--border);
  background: var(--panel);
  border-radius:18px;
  padding:14px;
}
.card__title{font-weight:800; margin-bottom:6px}

.games{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
@media (max-width: 900px){
  .games{grid-template-columns:1fr}
}
.gameTile{
  border:1px solid var(--border);
  background: var(--panel);
  border-radius:18px;
  padding:14px;
  transition: transform .12s ease, background .12s ease;
}
.gameTile:hover{transform: translateY(-2px); background: var(--panel2)}
.gameTile--disabled{opacity:.6}
.gameTile--disabled:hover{transform:none}

.gameTile__top{display:flex; gap:12px; align-items:center}
.gameTile__icon{
  width:38px; height:38px; border-radius:14px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  font-weight:900;
}
.gameTile__name{font-weight:900}
.gameTile__meta{font-size:12px; color:var(--muted2); margin-top:2px}

.gameTile__bottom{
  margin-top:14px;
  display:flex; justify-content:space-between; align-items:center;
}
.pill{
  font-size:12px;
  color:var(--muted);
  border:1px solid var(--border);
  background: rgba(0,0,0,.20);
  padding:6px 10px;
  border-radius:999px;
}
.arrow{color:var(--muted2)}

.pageTop{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  margin-top:16px;
}
@media (max-width: 900px){
  .pageTop{grid-template-columns:1fr}
}
.infoBox{
  border:1px solid var(--border);
  background: var(--panel);
  border-radius:18px;
  padding:14px;
}
.infoBox__title{font-weight:900; margin-bottom:8px}

.toolbar{
  display:flex;
  gap:12px;
  justify-content:space-between;
  align-items:flex-end;
  flex-wrap:wrap;
}
.toolbar__left,
.toolbar__right{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:flex-end;
}
.select, .range{display:flex; flex-direction:column; gap:6px}
select{
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.22);
  color: var(--text);
  outline:none;
}

.range input[type="range"]{width:190px}

.seg{
  display:inline-flex;
  border:1px solid var(--border);
  background: rgba(0,0,0,.18);
  border-radius:999px;
  padding:4px;
  gap:4px;
}
.seg__btn{
  border:1px solid transparent;
  background: transparent;
  color: var(--muted);
  padding:8px 10px;
  border-radius:999px;
  cursor:pointer;
  font-weight:800;
  font-size:13px;
}
.seg__btn:hover{background: rgba(255,255,255,.06)}
.seg__btn--active{
  background: rgba(255,255,255,.95);
  color: var(--black);
}

.group{margin-top:16px}
.group__head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:12px;
}
.group__title{font-weight:900; font-size:16px}

.warnBox{
  margin-top:10px;
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(255,204,102,.35);
  background: rgba(255,204,102,.08);
  color: rgba(255,235,196,.9);
  font-size:13px;
}

.group__list{
  margin-top:12px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
@media (max-width: 900px){
  .group__list{grid-template-columns:1fr}
}

.deal{
  border:1px solid var(--border);
  background: var(--panel);
  border-radius:18px;
  padding:14px;
  transition: background .12s ease, transform .12s ease;
}
.deal:hover{background: var(--panel2); transform: translateY(-1px)}

.deal__top{display:flex; justify-content:space-between; gap:12px}
.deal__seller{font-weight:900}
.deal__price{margin-top:8px; font-size:24px; font-weight:900}
.deal__meta{margin-top:10px; display:flex; flex-wrap:wrap; gap:6px}

.chip{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.18);
  color: var(--muted);
}
.chip--ok{border-color: rgba(46,229,157,.35); color: rgba(200,255,235,.95)}
.chip--mid{border-color: rgba(255,255,255,.14)}
.chip--warn{border-color: rgba(255,204,102,.35); color: rgba(255,235,196,.95)}

.deal__score{display:flex; align-items:flex-start; justify-content:flex-end}
.scorePill{
  border:1px solid var(--border);
  background: rgba(0,0,0,.22);
  border-radius:999px;
  padding:8px 10px;
  display:flex;
  gap:8px;
  align-items:center;
  font-size:13px;
}

.deal__bottom{
  margin-top:12px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.empty{
  border:1px dashed rgba(255,255,255,.18);
  border-radius:18px;
  padding:16px;
  color: var(--muted);
}

.footer{margin:30px 0 10px}
.footer__box{
  border:1px solid var(--border);
  background: var(--panel);
  border-radius:18px;
  padding:14px;
}
.footer__meta{margin-top:10px}
