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

* {
  box-sizing: border-box;
}

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

body {
  background: radial-gradient(circle at 50% 0%, #182033 0%, #05070d 58%);
}

.stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: grid;
  place-items: center;
}

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

.controls {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  width: min(960px, calc(100vw - 24px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(5, 7, 13, 0.72);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
  opacity: 1;
  transition: opacity 220ms ease, transform 220ms ease;
}

.controls.is-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(18px);
}

.eyebrow,
h1 {
  margin: 0;
}

.eyebrow {
  color: #8ea0bb;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  font-size: 18px;
  line-height: 1.1;
}

.buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

button,
select {
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #f7f8fb;
  padding: 0 13px;
  font: inherit;
}

button {
  cursor: pointer;
}

button:hover,
select:hover {
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 680px) {
  .controls {
    align-items: stretch;
    flex-direction: column;
  }

  .buttons {
    justify-content: stretch;
  }

  button,
  select {
    flex: 1 1 130px;
  }
}
