:root {
  --bg: #111;
  --fg: #f2f2f2;
  --gap: 12px;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font:
    15px/1.4 "Inter",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    sans-serif;
}
#pages {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap);
  padding: var(--gap) var(--gap) calc(var(--gap) + 72px);
}
.page {
  --ar: 16 / 9;
  position: relative;
  aspect-ratio: var(--ar);
  background: #1c1c1c;
  width: min(100%, calc((100vh - 2 * var(--gap)) * (var(--ar))));
  box-shadow: 0 2px 16px rgb(0 0 0 / 0.5);
}
@supports (height: 100svh) {
  .page {
    width: min(100%, calc((100svh - 2 * var(--gap)) * (var(--ar))));
  }
}
.page .poster,
.page canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
.page canvas {
  z-index: 1;
}
.page a.link {
  position: absolute;
  z-index: 2;
  display: block;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
#status,
.noscript {
  position: fixed;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 3;
  margin: 0;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgb(0 0 0 / 0.85);
  text-align: center;
}
#status a,
.noscript a {
  color: var(--fg);
}
.actions {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 3;
  display: flex;
  gap: 8px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.4);
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-whatsapp {
  position: fixed;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: #25d366;
  color: #fff;
  width: 48px;
  height: 48px;
  padding: 0;
  justify-content: center;
}
.btn-whatsapp svg {
  width: 26px;
  height: 26px;
}
.btn-download {
  background: rgb(255 255 255 / 0.92);
  color: #111;
}
@media (max-width: 640px) {
  :root {
    --gap: 6px;
  }
}
.not-found {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px 16px;
  text-align: center;
}
.not-found img {
  border-radius: 20px;
}
.not-found h1 {
  margin: 0;
  font-size: 1.6rem;
}
.not-found p {
  margin: 0 0 8px;
  opacity: 0.8;
}
