:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #030201;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: #030201;
}

.stage {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: #030201;
}

.quest-video {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  background: #030201;
}

.menu-stage {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background:
    linear-gradient(180deg, rgba(3, 2, 1, 0.28), rgba(3, 2, 1, 0.78)),
    url("assets/orc-poster.jpg") center / cover no-repeat,
    #030201;
}

.quest-menu {
  display: block;
  width: 92vw;
  max-width: 720px;
}

.menu-button,
.corner-link {
  border: 1px solid rgba(255, 221, 162, 0.52);
  border-radius: 8px;
  color: #fff3da;
  background: linear-gradient(180deg, rgba(125, 48, 14, 0.92), rgba(54, 18, 8, 0.96));
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
}

.menu-button {
  display: block;
  margin-top: 18px;
  padding: 22px 26px;
  font-size: 36px;
  font-size: clamp(22px, 4vw, 42px);
}

.menu-button:first-child {
  margin-top: 0;
}

.menu-button.secondary {
  color: #f8dfb8;
  background: rgba(28, 15, 8, 0.92);
  font-size: 24px;
  font-size: clamp(18px, 2.8vw, 30px);
}

.menu-button:focus,
.corner-link:focus {
  outline: 4px solid #ffd58c;
  outline-offset: 5px;
}

.corner-link {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  padding: 12px 16px;
  font-size: 17px;
}

.corner-link-left {
  right: auto;
  left: 16px;
}

.start-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at center, rgba(230, 123, 36, 0.16), transparent 42%),
    rgba(3, 2, 1, 0.58);
  opacity: 1;
  transition: opacity 420ms ease;
}

.start-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.start-button {
  min-width: min(72vw, 300px);
  min-height: 58px;
  border: 1px solid rgba(255, 221, 162, 0.48);
  border-radius: 8px;
  padding: 14px 24px;
  color: #fff3da;
  background: linear-gradient(180deg, rgba(125, 48, 14, 0.92), rgba(54, 18, 8, 0.95));
  box-shadow:
    0 16px 42px rgba(0, 0, 0, 0.48),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font: inherit;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
}

.start-button:focus-visible {
  outline: 3px solid #ffd58c;
  outline-offset: 4px;
}

.start-button:focus {
  outline: 3px solid #ffd58c;
  outline-offset: 4px;
}

.start-button:active {
  transform: translateY(1px);
}
