:root {
  --purple: #c9a7eb;
  --purple-soft: #e9dcf7;
  --pink-soft: #fbe9f1;
  --yellow: #ffd447;
  --ink: #141414;
  --ink-soft: #4a4550;
  --card: #ffffff;
  --bg: #faf7fd;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
}

a { color: inherit; }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* Header */
header {
  background: rgba(250, 247, 253, 0.92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--purple-soft);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}
.wordmark {
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
  letter-spacing: 0.02em;
}
.wordmark .dot { color: var(--purple); }
.lang {
  display: flex;
  gap: 4px;
  font-size: 0.85rem;
}
.lang a {
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink-soft);
}
.lang a:hover { background: var(--purple-soft); }
.lang a[aria-current="page"] {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--purple-soft) 0%, var(--pink-soft) 55%, var(--bg) 100%);
  text-align: center;
  padding: 64px 0 56px;
}
.hero .kicker {
  display: inline-block;
  background: var(--yellow);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
  letter-spacing: 0.08em;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  margin: 0 0 10px;
  letter-spacing: 0.01em;
}
.hero .sub {
  color: var(--ink-soft);
  font-size: 1.05rem;
  margin: 0 auto 28px;
  max-width: 34em;
}
.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  padding: 13px 32px;
  border-radius: 999px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(20, 20, 20, 0.25);
}
.hero .jump {
  margin-top: 20px;
  font-size: 0.9rem;
}
.hero .jump a {
  color: var(--ink-soft);
  margin: 0 10px;
  text-decoration: none;
  border-bottom: 1px dashed var(--purple);
}
.hero .jump a:hover { color: var(--ink); }

/* Sections */
section { padding: 48px 0; }
h2 {
  font-size: 1.4rem;
  margin: 0 0 8px;
}
h2 + .section-note {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0 0 24px;
}
h2 .bar {
  display: inline-block;
  width: 0.55em;
  height: 0.55em;
  border-radius: 3px;
  background: var(--purple);
  margin-right: 10px;
}

/* Video */
.video-frame {
  max-width: 340px;
  margin: 0 auto;
}
.video-frame video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(201, 167, 235, 0.55);
  background: var(--ink);
}
.video-caption {
  text-align: center;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-top: 14px;
}

/* Profile card */
.profile-card {
  background: var(--card);
  border: 1px solid var(--purple-soft);
  border-radius: 20px;
  padding: 28px 28px 12px;
  box-shadow: 0 6px 24px rgba(201, 167, 235, 0.25);
}
.profile-card dl {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 24px;
  row-gap: 4px;
  margin: 0;
}
.profile-card dt {
  font-weight: 700;
  color: var(--ink-soft);
  padding: 8px 0;
}
.profile-card dd {
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px dashed var(--purple-soft);
}
.profile-card dd:last-of-type { border-bottom: none; }
.tag {
  display: inline-block;
  background: var(--purple-soft);
  border-radius: 999px;
  padding: 1px 12px;
  font-size: 0.9rem;
  margin-right: 6px;
}
.soon { color: var(--ink-soft); font-style: italic; }

/* Social links */
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.social-list a {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--purple-soft);
  border-radius: 16px;
  padding: 14px 18px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.social-list a:hover {
  transform: translateY(-2px);
  border-color: var(--purple);
}
.social-list .icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  flex: none;
  color: #fff;
}
.icon.ig { background: linear-gradient(45deg, #f58529, #dd2a7b 55%, #8134af); }
.icon.yt { background: #ff0000; }
.icon.fb { background: #1877f2; }
.social-list .handle {
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 0.88rem;
}

/* Footer */
footer {
  background: var(--ink);
  color: #cfc8d8;
  font-size: 0.88rem;
  margin-top: 40px;
  padding: 36px 0;
  text-align: center;
}
footer a { color: #fff; }
footer .footer-lang { margin-top: 10px; }
footer .footer-lang a {
  margin: 0 8px;
  text-decoration: none;
}
footer .footer-lang a:hover { text-decoration: underline; }
footer .origin { margin-top: 14px; color: #9a90a8; }

/* 404 */
.notfound {
  text-align: center;
  padding: 90px 20px;
}
.notfound .code {
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--purple);
  line-height: 1;
}
.notfound ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 18px;
  justify-content: center;
}
