/* ArezzoMT2 v174 - widoczne tło prezentacji jak na głównej
   HARD FIX: dodaje realne warstwy z grafikami z głównej strony, a nie tylko ciemny overlay.
*/

/* Przy bocznym menu nie pokazujemy górnej belki prezentacji. */
header.az126-presentation-topbar,
header.az161-presentation-topbar,
.az126-presentation-topbar,
.az161-presentation-topbar {
  display: none !important;
}

/* Główne tło - scena z głównej strony. */
.az126-site-bg {
  position: fixed !important;
  inset: 0 !important;
  z-index: 0 !important;
  display: block !important;
  overflow: hidden !important;
  pointer-events: none !important;
  background:
    #07040a
    url('../../themes/1/images/az79-stage-bg.jpg')
    center center / cover no-repeat fixed !important;
}

.az126-site-bg video {
  display: none !important;
}

/* Ciemna warstwa, ale nie tak mocna, żeby tło znikało. */
.az126-site-bg::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background:
    radial-gradient(circle at 18% 24%, rgba(210, 39, 61, .28), transparent 35%),
    radial-gradient(circle at 82% 24%, rgba(210, 39, 61, .22), transparent 35%),
    linear-gradient(90deg, rgba(0,0,0,.62), rgba(0,0,0,.24) 50%, rgba(0,0,0,.66)),
    linear-gradient(180deg, rgba(6,4,9,.12), rgba(6,4,9,.66)) !important;
}

/* Dodatkowe postacie z głównej strony - to jest widoczna różnica względem starego ciemnego tła. */
.az174-main-bg-art {
  position: fixed !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  overflow: hidden !important;
  display: block !important;
}

.az174-main-bg-art .az174-left,
.az174-main-bg-art .az174-right {
  position: absolute !important;
  top: 72px !important;
  bottom: 0 !important;
  width: 34vw !important;
  max-width: 520px !important;
  min-width: 330px !important;
  opacity: .42 !important;
  background-repeat: no-repeat !important;
  background-size: contain !important;
  filter: saturate(1.08) contrast(1.05) brightness(.82) !important;
}

.az174-main-bg-art .az174-left {
  left: 265px !important;
  background-image: url('../../themes/1/images/az79-char-left.png') !important;
  background-position: left bottom !important;
}

.az174-main-bg-art .az174-right {
  right: 0 !important;
  background-image: url('../../themes/1/images/az79-char-right.png') !important;
  background-position: right bottom !important;
}

/* Zawartość strony musi być nad tłem i grafikami. */
.az167-side,
.az168-side,
.az169-side,
.az126-presentation-page .azp-presentation,
.az126-presentation-page .azp-wrap,
.az126-presentation-page .azp-frame,
.az126-presentation-page .azp-content,
.azp-float {
  position: relative !important;
  z-index: 5 !important;
}

/* Strona nie może przykrywać tła jednolitą warstwą. */
html,
body.az126-presentation-page,
body.az125-presentation-page {
  background: #07040a !important;
}

body.az126-presentation-page::before,
body.az126-presentation-page::after,
body.az125-presentation-page::before,
body.az125-presentation-page::after {
  display: none !important;
  content: none !important;
}

/* Panel prezentacji bardziej transparentny/premium, żeby nowe tło było widoczne. */
.az126-presentation-page .azp-frame {
  background:
    radial-gradient(circle at 50% 0%, rgba(180, 42, 58, .12), transparent 34%),
    linear-gradient(180deg, rgba(12, 8, 17, .48), rgba(6, 5, 10, .68)) !important;
  border-color: rgba(255, 63, 86, .34) !important;
  box-shadow:
    0 28px 80px rgba(0,0,0,.54),
    0 0 45px rgba(160, 35, 55, .14),
    inset 0 1px 0 rgba(255,255,255,.035) !important;
  backdrop-filter: blur(1.5px) !important;
}

/* Puste przestrzenie obok prezentacji mają pokazywać tło. */
.az126-presentation-page .azp-presentation,
.az126-presentation-page .azp-wrap,
.az126-presentation-page .azp-content,
.az126-presentation-page .azp-image-block,
.az126-presentation-page .azp-image-row {
  background: transparent !important;
}

/* Lewy panel: czytelny, ale nie całkiem płaski. */
.az167-side,
.az168-side,
.az169-side {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 63, 86, .15), transparent 34%),
    linear-gradient(180deg, rgba(10, 9, 17, .955), rgba(6, 5, 11, .985)) !important;
  border-right-color: rgba(255, 63, 86, .38) !important;
  box-shadow:
    18px 0 48px rgba(0,0,0,.44),
    0 0 42px rgba(160, 35, 55, .12),
    inset -1px 0 0 rgba(255,255,255,.025) !important;
}

@media (max-width: 1100px) {
  .az174-main-bg-art .az174-left,
  .az174-main-bg-art .az174-right {
    opacity: .26 !important;
  }

  .az174-main-bg-art .az174-left {
    left: 0 !important;
  }
}
