* { box-sizing: border-box; margin: 0; }
body { font-family: system-ui, sans-serif; color: #fff; background: #10224a; text-align: center; }
.page { min-height: 100vh; padding: 24px 16px; display: grid; gap: 16px; justify-items: center; align-content: start; background-size: cover; }
.app { display: flex; gap: 10px; align-items: center; text-align: left; }
.app img { width: 44px; height: 44px; border-radius: 10px; }
.stars { display: block; font-size: 13px; color: #f2b632; }
h1 { font-size: 30px; line-height: 1.15; }
em { color: #f2b632; font-style: normal; }
.wheel { cursor: pointer; }
.wheel img { width: 240px; max-width: 80vw; display: block; transition: transform 3s cubic-bezier(.2, .8, .2, 1); }
.install { width: 100%; max-width: 360px; border: 0; border-radius: 14px; padding: 14px; background: #1db954; color: #fff; font-size: 20px; font-weight: 700; display: grid; gap: 2px; cursor: pointer; }
.install small { font-size: 13px; font-weight: 400; }
.reviews { width: 100%; max-width: 360px; display: grid; gap: 8px; text-align: left; }
.reviews article { background: rgba(255, 255, 255, .1); border-radius: 10px; padding: 10px; display: flex; gap: 10px; align-items: flex-start; }
.reviews article img { width: 36px; height: 36px; border-radius: 50%; flex: none; }

/* The page state comes from the PWA engine: ready | waiting | installing | finished | installed | redirecting */
body[data-pwa-state="installing"] .install { opacity: .7; }
/* Installed: the engine writes "Open" (data-pwa-open-text) into btn_text, the bonus line is hidden */
body[data-pwa-state="installed"] .install small,
body[data-pwa-state="finished"] .install small { display: none; }
/* Android: data-pwa-busy is set on the pressed button while the engine shows .pwa-busy-spinner */
.install[data-pwa-busy] { cursor: progress; }
/* The visitor scrolled the page down by more than 20 px */
body[data-pwa-scrolled] .app { opacity: .8; }
