@font-face {
  font-family: "Spoqa Han Sans Neo";
  src: url("/assets/fonts/SpoqaHanSansNeo-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Spoqa Han Sans Neo";
  src: url("/assets/fonts/SpoqaHanSansNeo-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: "Spoqa Han Sans Neo", sans-serif;
  color: #202124;
  background: #ff6d10;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  min-width: 320px;
  background-color: #ff6d10;
  background-image: url("/assets/home_banner_background.webp");
  background-position: center;
  background-size: cover;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  place-items: center;
  padding: 40px 24px;
}

.notice-card {
  width: min(100%, 620px);
  padding: 48px;
  border: 1px solid rgb(255 255 255 / 70%);
  border-radius: 24px;
  background: rgb(255 255 255 / 96%);
  box-shadow: 0 24px 70px rgb(89 36 0 / 24%);
}

.logo {
  display: block;
  width: 109px;
  height: auto;
}

.notice-copy {
  margin-top: 48px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #ff6d10;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

h1 {
  margin: 0;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.28;
  letter-spacing: -0.04em;
  word-break: keep-all;
}

.message {
  margin: 18px 0 0;
  color: #5f6368;
  font-size: 18px;
  line-height: 1.7;
  word-break: keep-all;
}

.redirect-notice {
  margin-top: 40px;
}

.redirect-notice p {
  margin: 0;
  color: #3c4043;
  font-size: 15px;
}

.redirect-notice strong {
  color: #107eff;
  font-size: 18px;
}

.progress {
  height: 4px;
  margin-top: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef0f2;
}

.progress span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff6d10, #ffd30e);
  transform-origin: left;
  animation: countdown-progress 5s linear forwards;
}

.move-link {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  border-radius: 12px;
  color: #fff;
  background: #ff6d10;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.move-link:hover {
  background: #e85c00;
  transform: translateY(-1px);
}

.move-link:focus-visible {
  outline: 3px solid #107eff;
  outline-offset: 3px;
}

.thanks {
  margin: 28px 0 0;
  color: #9aa0a6;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
}

@keyframes countdown-progress {
  to {
    transform: scaleX(0);
  }
}

@media (max-width: 600px) {
  .page-shell {
    padding: 20px;
  }

  .notice-card {
    padding: 34px 24px;
    border-radius: 20px;
  }

  .logo {
    width: 94px;
  }

  .notice-copy {
    margin-top: 38px;
  }

  .message {
    font-size: 16px;
  }

  .redirect-notice {
    margin-top: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .progress span {
    animation: none;
  }

  .move-link {
    transition: none;
  }
}
