:root { background: #000; color: #fff; }
html,body { height: 100%; margin: 0; background: #000; overflow: hidden; }

video {
  height: 100%;
  width: 100%;
  object-fit: contain;
  background:#000;
  transition: object-fit 0.3s ease;
}
.fit-cover { object-fit: cover; }
.fit-contain { object-fit: contain; background:#000; }

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.6) 15%, rgba(0,0,0,0) 50%);
  pointer-events: none;
}

.meta {
  position: absolute;
  left: 16px;
  bottom: 32px;
  right: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.7);
}
.title { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.desc { font-size: 14px; opacity: 0.9; line-height: 1.3; }

.controls {
  position: absolute;
  top: 16px;
  right: 16px;
  display:flex;
  gap:8px;
  z-index: 10;
}
.btn {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  padding: 8px 12px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 14px;
  backdrop-filter: blur(4px);
  transition: background 0.2s;
}
.btn:hover { background: rgba(255,255,255,0.3); }

.loader {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  font-size: 16px;
  opacity: 0.85;
}
