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

body {
  font-family: 'Segoe UI', sans-serif;
  color: white;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

/* Background video stays behind everything */
.video-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.video-background video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  transform: translate(-50%, -50%);
  object-fit: contain; /* default: show full frame */
  background-color: black;
}

/* ✅ On small screens, zoom the video to fill */
@media (max-width: 768px) {
  .video-background video {
    object-fit: cover; /* Zoom in to fill screen on mobile */
  }
}

/* Countdown positioned in bottom center */
#content {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

/* Countdown list */
#content ul {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  list-style: none;
}

/* Each timer block */
#content li {
  background: rgba(0, 0, 0, 0.5);
  padding: 15px 20px;
  border-radius: 10px;
  min-width: 70px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  flex: 1 0 80px;
  text-align: center;
}

/* Number style */
#content span {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #ffcc00;
  margin-bottom: 5px;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  #content ul {
    gap: 15px;
  }

  #content li {
    padding: 12px 15px;
    min-width: 60px;
  }

  #content span {
    font-size: 2rem;
  }

  #content li {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  #content span {
    font-size: 1.8rem;
  }

  #content li {
    font-size: 0.85rem;
    padding: 10px 12px;
  }
}
