html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #121212;
  color: white;
  overflow: hidden;
}

#content-display {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

#content-display img,
#content-display video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-title {
  pointer-events: auto;
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 8px 16px;
  background: rgba(30, 30, 30, 0.6);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 1.2rem;
  border-radius: 8px;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  max-width: 80vw;
  max-height: 40px;
  overflow: hidden;
  text-align: center;
  z-index: 1000;
  width: auto;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  text-overflow: ellipsis;
}

.admin-button {
  pointer-events: auto;
  position: fixed;
  top: 10px;
  right: 10px;
  background: transparent;
  border: 2px solid white;
  border-radius: 50%;
  padding: 6px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1000;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.show-admin-button .admin-button {
  opacity: 1;
}

#progress-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 5px;
  background-color: #0077b6;
  width: 0%;
  transition: width linear;
  z-index: 1000;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
