*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  background: #0a0a0a;
}

body {
  min-height: 100%;
  min-height: 100dvh;
  background: #0a0a0a;
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
}

.page {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0a0a0a;
  padding:
    env(safe-area-inset-top)
    env(safe-area-inset-right)
    env(safe-area-inset-bottom)
    env(safe-area-inset-left);
}

.hero {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Telefon/tablet w pionie — cała grafika widoczna (bez obcinania napisu) */
@media (max-width: 900px) and (orientation: portrait) {
  .hero {
    width: 100%;
    height: auto;
    max-height: 100%;
    object-fit: contain;
  }
}

@supports (-webkit-touch-callout: none) {
  .page {
    min-height: -webkit-fill-available;
  }
}
