.sl-demo-page {
  margin: 0;
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #050608;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

.sl-demo-page__game {
  flex: 1 1 auto;
  min-height: 0;
}

.sl-demo-page__game iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}

.sl-demo-page__cta {
  flex: 0 0 auto;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  text-align: center;
  background: linear-gradient(180deg, #0b1020 0%, #050608 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sl-demo-page__btn {
  display: inline-block;
  min-width: min(320px, 100%);
  padding: 14px 28px;
  border-radius: 999px;
  background: #f0b429;
  color: #1a1200;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(240, 180, 41, 0.35);
}

.sl-demo-page__btn.is-hidden {
  display: none;
}

.sl-demo-page__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.sl-demo-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(5, 6, 8, 0.82);
  backdrop-filter: blur(4px);
}

.sl-demo-modal.is-hidden {
  display: none;
}

.sl-demo-modal__card {
  width: min(420px, 100%);
  padding: 28px 24px 22px;
  border-radius: 16px;
  background: #121820;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  text-align: center;
  color: #e8eef5;
}

.sl-demo-modal__card p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.45;
}

.sl-demo-modal__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: stretch;
}

.sl-demo-modal__primary {
  display: block;
  padding: 14px 20px;
  border-radius: 999px;
  background: #f0b429;
  color: #1a1200;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(240, 180, 41, 0.35);
}

.sl-demo-modal__ghost {
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #9db5aa;
  font-size: 14px;
  cursor: pointer;
}

.sl-demo-modal__ghost:hover {
  color: #e8eef5;
}
