:root {
  --ink: #151c32;
  --cream: #efe6d2;
  --brass: #c9a45c;
  --brass-bright: #d4b06a;
  --teal: #2e6e68;
  --steam: #8fc9bc;
  --steam-soft: #e8f0ea;
  --font-sans: "Apple SD Gothic Neo", Pretendard, "Noto Sans KR",
    "Noto Sans CJK KR", "Malgun Gothic", "Segoe UI", sans-serif;
  --font-serif: "Apple Myungjo", "Nanum Myeongjo", "Noto Serif KR",
    "Noto Serif CJK KR", "Songti SC", "Hiragino Mincho ProN", Georgia, serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  color: var(--cream);
  background: var(--ink);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.4rem 1.25rem 1.6rem;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(21, 28, 50, 0.4) 0%,
      rgba(21, 28, 50, 0.62) 48%,
      rgba(21, 28, 50, 0.9) 100%
    ),
    url("/images/market.jpg") center 40% / cover no-repeat;
}

main {
  width: min(100%, 22.5rem);
  text-align: center;
}

.avatar {
  width: 7.25rem;
  height: 7.25rem;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brass);
  box-shadow:
    0 0 0 2px rgba(239, 230, 210, 0.32),
    0 12px 30px rgba(0, 0, 0, 0.45);
  background: var(--ink);
}

h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2rem, 8vw, 2.35rem);
  letter-spacing: 0.06em;
  line-height: 1.2;
  margin-top: 1.15rem;
}

h1 span {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--brass);
  margin-top: 0.38rem;
}

.rule {
  width: 3.4rem;
  height: 2px;
  margin: 0.9rem auto 1rem;
  background: var(--brass);
  opacity: 0.9;
}

.tagline-ko {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--steam-soft);
}

.tagline-en {
  margin-top: 0.28rem;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
  color: var(--steam);
}

.links {
  display: grid;
  gap: 0.7rem;
  margin-top: 1.65rem;
}

.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.16rem;
  padding: 0.88rem 1rem 0.84rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(201, 164, 92, 0.58);
  background: rgba(21, 28, 50, 0.64);
  color: var(--cream);
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

a.btn:hover,
a.btn:focus-visible {
  background: rgba(46, 110, 104, 0.5);
  border-color: var(--brass-bright);
  transform: translateY(-1px);
}

a.btn:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

.btn-label {
  font-weight: 650;
  font-size: 0.98rem;
}

.btn-sub {
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  color: var(--steam);
}

.btn.is-soon {
  border-color: rgba(201, 164, 92, 0.28);
  background: rgba(21, 28, 50, 0.4);
  color: rgba(239, 230, 210, 0.76);
  cursor: default;
}

.btn.is-soon .btn-sub {
  color: rgba(201, 164, 92, 0.9);
}

footer {
  margin-top: 2rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: rgba(239, 230, 210, 0.62);
}

@media (min-width: 720px) {
  main {
    width: 24rem;
  }

  .avatar {
    width: 8rem;
    height: 8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.btn {
    transition: none;
  }

  a.btn:hover,
  a.btn:focus-visible {
    transform: none;
  }
}
