:root{
  --ink:#f3fbf7; --muted:#8fae9f; --bg:#05130f; --bg2:#0a241c;
  --emerald:#00a86b; --gold:#c9a227; --line:rgba(243,251,247,.12);
  --font:"IBM Plex Sans Arabic","Segoe UI",system-ui,sans-serif;
}
*{box-sizing:border-box}
html,body{margin:0;height:100%}
body{
  background:radial-gradient(1200px 700px at 80% -10%,#0f3a2c 0%,var(--bg) 55%),
             radial-gradient(900px 600px at -10% 110%,#07231a 0%,transparent 60%);
  color:var(--ink); font-family:var(--font); display:flex; flex-direction:column;
  overflow:hidden;
}
.bar{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 26px; border-bottom:1px solid var(--line);
  backdrop-filter:blur(10px);
}
.brand{display:flex; align-items:center; gap:10px; font-weight:700; letter-spacing:.2px}
.dot{width:9px;height:9px;border-radius:50%;background:var(--emerald);box-shadow:0 0 14px var(--emerald)}
.meta{color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}
.stage{
  flex:1; display:flex; align-items:center; justify-content:center;
  gap:18px; padding:22px 18px; min-height:0;
}
.frame{
  position:relative; height:100%; max-width:min(1180px,92vw);
  display:flex; align-items:center; justify-content:center;
}
.frame img{
  max-height:100%; max-width:100%; border-radius:14px;
  box-shadow:0 30px 70px rgba(0,0,0,.55),0 0 0 1px rgba(201,162,39,.18);
  animation:rise .5s cubic-bezier(.2,.7,.2,1);
}
@keyframes rise{from{opacity:0;transform:translateY(14px) scale(.99)}to{opacity:1;transform:none}}
.nav{
  flex:none; width:46px;height:46px;border-radius:50%; cursor:pointer;
  background:rgba(243,251,247,.06); color:var(--ink); border:1px solid var(--line);
  font-size:24px; line-height:1; transition:.25s;
}
.nav:hover{background:var(--emerald); border-color:var(--emerald); transform:translateY(-2px)}
.controls{padding:6px 26px 18px; display:flex; flex-direction:column; gap:10px}
.progress{height:3px;background:rgba(243,251,247,.1);border-radius:99px;overflow:hidden}
.bar-fill{height:100%;width:8%;background:linear-gradient(90deg,var(--emerald),var(--gold));transition:width .35s ease}
.dots{display:flex; gap:7px; justify-content:center; flex-wrap:wrap}
.dots button{
  width:22px;height:4px;border-radius:99px;border:0;cursor:pointer;padding:0;
  background:rgba(243,251,247,.18); transition:.25s;
}
.dots button.on{background:var(--gold); width:34px}
.hint{text-align:center;color:var(--muted);font-size:12px}
@media (max-width:640px){
  .nav{display:none}
  .bar{padding:12px 16px}
  .stage{padding:12px}
}
