:root{
  --bg:#0b1020;
  --panel:#111a33;
  --panel2:#0f1730;
  --text:#e8edff;
  --muted:#9aa7d6;
  --line:rgba(255,255,255,.08);
  --accent:#7c5cff;
  --accent2:#00d4ff;
  --good:#26d07c;
  --warn:#ffcc00;
  --bad:#ff4d6d;

  --radius:16px;
  --radius2:22px;
  --shadow: 0 12px 40px rgba(0,0,0,.35);
}

*{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", "Liberation Sans";
  background: radial-gradient(900px 500px at 20% 10%, rgba(124,92,255,.25), transparent 55%),
              radial-gradient(700px 400px at 85% 15%, rgba(0,212,255,.18), transparent 55%),
              var(--bg);
  color:var(--text);
}

a{color:inherit}
.container{max-width:1120px;margin:0 auto;padding:0 18px}

.header{
  position:sticky;top:0;z-index:5;
  border-bottom:1px solid var(--line);
  backdrop-filter: blur(10px);
  background: rgba(11,16,32,.75);
}
.header__row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;gap:18px}

.brand{display:flex;align-items:center;gap:12px}
.brand__logo{
  width:44px;height:44px;border-radius:14px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  font-weight:800;letter-spacing:.5px;color:#051027;
}
.brand__name{font-weight:800}
.brand__tag{font-size:12px;color:var(--muted);margin-top:2px}

.nav{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end}
.nav__link{
  text-decoration:none;
  padding:8px 10px;
  border-radius:12px;
  color:var(--muted);
  border:1px solid transparent;
}
.nav__link:hover{border-color:var(--line);color:var(--text)}

.hero{padding:36px 0 18px}
.hero__grid{display:grid;grid-template-columns: 1.25fr .85fr;gap:18px;align-items:start}
@media (max-width: 920px){
  .hero__grid{grid-template-columns:1fr}
}

.hero__text h1{margin:0 0 10px;font-size:38px;line-height:1.05}
.hero__text p{margin:0 0 16px;color:var(--muted);max-width:64ch}

.hero__cta{display:flex;gap:10px;flex-wrap:wrap;margin:14px 0 14px}
.hero__chips{display:flex;gap:8px;flex-wrap:wrap}
.chip{
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--muted);
  border-radius:999px;
  padding:6px 10px;
  font-size:12px;
}

.panel{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border-radius: var(--radius2);
  box-shadow: var(--shadow);
  padding:14px;
}
.panel__title{font-weight:800;margin-bottom:10px}
.panel__row{margin-bottom:10px}
.panel__row:last-child{margin-bottom:0}
.panel__foot{font-size:12px;margin-top:8px}

.grid2{display:grid;grid-template-columns:1fr 1fr;gap:10px}

.field{display:flex;flex-direction:column;gap:6px}
.field__label{font-size:12px;color:var(--muted)}

.input,.select{
  width:100%;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(15,23,48,.75);
  color:var(--text);
  outline:none;
}
.input:focus,.select:focus{border-color: rgba(124,92,255,.6)}

.hint{display:flex;align-items:baseline;gap:8px;padding:10px 0 0}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace}
.muted{color:var(--muted)}
.w100{width:100%}

.btn{
  cursor:pointer;
  border-radius: 14px;
  padding:10px 12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--text);
  font-weight:700;
  text-decoration:none;
  display:inline-flex;align-items:center;justify-content:center;
  gap:8px;
}
.btn:hover{border-color: rgba(255,255,255,.18)}
.btn--primary{
  border-color: rgba(124,92,255,.45);
  background: linear-gradient(135deg, rgba(124,92,255,.9), rgba(0,212,255,.55));
  color:#071028;
}
.btn--ghost{color:var(--muted)}
.btn--ghost:hover{color:var(--text)}

.section{padding:22px 0}
.section--alt{
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.02), transparent);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section__head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:12px}
.section h2{margin:0;font-size:22px}

.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
@media (max-width: 980px){ .grid{grid-template-columns:repeat(2,1fr)} }
@media (max-width: 560px){ .grid{grid-template-columns:1fr} }

.card{
  border:1px solid var(--line);
  background: rgba(17,26,51,.55);
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}
.card__top{
  padding:12px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  align-items:flex-start;
}
.badge{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
  color:var(--muted);
  white-space:nowrap;
}
.badge--rarity{font-weight:800;color:var(--text)}
.badge--Common{border-color:rgba(255,255,255,.10)}
.badge--Uncommon{border-color:rgba(38,208,124,.35)}
.badge--Rare{border-color:rgba(0,212,255,.40)}
.badge--Epic{border-color:rgba(124,92,255,.50)}
.badge--Legendary{border-color:rgba(255,204,0,.45)}
.badge--Mythic{border-color:rgba(255,77,109,.45)}

.card__name{margin:0;font-size:16px;line-height:1.2}
.card__game{margin-top:6px;color:var(--muted);font-size:12px}
.card__desc{padding:0 12px 10px;color:var(--muted);font-size:13px;line-height:1.35;min-height:52px}

.card__meta{
  display:flex;flex-wrap:wrap;gap:8px;
  padding:0 12px 12px;
}
.pill{
  font-size:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.02);
  color:var(--muted);
  border-radius:999px;
  padding:6px 10px;
}

.card__bottom{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  padding:12px;
  border-top:1px solid var(--line);
  background: rgba(0,0,0,.14);
}
.price{
  font-weight:900;
  letter-spacing:.2px;
}
.small{font-size:12px;color:var(--muted)}

.steps{color:var(--muted);max-width:70ch}
.steps strong{color:var(--text)}

.faq details{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:10px 12px;
  margin-bottom:10px;
  background: rgba(255,255,255,.02);
}
.faq summary{cursor:pointer;font-weight:800}
.faq p{margin:8px 0 0;color:var(--muted)}

.footer{
  border-top:1px solid var(--line);
  padding:18px 0;
  background: rgba(11,16,32,.65);
}
.footer__row{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap}