/* =============================
   HOKIJITU — Shiny Dark Duo Theme
   Base: #02133e  •  Accent: #00D4FF
   ============================= */

:root{
  --bg:#02133e;
  --accent:#00D4FF;           /* recommended duo color */
  --accent-rgb:0,212,255;

  --text:#EEF6FF;
  --muted:rgba(238,246,255,.72);

  --card:rgba(255,255,255,.06);
  --card-strong:rgba(255,255,255,.09);
  --stroke:rgba(var(--accent-rgb),.26);

  --shadow:0 18px 55px rgba(var(--accent-rgb),.14);
  --shadow-strong:0 22px 70px rgba(0,0,0,.55);

  --radius:20px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* shiny layered background */
  background:
    radial-gradient(1200px circle at 18% 6%, rgba(var(--accent-rgb),.20), transparent 48%),
    radial-gradient(900px circle at 82% 2%, rgba(var(--accent-rgb),.14), transparent 42%),
    linear-gradient(180deg, var(--bg) 0%, #010a24 100%);
  overflow-x:hidden;
}

/* subtle shimmer/noise overlay */
body::before{
  content:"";
  position:fixed; inset:0;
  pointer-events:none;
  background:
    linear-gradient(115deg, rgba(255,255,255,.10), transparent 35%, rgba(255,255,255,.06), transparent 70%);
  opacity:.18;
  mix-blend-mode:overlay;
}

/* Layout */
.shell{max-width:960px;margin:0 auto;padding:20px}

/* Topbar */
.topbar{
  display:flex;align-items:center;justify-content:space-between;
  padding:16px;
  position:sticky;top:0;z-index:1000;

  background:rgba(2,19,62,.55);
  border-bottom:1px solid rgba(var(--accent-rgb),.22);
  backdrop-filter: blur(12px);
}
.brand{display:flex;align-items:center;gap:14px}
.brand-meta{display:flex;flex-direction:column}
.brand-title{
  margin:0;
  font-size:20px;
  letter-spacing:.4px;
  text-shadow:0 0 20px rgba(var(--accent-rgb),.14);
}
.brand-sub{
  margin:2px 0 0;
  font-size:12px;
  color:var(--muted);
}

.brand-icon{
  width:64px;height:64px;border-radius:20%;
  border:2px solid rgba(var(--accent-rgb),.55);
  box-shadow:0 10px 28px rgba(var(--accent-rgb),.18), 0 10px 28px rgba(0,0,0,.35);
  background:rgba(255,255,255,.04);
}

/* Cards / Sections */
.section{margin-top:18px}
.section-title{
  margin:0 0 10px;
  font-size:18px;
  letter-spacing:.2px;
}
.card{
  background:linear-gradient(180deg, rgba(255,255,255,.09), rgba(255,255,255,.05));
  border:1px solid rgba(255,255,255,.10);
  border-color: rgba(var(--accent-rgb),.18);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow), var(--shadow-strong);
  backdrop-filter: blur(10px);
}
.card p{margin:10px 0;color:rgba(238,246,255,.88);line-height:1.55}

/* App header */
.app-hero{display:flex;gap:16px;align-items:flex-start}
.app-icon{
  width:88px;height:88px;border-radius:22px;
  border:2px solid rgba(var(--accent-rgb),.55);
  box-shadow:0 12px 30px rgba(var(--accent-rgb),.18), 0 14px 40px rgba(0,0,0,.5);
  background:rgba(255,255,255,.04);
}
.app-title{margin:2px 0 8px;font-size:24px}
.app-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:var(--muted);font-size:13px}
.dot{opacity:.7}
.rating strong{color:var(--text)}
.reviews-count{opacity:.92}

/* Actions */
.install-actions{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
}

/* Buttons */
.btn{
  position:relative;
  display:block;
  width:100%;
  padding:14px 16px;
  font-size:15px;
  font-weight:800;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  cursor:pointer;
  transition:transform .18s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease;
  user-select:none;
}
.btn:active{transform:translateY(1px) scale(.995)}
.btn::after{
  content:"";
  position:absolute; inset:1px;
  border-radius:13px;
  background:linear-gradient(180deg, rgba(255,255,255,.25), transparent 45%);
  opacity:.22;
  pointer-events:none;
}

