/*
Theme Name: GBM Cinema — New Reality
Theme URI: https://gobrazymusic.com/
Author: Go Brazy Music
Description: Full-screen looping video with the New Reality soundtrack, sound controls, and GBM site identity.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: gbm-cinema
*/

:root { color-scheme: dark; --gbm-edge: clamp(1rem, 3vw, 2rem); }
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: #050505; color: #fff; }
body { font-family: Arial, Helvetica, sans-serif; }
button, input { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.gbm-cinema { position: fixed; inset: 0; overflow: hidden; isolation: isolate; background: #050505; }
.gbm-film-link { position: absolute; inset: 0; display: block; color: inherit; }
.gbm-film { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.gbm-film-link:focus-visible { outline: 3px solid #fff; outline-offset: -8px; }
.gbm-controls {
  position: absolute; z-index: 2;
  right: max(var(--gbm-edge), env(safe-area-inset-right));
  bottom: max(var(--gbm-edge), env(safe-area-inset-bottom));
  display: flex; align-items: center; gap: 0.65rem;
  max-width: calc(100% - 2rem); padding: 0.35rem 0.8rem 0.35rem 0.35rem;
  border: 1px solid rgb(255 255 255 / 28%); border-radius: 999px;
  background: rgb(0 0 0 / 72%); backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgb(0 0 0 / 18%);
}
.gbm-control {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-width: 44px; min-height: 44px; padding: 0.65rem;
  border: 0; border-radius: 999px; background: transparent; color: #fff;
  font-size: 0.8rem; white-space: nowrap;
}
.gbm-control:hover { background: rgb(255 255 255 / 12%); }
.gbm-control:disabled { cursor: default; opacity: 0.55; }
.gbm-control svg { width: 18px; height: 18px; flex: none; fill: currentColor; }
.gbm-control:focus-visible, .gbm-volume:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.gbm-volume { width: clamp(4.5rem, 10vw, 7rem); min-width: 0; height: 44px; margin: 0; accent-color: #fff; cursor: pointer; }
.gbm-video-toggle { border-right: 1px solid rgb(255 255 255 / 22%); border-radius: 999px 0 0 999px; }
.gbm-notice {
  position: absolute; z-index: 2; bottom: calc(var(--gbm-edge) + 4.5rem); right: var(--gbm-edge);
  max-width: min(28rem, calc(100% - 2rem)); margin: 0; padding: 0.65rem 0.9rem;
  border-radius: 0.4rem; background: rgb(0 0 0 / 80%); font-size: 0.85rem; line-height: 1.5;
}
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.admin-bar .gbm-cinema { top: 32px; }
@media (max-width: 782px) { .admin-bar .gbm-cinema { top: 46px; } }
@media (max-width: 480px) {
  .gbm-controls { right: 50%; transform: translateX(50%); gap: 0.3rem; }
  .gbm-control { font-size: 0.75rem; }
}
