
:root{
  --bg:#0b1220;
  --panel:#111a2e;
  --panel-2:#17233d;
  --text:#e5ecf6;
  --muted:#9fb0ca;
  --line:rgba(255,255,255,.1);
  --accent:#60a5fa;
  --accent-2:#22c55e;
  --shadow:0 18px 50px rgba(0,0,0,.28);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  background:linear-gradient(180deg,#0b1220 0%,#0e1728 100%);
  color:var(--text);
}
a{color:inherit}
.hero{
  padding:48px 20px 28px;
}
.hero-inner,.section,.footer{
  width:min(1180px,100%);
  margin:0 auto;
}
.hero-inner{
  background:
    radial-gradient(circle at top right, rgba(96,165,250,.18), transparent 30%),
    radial-gradient(circle at top left, rgba(34,197,94,.12), transparent 22%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border:1px solid var(--line);
  border-radius:32px;
  padding:32px;
  box-shadow:var(--shadow);
}
.eyebrow{
  margin:0 0 8px;
  color:#93c5fd;
  font-size:.92rem;
  letter-spacing:.08em;
  text-transform:uppercase;
}
h1{
  margin:0;
  font-size:clamp(2rem,4vw,4rem);
  line-height:1.03;
  max-width:10ch;
}
.lead{
  max-width:760px;
  color:var(--muted);
  font-size:1.08rem;
  line-height:1.65;
  margin:16px 0 0;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin:24px 0 22px;
}
.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  text-decoration:none;
  border:1px solid var(--line);
  background:transparent;
  color:var(--text);
  font-weight:700;
}
.button.primary{
  background:linear-gradient(135deg, #2563eb, #3b82f6);
  border-color:transparent;
}
.button.ghost{
  background:rgba(255,255,255,.03);
}
.toolbar{
  display:grid;
  grid-template-columns:1fr auto;
  gap:14px;
  align-items:center;
  margin-top:10px;
}
.search-wrap input{
  width:100%;
  min-height:50px;
  background:#0a1221;
  color:var(--text);
  border:1px solid var(--line);
  border-radius:16px;
  padding:0 16px;
  font-size:1rem;
}
.lang-toggle{
  display:inline-flex;
  gap:8px;
}
.lang-btn{
  min-width:54px;
  min-height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:#0a1221;
  color:var(--text);
  cursor:pointer;
  font-weight:700;
}
.lang-btn.active{
  background:#1d4ed8;
  border-color:#3b82f6;
}
.filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.filter-btn{
  min-height:40px;
  padding:0 14px;
  border-radius:999px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  cursor:pointer;
}
.filter-btn.active{
  background:#1e293b;
  border-color:#60a5fa;
}
.section{
  padding:26px 20px 8px;
}
.section-head{
  margin-bottom:18px;
}
.section-head h2{
  margin:0;
  font-size:1.55rem;
}
.section-head p{
  margin:8px 0 0;
  color:var(--muted);
}
.results-meta{
  color:var(--muted);
  margin:0 0 14px;
}
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
  gap:18px;
}
.card{
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
  display:flex;
  flex-direction:column;
  min-height:100%;
}
.card.featured{
  border-color:rgba(96,165,250,.35);
}
.card-head{
  display:flex;
  gap:14px;
  align-items:flex-start;
}
.icon{
  width:72px;
  height:72px;
  border-radius:20px;
  flex:0 0 72px;
  object-fit:cover;
  background:#fff;
  border:1px solid rgba(255,255,255,.15);
}
.title-wrap h3{
  margin:0;
  font-size:1.12rem;
  line-height:1.2;
}
.subtitle{
  margin:5px 0 0;
  color:var(--muted);
  font-size:.93rem;
}
.category{
  display:inline-flex;
  align-self:flex-start;
  margin:14px 0 10px;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(96,165,250,.14);
  color:#bfdbfe;
  font-size:.82rem;
}
.desc{
  color:#d6e0ef;
  line-height:1.58;
  margin:0 0 16px;
  flex:1;
}
.platforms{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:auto;
}
.store{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 14px;
  border-radius:12px;
  text-decoration:none;
  font-weight:700;
  background:#0a1221;
  border:1px solid var(--line);
}
.store.ios{background:rgba(255,255,255,.05)}
.store.android{background:rgba(34,197,94,.12)}
.empty{
  padding:26px;
  border:1px dashed var(--line);
  border-radius:20px;
  color:var(--muted);
}
.footer{
  padding:28px 20px 44px;
  text-align:center;
  color:var(--muted);
}
.footer p{
  margin:6px 0;
}
@media (max-width:760px){
  .hero{padding:18px 14px 10px}
  .hero-inner{padding:22px}
  .section{padding-inline:14px}
  .toolbar{grid-template-columns:1fr}
}

.hero-top{
  display:grid;
  grid-template-columns:160px 1fr;
  gap:24px;
  align-items:center;
}
.hero-photo{
  width:160px;
  height:160px;
  border-radius:28px;
  object-fit:cover;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}
.hero-copy h1{max-width:14ch}
.hero-legacy{
  margin:10px 0 0;
  color:#dbeafe;
  font-size:1.05rem;
  font-weight:600;
}
.hero-stats{margin-top:16px}
.stat-pill{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  background:rgba(255,255,255,.06);
  border:1px solid var(--line);
  color:#e2e8f0;
  font-weight:700;
}
.featured-grid{grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.card.featured-primary{
  grid-column:1 / -1;
  background:
    radial-gradient(circle at top right, rgba(34,197,94,.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(96,165,250,.16), transparent 28%),
    linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.02));
  border-color:rgba(34,197,94,.4);
}
.featured-ribbon{
  display:inline-flex;
  align-self:flex-start;
  margin-bottom:12px;
  padding:7px 11px;
  border-radius:999px;
  background:rgba(34,197,94,.14);
  border:1px solid rgba(34,197,94,.28);
  color:#bbf7d0;
  font-size:.82rem;
  font-weight:800;
  letter-spacing:.01em;
}
.card.featured-primary .card-head{align-items:center}
.card.featured-primary .icon{width:84px;height:84px;border-radius:22px;flex-basis:84px}
.card.featured-primary .title-wrap h3{font-size:1.3rem}
.card.featured-primary .desc{font-size:1.02rem;max-width:72ch}
@media (max-width:760px){
  .hero-top{grid-template-columns:1fr;}
  .hero-photo{width:120px;height:120px;border-radius:24px}
}
