/* === BASE === */
* { box-sizing: border-box; }
html, body {
  height: 100%;
  margin: 0;
  background: #000;
  color: #fff;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial;
}

/* === PLAYER LAYOUT === */
.player {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-rows: 1fr 48px; /* conteúdo + ticker */
  width: 100vw;
  height: 100vh;
}

.stage {
  position: relative;
  overflow: hidden;
  background: #000;
}

/* Crossfade suave */
.slide {
  position: absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition: opacity 600ms ease;
  will-change: opacity;
}
.slide.active { opacity: 1; }

/* Fundo desfocado + zoom (só para imagens: elementa .bg-blur só é criado em imagens) */
.slide .bg-blur {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(20px);
  opacity: 0.7;
  z-index: 0;
  animation: bgZoom 20s ease-in-out infinite alternate; /* zoom lento fixo */
}
@keyframes bgZoom {
  from { transform: scale(1) translateZ(0); }
  to   { transform: scale(1.1) translateZ(0); }
}

/* imagem/vídeo principal */
.slide img:not(.bg-blur),
.slide video {
  position: relative;
  z-index: 1;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
  height: auto;
}

/* === TICKER === */
.ticker {
  background: rgb(24, 55, 96);
  border-top: 1px solid rgba(0,0,0,.15);
  overflow: hidden;
}
.ticker__viewport {
  position: relative;
  width: 100%;
  height: 48px;
  overflow: hidden;
  display: flex;
  align-items: center; /* centra verticalmente */
}
.ticker__track {
  position: absolute;
  left: 0; top: 0;
  height: 100%;
  display: flex;        /* centra verticalmente o conteúdo */
  align-items: center;
  white-space: nowrap;
  transform: translateX(0); /* JS só mexe no X */
}
.ticker__text {
  display: inline-block;
  padding: 0 24px;
  line-height: 1;
  color: #fff;          /* texto branco */
  font-weight: 600;
}

