:root {
  --ink: rgba(232, 226, 210, 0.7);
  --amber: #e0a464;
  --amber-glow: rgba(224, 164, 100, 0.35);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  height: 100%;
  background: #000;
  color: var(--ink);
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  overflow: hidden;
}

/* the whole video, never cropped — letterboxed if aspect ratios differ */
.bg {
  position: fixed; inset: 0;
  width: 100%; height: 100%;
  object-fit: contain;
}

.player {
  position: fixed;
  left: 50%; bottom: 4.5vh;
  transform: translateX(-50%);
  text-align: center;
}

.power {
  width: 46px; height: 46px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(224, 164, 100, 0.45);
  background: rgba(8, 7, 5, 0.4);
  color: var(--amber);
  cursor: pointer;
  transition: box-shadow 0.35s, transform 0.2s, opacity 0.3s;
  backdrop-filter: blur(3px);
  opacity: 0.85;
}
.power:hover { box-shadow: 0 0 18px var(--amber-glow); opacity: 1; }
.power:active { transform: scale(0.95); }
body.on .power { animation: breathe 5.5s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { box-shadow: 0 0 8px rgba(224, 164, 100, 0.15); }
  50% { box-shadow: 0 0 22px rgba(224, 164, 100, 0.38); }
}

.icon-stop { display: none; }
body.on .icon-play { display: none; }
body.on .icon-stop { display: block; }

.caption {
  margin: 12px 0 0;
  font-size: 10px;
  letter-spacing: 0.32em; padding-left: 0.32em;
  text-transform: lowercase;
  color: var(--ink);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.9);
}
