* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  background: #000;
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  overflow: hidden;
}

#container {
  position: relative;
  width: 100vw;
  height: 100vh;
}

#player {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

#bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.7));
  display: flex;
  align-items: center;
  overflow: hidden;
}

#info-section {
  display: flex;
  gap: 48px;
  padding: 0 40px;
  font-size: 2.2rem;
  font-weight: 400;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  white-space: nowrap;
  z-index: 2;
  align-items: center;
}

#clock {
  color: #fff;
  font-weight: 300;
}

#date {
  color: #fff;
}

#weather {
  color: #fff;
  display: flex;
  align-items: center;
  gap: 16px;
}

#ticker-container {
  position: absolute;
  left: 0;
  right: 0;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, transparent 650px, black 850px, black calc(100% - 100px), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, transparent 650px, black 850px, black calc(100% - 100px), transparent);
}

#ticker {
  font-size: 2.2rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  white-space: nowrap;
  padding-left: 100%;
  display: inline-block;
  animation: scroll-left 60s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

#status {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.5rem;
  opacity: 0.7;
}

#status.hidden { display: none; }
