@font-face {
  font-family: Roboto;
  src: url("../fonts/playstore/roboto.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans Bengali";
  src: url("../fonts/playstore/noto-sans-bengali.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --canvas: #130d2c;
  --panel: #23184e;
  --field: #191230;
  --install-green: #00815b;
  --bt-purple: #c1a9ff;
  --bt-heading: #f7f3ff;
  --bt-line: #493769;
  --ink: #e9e4f2;
  --muted: #bdb5cc;
  --gutter: 48px;
  color: var(--ink);
  font: 14px/1.5 Roboto, "Noto Sans Bengali", Arial, sans-serif;
  background: var(--canvas);
}
*, *::before, *::after { box-sizing: border-box; }
body {
  min-height: 100vh; margin: 0; -webkit-font-smoothing: antialiased;
  background: radial-gradient(ellipse 75% 420px at 85% 0%, #2a1a50 0%, transparent 80%), var(--canvas);
}
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; }
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--bt-purple); outline-offset: 2px; }
.ps-sprite { position: absolute; pointer-events: none; }
.ps-icon { display: block; flex: none; fill: currentColor; }
.ps-bar {
  position: sticky; top: 0; z-index: 3;
  background: linear-gradient(108deg, #21143f, #35205d 58%, #47277f);
  border-bottom: 1px solid #5c4284;
}
.ps-bar-inner {
  width: calc(100% - var(--gutter) * 2); max-width: 1296px; margin: auto;
  display: flex; align-items: center; justify-content: space-between; min-height: 52px;
}
.ps-bar-title { color: var(--bt-heading); font-size: 20px; font-weight: 600; line-height: 1.25; }
.ps-language {
  position: relative; display: inline-flex; align-items: center; min-height: 52px;
  padding-inline: 12px; color: #f1eaff; font-size: 14px; font-weight: 500;
}
.ps-language:hover { color: #fff; }
.ps-language::before {
  content: ""; position: absolute; inset: 9px 0; border: 1px solid #8c73ad; border-radius: 7px;
}
.ps-language:focus-visible { outline-color: white; outline-offset: -3px; }
#overview, #screenshots, #details { scroll-margin-top: 66px; }
@media (prefers-reduced-motion: no-preference) {
  #screenshots:target h2, #details:target h2 { animation: ps-section-arrival 1.4s ease-out; }
  @keyframes ps-section-arrival { from { color: var(--bt-purple); } to { color: var(--bt-heading); } }
}
.ps-container { margin: 20px auto 0; width: calc(100% - var(--gutter) * 2); max-width: 1296px; }
.ps-hero { position: relative; }
.ps-identity h1 { color: var(--bt-heading); margin: 0 0 4px; font-size: 44px; line-height: 1.12; font-weight: 500; }
.ps-identity h1 span { display: block; margin-top: 3px; font-size: 20px; font-weight: 500; line-height: 1.45; }
.ps-app-icon {
  position: absolute; right: 0; top: 0; width: 144px; height: 144px;
  border-radius: 20%; box-shadow: 0 0 0 1px #a389df38, 0 4px 14px #09051966;
}
.ps-developer { font-weight: 500; font-size: 16px; line-height: 24px; color: var(--bt-purple); }
.ps-category, .ps-stats dt { font-size: 12px; line-height: 18px; letter-spacing: .3px; color: var(--muted); }
.ps-stats { display: flex; align-items: center; margin: 15px 0 0; }
.ps-stats div { display: flex; flex-direction: column-reverse; align-items: center; position: relative; min-width: 86px; padding: 0 18px; }
.ps-stats div:first-child { padding-left: 0; min-width: 76px; }
.ps-stats div + div::before {
  content: ""; position: absolute; left: 0; top: 8px; height: 24px; width: 1px; background: var(--bt-line);
}
.ps-stats dd { margin: 0; font-weight: 500; line-height: 24px; }
.ps-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin-top: 14px; }
.ps-install, .ps-action {
  display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 8px; font-weight: 500;
}
.ps-install { width: 160px; min-height: 40px; color: white; background: var(--install-green); box-shadow: inset 0 0 0 1px #7ce7bb42; }
.ps-install:hover { background: #00724f; }
.ps-action { gap: 8px; min-height: 40px; padding: 0 10px; background: var(--panel); color: var(--bt-purple); box-shadow: inset 0 0 0 1px var(--bt-line); }
.ps-action:hover { background: #342557; }
.ps-availability { margin: 0; color: var(--muted); }
.ps-columns { display: grid; grid-template-columns: minmax(0,1fr) 276px; align-items: start; gap: 40px; margin-top: 28px; }
.ps-primary { min-width: 0; }
.ps-columns h2, .ps-popup h2 { color: var(--bt-heading); font-size: 20px; line-height: 28px; font-weight: 500; margin: 0 0 10px; }
.ps-gallery { position: relative; }
.ps-strip { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 0 3px; margin-bottom: -3px; }
.ps-strip::-webkit-scrollbar { display: none; }
.ps-strip button { flex: none; scroll-snap-align: start; display: block; border: 0; padding: 0; border-radius: 8px; background: transparent; }
.ps-strip img { height: 228px; width: auto; display: block; border-radius: inherit; box-shadow: 0 1px 4px #08041299; }
.ps-strip button span { display: block; padding-top: 5px; text-align: left; color: var(--muted); font-size: 13px; }
.ps-circle {
  position: absolute; top: 50%; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; color: var(--bt-purple); border: 0; box-shadow: inset 0 0 0 1px #705799, 0 2px 6px #10082088; background: var(--panel);
}
.ps-circle[hidden] { display: none; }
.ps-prev { left: 0; transform: translate(-50%,-50%); }
.ps-next { right: 0; transform: translate(50%,-50%); }
.ps-prev svg, .ps-view-prev svg { transform: rotate(180deg); }
.ps-about { padding: 18px 20px; border: 1px solid var(--bt-line); border-radius: 16px; background: linear-gradient(145deg, var(--panel), #1c143a); }
.ps-about p { margin: 0; color: var(--muted); line-height: 1.6; }
.ps-footer {
  margin-top: 24px; padding: 12px 0 18px; border-top: 1px solid var(--bt-line);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: var(--muted); font-size: 13px;
}
.ps-footer strong { color: var(--bt-heading); font-size: 14px; font-weight: 500; }
.ps-popup, #ps-viewer { border: 0; color: var(--ink); background: var(--panel); }
dialog::backdrop { background: #090516cc; }
.ps-popup { padding: 24px; width: min(420px, 90vw); border-radius: 16px; box-shadow: inset 0 0 0 1px var(--bt-line), 0 10px 42px #07031199; }
.ps-popup form { float: right; }
.ps-popup button, #ps-viewer button { background: transparent; border: none; color: inherit; padding: 7px; border-radius: 6px; }
.ps-popup input { width: 100%; padding: 10px; border: 1px solid #685282; background: var(--field); color: var(--ink); border-radius: 6px; margin: 6px 0; }
.ps-popup #ps-copy { color: var(--bt-purple); font-weight: 500; }
#ps-viewer[open] { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px; margin: 0; width: 100%; height: 100%; max-width: none; max-height: none; background: #100b20; color: var(--ink); }
#ps-viewer form { position: absolute; top: 14px; right: 14px; z-index: 1; }
#ps-viewer img { max-height: 85%; max-width: calc(100% - 100px); width: auto; height: auto; object-fit: contain; }
#ps-viewer button:disabled { opacity: .25; }
@media (min-width: 1280px) {
  :root { --gutter: 72px; }
  .ps-identity h1 { font-size: 50px; line-height: 1.12; }
  .ps-app-icon { width: 164px; height: 164px; }
  .ps-install { width: 200px; height: 44px; font-size: 16px; }
  .ps-columns { grid-template-columns: minmax(0,1fr) 364px; }
  .ps-columns h2 { font-size: 22px; }
  .ps-strip { gap: 16px; }
  .ps-strip img { height: 268px; }
}
@media (max-width: 959px) {
  .ps-columns { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .ps-about { border: 0; padding: 0; background: transparent; }
}
@media (max-width: 839px) {
  .ps-container { margin-top: 14px; }
  .ps-identity { display: flex; align-items: center; gap: 14px; }
  .ps-app-icon { position: static; width: 72px; height: 72px; flex: none; }
  .ps-identity h1 { margin-bottom: 2px; }
}
@media (max-width: 599px) {
  :root { --gutter: 20px; }
  .ps-bar-inner { min-height: 46px; }
  .ps-language { min-height: 46px; }
  #overview, #screenshots, #details { scroll-margin-top: 58px; }
  .ps-identity h1 { font-size: 26px; line-height: 32px; }
  .ps-actions { justify-content: center; }
  .ps-install { flex: 1; min-height: 44px; }
  .ps-availability { flex: 1; }
  .ps-action { min-height: 44px; }
  .ps-identity h1 span { font-size: 16px; }
  .ps-columns { margin-top: 20px; }
  .ps-prev { left: 6px; }
  .ps-next { right: 6px; }
  .ps-footer { margin-top: 16px; }
}
@media (pointer: coarse) {
  .ps-circle { display: none; }
}
@media (max-width: 399px) {
  .ps-bar-inner { width: calc(100% - 20px); }
  .ps-language { padding-inline: 8px; }
}
