:root {
  color-scheme: dark;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  margin: 0;
  background: #050505;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: Georgia, "Times New Roman", serif;
}

.page {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100svh;
  min-height: 100vh;
  background: #050505;
}

.intro-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #050505;
  user-select: none;
  -webkit-user-select: none;
}

.intro-video::-webkit-media-controls,
.intro-video::-webkit-media-controls-enclosure,
.intro-video::-webkit-media-controls-panel,
.intro-video::-webkit-media-controls-play-button,
.intro-video::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0 !important;
}

.open-button {
  position: absolute;
  left: 50%;
  bottom: calc(88px + var(--safe-bottom));
  transform: translateX(-50%);
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  padding: 10px 18px 11px;
  background: rgba(0, 0, 0, 0.26);
  color: rgba(255, 255, 255, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 4.1vw, 19px);
  letter-spacing: 0.015em;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.open-button:active {
  transform: translateX(-50%) scale(0.98);
}

.open-button.is-hidden {
  pointer-events: none;
  opacity: 0;
  transition: opacity 450ms ease;
}

@media (max-height: 700px) {
  .open-button {
    bottom: calc(74px + var(--safe-bottom));
  }
}
