:root {
  color-scheme: dark;
  --bg: #050406;
}

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

body {
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
  font-family: "Montserrat", "Avenir Next", "Helvetica Neue", "Arial",
    system-ui, sans-serif;
}

.frame {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

/* Decoration layer — behind player */
.stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.alien {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  opacity: 0.3;
}

.alien img {
  display: block;
  width: auto;
  height: 100%;
}

.logo {
  position: absolute;
  left: 2%;
  bottom: 2%;
  width: clamp(80px, 12vw, 180px);
  opacity: 0.35;
}

.logo img,
.logo picture {
  display: block;
  width: 100%;
  height: auto;
}

/* Player — hero layer */
.player {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.player iframe {
  width: min(90vw, 90vh * 16 / 9);
  height: min(90vh, 90vw * 9 / 16);
  border: none;
  border-radius: 4px;
}

@media (max-width: 720px) {
  .alien {
    opacity: 0.2;
  }

  .logo {
    width: clamp(60px, 16vw, 120px);
  }
}
