@font-face {
  font-family: Neo;
  src: url("/fonts/neodgm.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: light;
  --ink: #153b3a;
  --paper: #f7f4e9;
  --muted: #6f7c70;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-rounded, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #00a77f;
  outline-offset: 6px;
}
header,
footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 5vw;
}
header {
  height: 110px;
}
header img {
  filter: brightness(0) saturate(100%) invert(18%) sepia(22%) saturate(1078%)
    hue-rotate(127deg);
  width: 112px;
  height: auto;
}
header > span,
footer,
.orbit-note,
.eyebrow,
.stamp {
  font:
    11px Neo,
    monospace;
  letter-spacing: 1.3px;
}
header i {
  font-style: normal;
  font-size: 24px;
  vertical-align: middle;
  margin-left: 14px;
  color: #00ae8c;
}
main {
  position: relative;
  min-height: calc(100svh - 186px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 24px 90px;
  overflow: hidden;
}
.orbit-note {
  position: absolute;
  left: 5vw;
  top: 25px;
  line-height: 1.8;
  color: #8b9687;
  transform: rotate(-6deg);
}
.stage {
  position: relative;
  width: min(690px, 90vw);
  height: 235px;
  flex: none;
  margin-top: 30px;
}
.crew {
  position: absolute;
  width: 160px;
  top: 20px;
  filter: drop-shadow(0 13px 0 #193c3610);
  animation: float 5s ease-in-out infinite;
  transform-origin: 50% 85%;
  overflow: visible;
}
.face {
  fill: #103943;
  transform-origin: 110px 96px;
  animation: blink 6.2s infinite;
}
.crew.mint {
  left: 0;
  top: 15px;
  width: 190px;
  --tilt: -12deg;
}
.crew.coral {
  left: 22%;
  top: 45px;
  width: 155px;
  --tilt: -10deg;
  animation-delay: -1.2s;
}
.crew.lilac {
  left: 41%;
  top: 0;
  width: 175px;
  --tilt: 8deg;
  animation-delay: -3s;
}
.crew.blue {
  left: 65%;
  top: 48px;
  width: 156px;
  --tilt: 12deg;
  animation-delay: -2.4s;
}
.crew.yellow {
  left: 84%;
  top: 61px;
  width: 138px;
  --tilt: 10deg;
  animation-delay: -0.9s;
}
.crew:nth-child(2) .face {
  animation-delay: -2s;
}
.crew:nth-child(3) .face {
  animation-delay: -4s;
}
.crew:nth-child(4) .face {
  animation-delay: -1s;
}
.spark {
  position: absolute;
  font: 32px Neo;
  animation: star 7s linear infinite;
}
.spark.one {
  left: 18%;
  top: -10px;
  color: #ed9a77;
}
.spark.two {
  right: 18%;
  top: -13px;
  color: #b4a1df;
}
.spark.three {
  right: -5%;
  top: 12px;
  font-size: 22px;
  color: #04b68c;
}
.invitation {
  text-align: center;
  z-index: 1;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #77857a;
}
h1 {
  font-size: clamp(25px, 3.7vw, 48px);
  letter-spacing: -2px;
  font-weight: 750;
  margin: 18px 0 12px;
  word-break: keep-all;
}
h1 span {
  color: #00b28e;
}
.subtitle {
  color: #7b877b;
  font-size: 15px;
  margin: 0 0 33px;
}
.address {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: calc(100vw - 40px);
  padding: 22px 27px;
  border: 1.5px solid #183c36;
  border-radius: 16px;
  background: #fffdf5;
  color: #163d38;
  box-shadow: 0 5px 0 #173f3420;
  margin: auto;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.address:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 0 #173f3420;
}
.address:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #173f3420;
}
.prompt {
  font: 23px Neo;
  color: #00a27d;
}
code {
  font-family: Neo, monospace;
}
.address code {
  font-size: clamp(13px, 2.3vw, 22px);
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.copy-icon {
  font-size: 22px;
  color: #8a9988;
  margin-left: 12px;
}
#copy-status {
  min-height: 20px;
  font-size: 12px;
  color: #8a9386;
  margin-top: 20px;
}
.stamp {
  position: absolute;
  right: 8vw;
  bottom: 40px;
  border: 1px solid #c1c8b6;
  border-radius: 50%;
  width: 105px;
  height: 105px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transform: rotate(15deg);
  color: #8c9a80;
  font-size: 9px;
}
.stamp b {
  font-size: 33px;
  font-weight: 400;
}
footer {
  min-height: 76px;
  border-top: 1px solid #e0e4d5;
  color: #89917e;
  gap: 16px;
  font-size: 9px;
}
.secret-hint {
  font-family: inherit;
  letter-spacing: 0;
  font-size: 11px;
}
.secret-hint b {
  margin-left: 6px;
  color: #4e735f;
}
@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(var(--tilt));
  }
  50% {
    transform: translateY(-13px) rotate(calc(var(--tilt) + 5deg));
  }
}
@keyframes blink {
  0%,
  43%,
  47%,
  100% {
    transform: scaleY(1);
  }
  45% {
    transform: scaleY(0.12);
  }
}
@keyframes star {
  50% {
    transform: rotate(90deg) scale(0.8);
  }
}
@media (max-width: 720px) {
  header {
    height: 85px;
  }
  header > span {
    font-size: 9px;
  }
  header img {
    width: 87px;
  }
  .orbit-note {
    top: 10px;
    font-size: 9px;
  }
  .stage {
    width: 350px;
    height: 170px;
    margin-top: 70px;
    max-width: 90vw;
  }
  .crew.mint {
    width: 105px;
  }
  .crew.coral {
    width: 88px;
    top: 30px;
  }
  .crew.lilac {
    width: 96px;
    top: 6px;
  }
  .crew.blue {
    width: 83px;
    top: 37px;
  }
  .crew.yellow {
    width: 73px;
    top: 45px;
    left: 82%;
  }
  .spark {
    font-size: 20px;
  }
  .spark.three {
    right: 0;
  }
  .address {
    gap: 12px;
    padding: 20px 16px;
  }
  .copy-icon {
    margin-left: 0;
  }
  .stamp {
    display: none;
  }
  main {
    min-height: calc(100svh - 170px);
    padding-bottom: 60px;
  }
  footer {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 22px 0;
  }
  footer > span:last-child {
    display: none;
  }
  h1 {
    letter-spacing: -1px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
