* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}


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

.overlay {
  position: absolute;
  top: 20px;
  width: 100%;
  text-align: center;
  color: black;
  text-shadow: 2px 2px 4px black;
}

.overlay h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.overlay p {
  font-size: 1.9rem;
}

footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.7);
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

footer input {
  padding: 10px;
  font-size: 16px;
  width: 200px;
}

footer button {
  padding: 10px 15px;
  font-size: 16px;
  background-color: #2ecc71;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
}

#message {
  margin-left: 10px;
  color: white;
  font-weight: bold;
}
.password-box {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    padding: 20px;
    border-radius: 10px;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  }
  
  .password-box input {
    padding: 10px;
    font-size: 16px;
    width: 200px;
    border: none;
    border-radius: 4px;
  }
  
  .password-box button {
    padding: 10px 15px;
    font-size: 16px;
    background-color: #2ecc71;
    border: none;
    color: white;
    cursor: pointer;
    border-radius: 4px;
  }
  
  .password-box p {
    color: white;
    margin-left: 10px;
    font-weight: bold;
  }
  /* Make body and html full height */
html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
  }
  
  /* Make video fill the screen */
  .video-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Keep behind UI elements */
    overflow: hidden;
  }
  
  #doorVideo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the entire screen without distortion */
  }
  .overlay h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: #4b0082; /* Deep Purple */
    animation: pinkGlow 2s ease-in-out infinite;
    text-shadow:
      0 0 5px #ff69b4,
      0 0 10px #f700ff,
      0 0 20px #e100ff,
      0 0 30px #d900ff;
  }
  
  @keyframes pinkGlow {
    0% {
      text-shadow:
        0 0 5px #ff69b4,
        0 0 10px #e600ff,
        0 0 15px #ff00ee;
      transform: scale(1);
    }
    50% {
      text-shadow:
        0 0 10px #ff69b4,
        0 0 20px #cc00ff,
        0 0 30px #ff00ea;
      transform: scale(1.05);
    }
    100% {
      text-shadow:
        0 0 5px #ff69b4,
        0 0 10px #00f0ff,
        0 0 15px #00f0ff;
      transform: scale(1);
    }
  }
  #playNowBtn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 15px 30px;
    font-size: 20px;
    background-color: #4b0082;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 0 20px #00ffff;
    animation: fadeIn 1s ease forwards;
    z-index: 10;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, -60%); }
    to { opacity: 1; transform: translate(-50%, -50%); }
  }
  