
@import url('../fonts/fonts.css');

#weiOverlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #F9F0E0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  transition: opacity 1.4s ease;
}

#weiImg {
  width: 100%;
  max-width: 440px;
  display: block;
  object-fit: contain;
}

#weiTapWrap {
  position: absolute;
  bottom: 30%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  animation: weiTapIn 1.2s 0.8s both;
}

@keyframes weiTapIn {
  from { opacity: 0; transform: translateX(-50%) translateY(6px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

#weiTapLabel {
  font-family: 'Cinzel', Georgia, serif;
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(140, 100, 60, 0.75);
  animation: weiPulse 2.4s 1.6s ease-in-out infinite;
  white-space: nowrap;
}

@keyframes weiPulse {
  0%, 100% { opacity: 0.45; letter-spacing: 0.26em; }
  50%       { opacity: 1;    letter-spacing: 0.30em; }
}

.wei-chevron {
  width: 10px;
  height: 10px;
  border-right: 1.5px solid rgba(140, 100, 60, 0.6);
  border-top: 1.5px solid rgba(140, 100, 60, 0.6);
  transform: rotate(-45deg);
  animation: weiChevron 2.4s 1.9s ease-in-out infinite;
}

@keyframes weiChevron {
  0%, 100% { transform: rotate(-45deg) translate(0, 0); opacity: 0.6; }
  50%       { transform: rotate(-45deg) translate(2px, -2px); opacity: 1; }
}

#weiVideoWrap {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F9F0E0;
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

#weiVideoWrap.wei-video-in {
  opacity: 1;
  pointer-events: all;
}

#weiVideoWrap.wei-video-out {
  opacity: 0;
  transition: opacity 1.4s ease;
}

#weiVideo {
  width: 100%;
  max-width: 440px;
  display: block;
  object-fit: contain;
}

/* ── Floating audio button — hidden until invitation revealed ── */
#weiAudioBtn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: #5A0F1B;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2147483647;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

#weiAudioBtn svg {
  width: 30px;
  height: 30px;
  fill: white;
}