.btn-primary{
  color:#02133e;
  background:linear-gradient(135deg, rgba(var(--accent-rgb),1), rgba(var(--accent-rgb),.55));
  border-color:rgba(var(--accent-rgb),.60);
  box-shadow:0 14px 30px rgba(var(--accent-rgb),.18);
}
.btn-primary:hover{
  transform:translateY(-1px);
  box-shadow:0 18px 42px rgba(var(--accent-rgb),.24);
}
.btn-surface{
  color:var(--text);
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.14);
}
.btn-surface:hover{
  background:rgba(var(--accent-rgb),.10);
  border-color:rgba(var(--accent-rgb),.34);
  box-shadow:0 14px 34px rgba(var(--accent-rgb),.14);
}
.w-full{width:100%}

/* Quick facts */
.quick-facts{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
}
.fact{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(var(--accent-rgb),.16);
  border-radius:12px;
  padding:10px;
  text-align:center;
}
.fact-title{font-size:12px;color:var(--muted)}
.fact-value{font-size:16px;font-weight:900;margin-top:4px}

/* Lists */
.list{padding-left:18px;margin:10px 0}
.list li{margin:6px 0;color:rgba(238,246,255,.86)}

/* Chips */
.chip{
  display:inline-flex;align-items:center;
  padding:6px 10px;border-radius:999px;
  background:rgba(var(--accent-rgb),.10);
  border:1px solid rgba(var(--accent-rgb),.22);
  color:rgba(238,246,255,.92);
  font-size:12px;font-weight:700;
}

/* Screenshots row */
.shots{
  display:flex;gap:12px;overflow:auto;
  padding:6px 2px 2px;
  scroll-snap-type:x mandatory;
}
.shots img{
  width:150px;height:320px;object-fit:cover;
  border-radius:18px;
  border:1px solid rgba(var(--accent-rgb),.20);
  box-shadow:0 18px 40px rgba(0,0,0,.55);
  scroll-snap-align:start;
}

/* Grid section */
.grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}

/* Reviews */
.reviews{display:grid;gap:12px}
.review{
  display:flex;gap:12px;padding:12px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(var(--accent-rgb),.16);
  border-radius:var(--radius);
}
.avatar{
  width:42px;height:42px;border-radius:50%;
  overflow:hidden;flex-shrink:0;
  border:2px solid rgba(var(--accent-rgb),.55);
}
.avatar img{width:100%;height:100%;object-fit:cover}
.review-body{flex:1}
.review-head{display:flex;align-items:center;justify-content:space-between}
.mini-stars{color:rgba(var(--accent-rgb),.95)}
.review p{margin:8px 0 0;color:rgba(238,246,255,.86);line-height:1.45}

/* iOS guide modal */
.ios-guide{
  position:fixed;inset:0;
  background:rgba(0,0,0,.55);
  display:flex;align-items:flex-end;justify-content:center;
  padding:14px;
  z-index:2000;
}
.ios-card{
  width:100%;max-width:480px;
  background:linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.06));
  border:1px solid rgba(var(--accent-rgb),.22);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:0 -10px 40px rgba(0,0,0,.55);
  backdrop-filter: blur(12px);
}
.ios-handle{
  width:54px;height:5px;border-radius:999px;
  margin:4px auto 10px;
  background:rgba(255,255,255,.22);
}
.ios-arrow{
  width:0;height:0;margin:10px auto 0;
  border-left:10px solid transparent;
  border-right:10px solid transparent;
  border-top:14px solid rgba(var(--accent-rgb),.85);
  filter:drop-shadow(0 6px 10px rgba(var(--accent-rgb),.18));
}
.ios-steps{color:rgba(238,246,255,.88);line-height:1.55}

/* Footer */
.footer{
  margin:30px 0 10px;
  text-align:center;
  font-size:13px;
  color:var(--muted);
  border-top:1px solid rgba(var(--accent-rgb),.18);
  padding-top:12px;
}

/* Responsive */
@media (max-width: 860px){
  .install-actions{grid-template-columns:1fr}
  .quick-facts{grid-template-columns:repeat(2,1fr)}
  .grid{grid-template-columns:1fr}
  .shots img{width:140px;height:300px}
}
