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

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Microsoft JhengHei", sans-serif;
}

#container {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

#container video {
  object-fit: cover;
}

#overlay {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(20, 14, 10, 0.72);
  backdrop-filter: blur(2px);
}

#overlay.hidden {
  display: none;
}

#overlay-card {
  max-width: 340px;
  text-align: center;
  color: #f3ece4;
  padding: 32px 28px;
}

#overlay-card h1 {
  font-size: 30px;
  margin-bottom: 16px;
  color: #e8b98f;
}

#overlay-card p {
  font-size: 18px;
  line-height: 1.7;
  color: #d8cdc2;
  margin-bottom: 28px;
}

#start-btn {
  appearance: none;
  border: none;
  padding: 14px 36px;
  font-size: 20px;
  border-radius: 999px;
  background: #b5482f;
  color: #fff;
  cursor: pointer;
}

#start-btn:active {
  background: #953b26;
}

#hint {
  position: fixed;
  left: 50%;
  bottom: 68px;
  transform: translateX(-50%);
  z-index: 10;
  padding: 10px 18px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 13px;
  border-radius: 999px;
  white-space: nowrap;
}

#hint.hidden {
  display: none;
}

#home-btn {
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  z-index: 10;
  appearance: none;
  border: none;
  padding: 10px 22px;
  font-size: 14px;
  border-radius: 999px;
  background: #b5482f;
  color: #fff;
  cursor: pointer;
}

#home-btn:active {
  background: #953b26;
}

#credit {
  display: block;
  margin-top: 50px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

#credit:active {
  color: #ffffff;
}
