/* === Deutrino unified DESKTOP stylesheet (>=769px) with transparency tweaks === */

/* Reset-ish */
html, body { margin: 0; padding: 0; }
body {
  font: 16px/1.5 system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: #e6e8eb;
  background: #0b0d10;
  overflow-x: hidden;
}
a { color: #9bd0ff; text-decoration: none; }
a:hover { text-decoration: underline; }

/* Stage background */
.stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  /* Show the full-colour background without dimming */
  opacity: 1;
}
.stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Dim the page background slightly (10% darker) without affecting bubbles or other panels */
  filter: brightness(0.9);
}

/* Top text banner (transparent, 3 lines, no outline) */
.top-center-banner {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1200px, 96vw);
  padding: 10px 14px;
  background: transparent;
  border: none;
  z-index: 170;
  max-height: calc(1.2em * 20 + 24px);
  overflow: auto;
  text-align: center;
}
.top-center-banner .first-line {
  display: block;
  font-size: clamp(20px, 3.2vw, 32px);
  font-weight: 900;
  color: #fff;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
    -1px 1px 0 #000, 1px 1px 0 #000, 0 0 6px rgba(0, 0, 0, .6);
  line-height: 1.2;
  letter-spacing: .02em;
}
.top-center-banner .sub-text {
  display: block;
  margin-top: 4px;
  font-size: clamp(12px, 1.8vw, 16px);
  font-weight: 800;
  color: #fff;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000,
    -1px 1px 0 #000, 1px 1px 0 #000, 0 0 4px rgba(0, 0, 0, .5);
  line-height: 1.2;
  opacity: 1;
}

/* Bubbles (navigation/video) */
.bubble {
  position: absolute;
  display: block;
  border-radius: 50%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .45);
  border: 1px solid rgba(255, 255, 255, .18);
  overflow: hidden;
  /* Remove the dark tint; let inline background-image shine through fully */
  background-color: transparent;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.bubble .label {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  font-weight: 700;
  font-size: 13px;
  background: rgba(0, 0, 0, .55);
  padding: .25rem .5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .2);
}

/* Utility mini-bubbles */
.zui--utility {
  position: fixed;
  z-index: 200;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
}
.zui--utility.home-btn {
  top: 24px;
  right: 24px;
  background: url('https://deutrino.eu/assets/img/home.jpg') center/cover no-repeat;
}
.zui--utility.contact-btn {
  right: 24px;
  bottom: 24px;
  background: url('https://deutrino.eu/assets/img/contact.jpg') center/cover no-repeat;
}
.zui--utility.pdf-btn {
  left: 24px;
  bottom: 24px;
  background: url('https://deutrino.eu/assets/img/pdf.jpg') center/cover no-repeat;
}

/* Video overlay (unchanged) */
.video-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  display: none;
  z-index: 400;
}
.video-overlay.active { display: block; }
.video-overlay__player {
  position: absolute;
  inset: 10% 5% 25% 5%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .6);
}
.video-overlay__close {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 32px;
  line-height: 1;
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.video-overlay__caption {
  position: absolute;
  left: 5%;
  right: 5%;
  bottom: 8%;
  max-height: 18%;
  overflow: auto;
}

/* Bottom text panel (transparent, 5 lines, no outline) */
.video-description-panel {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: max(14px, env(safe-area-inset-bottom, 0) + 14px);
  width: min(92vw, 720px);
  background: transparent;
  border: none;
  color: #fff;
  font-weight: 800;
  line-height: 1.4;
  padding: 10px 12px;
  z-index: 180;
  max-height: calc(1.4em * 5 + 20px);
  overflow: auto;
  box-shadow: none;
}

/* === Contact page heading sizing === */
/* Make the top heading in the contact page roughly half the typical size so it does not dominate the layout on desktop */
.contact h1 {
  font-size: 16px;
  line-height: 1.3;
}

/* === Video bubble scaling === */
/* Enlarge the video bubble on desktop by 30%. Using a scale transform preserves the
   relative positioning defined inline in the HTML while increasing both width and
   height. Transform origin is centered so the bubble grows uniformly in all
   directions. */
.bubble.js-video-bubble {
  transform: scale(1.3);
  transform-origin: center;
}

/* Optional section styling (if used) */
main {
  position: relative;
  max-width: 1200px;
  margin: 120px auto 120px;
  padding: 0 20px;
}
.section {
  margin: 40px auto;
  max-width: 820px;
  background: rgba(255, 255, 255, .03);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
  padding: 18px;
}
/* --- Play arrow visibility & positioning FIX --- */
.bubble.js-video-bubble {
  /* Vrátíme původní chování, aby fungovalo left/bottom z HTML */
  position: absolute; /* místo relative */
  z-index: 200;
  font-size: 16px;
}

.bubble.js-video-bubble .play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(28px, 7vw, 56px);
  line-height: 1;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,.8);
  z-index: 2;
  pointer-events: none;
}

.bubble.js-video-bubble::before,
.bubble.js-video-bubble::after {
  z-index: 1;
}

