*{box-sizing:border-box}
body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  background:#f3f5f8;
  color:#151923;
}
.page{
  max-width:520px;
  margin:auto;
  min-height:100vh;
  background:#fff;
  box-shadow:0 0 40px rgba(0,0,0,.08);
}
.topbar{
  position:sticky;
  top:0;
  z-index:10;
  height:64px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 18px;
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(16px);
  border-bottom:1px solid #edf0f5;
}
.brand{display:flex;gap:10px;align-items:center}
.logo{
  width:42px;height:42px;border-radius:12px;
  display:grid;place-items:center;
  background:linear-gradient(135deg,#171717,#7c2d12);
  color:#fff;font-size:22px
}
.brand span{display:block;color:#7a8190;font-size:12px;margin-top:2px}
.pill{
  border:0;border-radius:999px;background:#eef2ff;color:#4f46e5;
  padding:9px 14px;font-weight:700
}
.hero{
  display:flex;
  gap:16px;
  padding:26px 18px 18px;
}
.app-icon{
  width:96px;height:96px;border-radius:24px;
  display:grid;place-items:center;
  flex:0 0 auto;
  font-size:48px;
  color:white;
  background:
    radial-gradient(circle at 30% 25%,#f97316,transparent 32%),
    linear-gradient(145deg,#020617,#991b1b);
  box-shadow:0 14px 32px rgba(127,29,29,.25);
}
.category{
  margin:0 0 6px;
  color:#16a34a;
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
}
h1{font-size:25px;line-height:1.1;margin:0 0 10px}
.rating{
  display:flex;
  flex-wrap:wrap;
  gap:7px;
  margin-bottom:10px
}
.rating span{
  background:#f5f7fb;
  border:1px solid #e9edf5;
  color:#525b6b;
  border-radius:8px;
  font-size:12px;
  padding:6px 8px
}
.desc{font-size:14px;line-height:1.55;color:#596171;margin:0 0 14px}
.actions{display:flex;gap:10px}
.btn{
  border:0;
  border-radius:12px;
  padding:12px 15px;
  font-weight:800;
  cursor:pointer;
  text-decoration:none;
  text-align:center;
}
.primary{
  background:#16a34a;
  color:#fff;
  box-shadow:0 10px 24px rgba(22,163,74,.25)
}
.secondary{background:#eef2ff;color:#4f46e5}
.buy{background:#111827;color:#fff;margin-top:10px}
.full{display:block;width:100%}
.screens{
  display:flex;
  gap:12px;
  overflow:auto;
  padding:8px 18px 20px;
}
.screen{
  min-width:145px;
  height:210px;
  border-radius:18px;
  display:grid;
  place-items:end center;
  padding:18px;
  color:white;
  font-weight:900;
  background:
    linear-gradient(to top,rgba(0,0,0,.72),transparent),
    linear-gradient(135deg,#020617,#7f1d1d,#f97316);
}
.card{
  margin:0 18px 16px;
  padding:18px;
  border-radius:18px;
  background:#fff;
  border:1px solid #edf0f5;
  box-shadow:0 10px 24px rgba(15,23,42,.04)
}
.card h2{font-size:18px;margin:0 0 8px}
.card p{margin:0;color:#5d6677;line-height:1.6;font-size:14px}
.info-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
}
.info-grid div{
  background:#f8fafc;
  border-radius:14px;
  padding:12px;
}
.info-grid small{display:block;color:#8790a1;margin-bottom:4px}
.info-grid b{font-size:14px}
.register input{
  width:100%;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:13px 14px;
  margin:10px 0 0;
  outline:none;
}
.register input:focus{border-color:#16a34a}
.note{font-size:12px!important;margin-top:10px!important;color:#8b93a3!important}
.search-modal{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.55);
  display:none;
  align-items:center;
  justify-content:center;
  padding:18px;
}
.search-modal.show{display:flex}
.search-box{
  width:100%;
  max-width:420px;
  background:#fff;
  border-radius:22px;
  padding:20px;
  position:relative;
}
.close{
  position:absolute;
  right:16px;
  top:14px;
  border:0;
  background:#f1f5f9;
  border-radius:50%;
  width:32px;height:32px;
  font-size:20px;
}
.search-box input{
  width:100%;
  padding:14px;
  border:1px solid #dbe2ee;
  border-radius:12px;
  margin-bottom:12px;
}
@media(max-width:430px){
  .hero{align-items:flex-start}
  .app-icon{width:82px;height:82px;font-size:40px}
  h1{font-size:22px}
}
