#boda-intro {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: #e8d9c4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
  -webkit-user-select: none;
  user-select: none;
}

#boda-intro .boda-intro-poster {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #e8d9c4;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: opacity 0.35s ease;
}

#boda-intro video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#boda-intro.boda-intro-playing .boda-intro-poster {
  opacity: 0;
  pointer-events: none;
}

#boda-intro.boda-intro-playing video {
  opacity: 1;
}

#boda-intro .boda-intro-tap {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: clamp(48px, 12vw, 80px);
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

#boda-intro .boda-intro-tap:focus-visible {
  outline: 2px solid rgba(44, 26, 14, 0.35);
  outline-offset: -4px;
}

#boda-intro .boda-intro-tap-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(18px, 5vw, 24px);
  color: #2c1a0e;
  text-shadow: 0 1px 8px rgba(245, 237, 224, 0.85);
  margin-bottom: 12px;
  opacity: 0.92;
}

#boda-intro .boda-intro-tap-pulse {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(74, 55, 40, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: boda-intro-pulse 2s ease-in-out infinite;
}

#boda-intro .boda-intro-tap-pulse svg {
  opacity: 0.7;
}

#boda-intro.boda-intro-playing .boda-intro-tap {
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

#boda-intro.boda-intro-exit {
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

@keyframes boda-intro-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.06);
    opacity: 1;
  }
}

body.boda-intro-active {
  overflow: hidden;
}

body.boda-intro-active #root {
  visibility: hidden;
}
