@charset "UTF-8";

:root {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
  color: #292a25;
  background: #faf9f6;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
}
[hidden] {
  display: none !important;
}

.header,
.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header {
  padding: 30px 48px;
  gap: 20px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
}
.mark {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f3cd3f;
  box-shadow: inset 0 0 0 3px #f7dc73;
}
.domain {
  color: #91918b;
  font-size: 12px;
  letter-spacing: 1px;
}
.main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 8px 24px 40px;
}
.experience {
  width: min(100%, 760px);
  text-align: center;
}
.animation-wrap {
  position: relative;
  margin: 0 auto;
  width: min(390px, 65vw);
}
.naiwa {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  mix-blend-mode: multiply;
  animation: pop-in 600ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}
.loading {
  position: absolute;
  inset: auto 0 12px;
  font-size: 12px;
  color: #8e8f86;
}
.caption {
  min-height: 117px;
  padding-top: 12px;
}
.eyebrow {
  color: #aba99c;
  letter-spacing: 5px;
  font-size: 12px;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(20px, 3.6vw, 32px);
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 450ms,
    transform 450ms;
}
.departing h1 {
  opacity: 1;
  transform: translateY(0);
}
.countdown {
  margin: 12px 0 0;
  font-size: 12px;
  color: #9c9c92;
  min-height: 18px;
}
.progress {
  height: 3px;
  width: 120px;
  margin: 16px auto 24px;
  overflow: hidden;
  border-radius: 3px;
  background: #eeece3;
  opacity: 0;
}
.departing .progress {
  opacity: 1;
}
.progress-fill {
  height: 100%;
  width: 100%;
  background: #e4bd31;
  transform: scaleX(0);
  transform-origin: left;
}
.departing .progress-fill {
  animation: progress 3s linear forwards;
}
.actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  min-height: 24px;
  font-size: 12px;
  color: #898980;
}
.actions a,
.actions button {
  padding: 6px 0;
  border-bottom: 1px solid #d5d3c9;
}
.actions button {
  color: inherit;
  cursor: pointer;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #d5d3c9;
}
.actions a:hover,
.actions button:hover {
  color: #33352c;
  border-color: #33352c;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid #ab8515;
  outline-offset: 6px;
  border-radius: 2px;
}
.footer {
  color: #a3a399;
  font-size: 11px;
  padding: 20px 48px;
  gap: 16px;
}

@keyframes pop-in {
  from {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes progress {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 560px) {
  .header {
    padding: 24px;
  }
  .domain {
    display: none;
  }
  .main {
    padding-top: 20px;
  }
  .animation-wrap {
    width: min(330px, 78vw);
  }
  .footer {
    padding: 20px 24px;
    flex-wrap: wrap;
  }
  .eyebrow {
    letter-spacing: 3px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .naiwa {
    animation: none;
  }
  h1 {
    transition: none;
    transform: none;
  }
  .departing .progress-fill {
    animation: none;
    transform: scaleX(1);
  }
}
