@font-face {
  font-family: "UniQueen Great Vibes";
  src: url("/fonts/GreatVibes-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

.welcome-ceremony {
  position: relative;
  isolation: isolate;
  min-height: max(100svh, 770px);
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 33%, rgb(238 203 208 / 32%), transparent 39%),
    radial-gradient(ellipse at 82% 70%, rgb(218 192 134 / 24%), transparent 43%),
    linear-gradient(145deg, #fffdf8 4%, #f9f5ec 48%, #f7efea 100%);
  color: #31594b;
}
.welcome-ceremony::before,
.welcome-ceremony::after {
  position: absolute;
  z-index: -1;
  width: min(39vw, 460px);
  aspect-ratio: 1;
  border: 1px solid rgb(190 152 92 / 25%);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}
.welcome-ceremony::before { top: -21vw; left: -11vw; }
.welcome-ceremony::after { right: -11vw; bottom: -26vw; }
.welcome-petals { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; }
.welcome-topline {
  position: absolute;
  top: 4%;
  left: 50%;
  z-index: 1;
  width: max-content;
  transform: translateX(-50%);
  color: #8a826f;
  font: 11px/1.5 Georgia, serif;
  letter-spacing: .25em;
}
.welcome-topline span { margin-inline: .7em; color: #bf9b5c; }
.welcome-greeting {
  position: absolute;
  top: 23%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: min(92%, 900px);
  justify-items: center;
  transform: translate(-50%, -12%);
  text-align: center;
  pointer-events: none;
}
.welcome-greeting-line {
  display: block;
  width: max-content;
  max-width: 100%;
  background: linear-gradient(155deg, #92703b 4%, #c9a667 31%, #926733 56%, #c2a069 87%);
  background-clip: text;
  color: transparent;
  font: 400 clamp(45px, 6.4vw, 85px)/1.28 "UniQueen Great Vibes", "Snell Roundhand", cursive;
  letter-spacing: .015em;
  filter: drop-shadow(0 2px 1px rgb(116 78 43 / 13%));
  white-space: nowrap;
}
.welcome-greeting-second { margin-top: -6px; font-size: clamp(38px, 5.4vw, 72px); }
.welcome-ceremony.is-animating .welcome-greeting-line { clip-path: inset(0 100% 0 0); }
.welcome-player-wrap {
  position: absolute;
  top: 43%;
  left: 50%;
  z-index: 3;
  width: clamp(220px, 20vw, 255px);
  transform: translateX(-50%);
  text-align: center;
}
.welcome-player {
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 3px solid #cfaf76;
  border-radius: 8px;
  background: #ddd4c6;
  box-shadow: 0 15px 45px rgb(72 58 47 / 19%);
}
.welcome-player iframe { display: block; width: 100%; height: 100%; border: 0; }
.welcome-ceremony.is-video-unavailable #welcome-player { display: none; }
.welcome-fallback {
  display: grid;
  place-content: center;
  gap: 18px;
  width: 100%;
  aspect-ratio: 9 / 16;
  border: 3px solid #cfaf76;
  border-radius: 8px;
  background: linear-gradient(160deg, #fffbf4, #f1e2e4 55%, #e9d9bd);
  box-shadow: 0 15px 45px rgb(72 58 47 / 14%);
  color: #557063;
  font-size: 14px;
}
.welcome-fallback[hidden] { display: none; }
.welcome-fallback span { color: #b98a52; font: 58px/1 Georgia, serif; }
.welcome-fallback p { margin: 0; }
.welcome-fallback a { color: #4c695d; text-decoration: underline; text-underline-offset: 4px; }
.welcome-video-credit { margin: 9px 0 0; color: #7c776d; font: 11px/1.5 Georgia, serif; }
.welcome-video-credit a { border-bottom: 1px solid #b9a077; color: #615746; }
.welcome-video-credit a:hover { color: #a56843; }
.welcome-actions {
  position: absolute;
  top: 3.2%;
  right: clamp(20px, 4vw, 60px);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #536c60;
  font-size: 12px;
}
.welcome-actions a,
.welcome-actions button {
  padding: 8px 12px;
  border: 1px solid #baaa8c;
  border-radius: 99px;
  background: rgb(255 253 248 / 84%);
  color: #31594b;
  font: inherit;
  cursor: pointer;
}
.welcome-actions button[hidden] { display: none; }
.welcome-actions a:hover,
.welcome-actions button:hover { background: #fff; border-color: #a87d48; }
#welcome-status { position: absolute; top: 42px; right: 0; width: 210px; text-align: right; line-height: 1.5; }
.welcome-privacy { position: absolute; right: 20px; bottom: 8px; left: 20px; margin: 0; color: #88837b; font-size: 10px; line-height: 1.45; text-align: center; }

@media (max-width: 620px) {
  .welcome-ceremony { min-height: max(100svh, 750px); }
  .welcome-topline { top: 3%; left: 20px; transform: none; font-size: 9px; letter-spacing: .13em; }
  .welcome-actions { top: 7%; right: 14px; }
  .welcome-greeting { top: 22%; width: 96%; }
  .welcome-greeting-line { font-size: clamp(30px, 8.6vw, 48px); }
  .welcome-greeting-second { margin-top: -2px; font-size: clamp(29px, 8vw, 43px); }
  .welcome-player-wrap { top: 38%; width: 220px; }
  .welcome-privacy { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .welcome-ceremony.is-animating .welcome-greeting-line { clip-path: none !important; }
  .welcome-petals { display: none; }
}
