/* ═══════════════════════════════════════════════
   home.css — VAS 首頁合併樣式
   合併自：shrine + unfold + acquire + chronicle
   目的：減少 render-blocking request 數（PSI 優化）
   原始模組來源仍保留於 css/<name>.css，編輯時請同步
   ═══════════════════════════════════════════════ */


/* ─────────────────────────────────────────────
   §  shrine.css
   ───────────────────────────────────────────── */

/* ═══════════════════════════════════════════════
   VAS · Home v2 · Shrine（首屏扉頁）
   一只發光的瓶子在幾乎全黑的房間裡 · 四道門在下
   ═══════════════════════════════════════════════ */

/* ─── 房間的紫漸層氣場 ──────────────────── */
.shrine { position: relative; }
.shrine::before {
  content: '';
  position: absolute;
  inset: -10% -5% -10% 20%;
  background:
    radial-gradient(ellipse 70% 65% at 62% 52%,
      rgba(196, 113, 245, 0.18) 0%,
      rgba(196, 113, 245, 0.10) 25%,
      rgba(79, 172, 254, 0.08) 50%,
      rgba(79, 172, 254, 0.03) 68%,
      transparent 80%);
  filter: blur(70px);
  animation: shrine-room 10s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
.shrine::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 18% 25%,
      rgba(196, 113, 245, 0.06) 0%,
      transparent 60%);
  pointer-events: none;
  z-index: 0;
}
@keyframes shrine-room {
  0%, 100% { opacity: 0.9; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.04); }
}
.shrine > * { position: relative; z-index: 1; }

.shrine {
  padding: 48px 48px 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0;
}

/* ─── 左上：題辭 ────────────────────────── */
.shrine-prose {
  grid-column: 1 / 2;
  grid-row: 1 / 2;
  align-self: end;
  padding: 60px 24px 60px 0;
  max-width: 20ch;
  min-height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.shrine-prose .mark {
  font-family: var(--vas-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vas-ash-3);
  margin-bottom: 40px;
}
.shrine-name {
  font-family: var(--vas-serif);
  font-weight: 300;
  font-size: clamp(64px, 8vw, 112px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--vas-ash-0);
  margin-bottom: 32px;
}
.shrine-name em {
  font-style: normal;
  font-weight: 500;
}
.shrine-tagline {
  font-family: var(--vas-serif);
  font-size: 17px;
  line-height: 1.9;
  color: var(--vas-ash-1);
  max-width: 24ch;
  text-wrap: pretty;
  word-break: keep-all;
  overflow-wrap: break-word;
}

/* ─── 右下：器物 · 偏移擺放 ──────────────── */
.shrine-vessel {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 40px;
  min-height: 380px;
}
.shrine-vessel .halo {
  position: absolute;
  width: 70%; height: 70%;
  top: 15%; left: 15%;
  background: radial-gradient(circle,
    rgba(196, 113, 245, 0.28) 0%,
    rgba(250, 113, 205, 0.15) 40%,
    transparent 70%);
  filter: blur(40px);
  animation: shrine-halo 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes shrine-halo {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}
.shrine-vessel picture {
  position: relative;
  z-index: 2;
  display: block;
  width: 58%;
  max-width: 400px;
}
.shrine-vessel img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 30px 60px rgba(196, 113, 245, 0.4));
}

/* ─── 器物下方的倒影座 ──────────────────── */
.shrine-vessel .base {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  width: 44%;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--vas-ash-3) 50%,
    transparent 100%);
}

/* ─── 器物旁的匠人落款 ──────────────────── */
.shrine-vessel .shrine-colophon {
  position: absolute;
  left: 0; bottom: 8px;
  font-family: var(--vas-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  color: var(--vas-ash-3-soft);
  text-align: left;
  line-height: 1.9;
  z-index: 5;
}
.shrine-vessel .shrine-colophon .faint { color: var(--vas-ash-4); }

/* ─── Chapter 0 · 序章門 ─────────────────── */
.shrine-preface {
  grid-column: 1 / -1;
  grid-row: 2 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 40px 24px;
  margin-top: 40px;
  border-top: 1px solid var(--vas-rule);
  text-align: center;
  text-decoration: none;
  position: relative;
  transition: background .4s;
}
.shrine-preface::before {
  content: '';
  position: absolute; left: 50%; top: -1px;
  transform: translateX(-50%);
  width: 0; height: 1px;
  background: var(--vas-aurora-violet);
  transition: width .6s cubic-bezier(.2, .8, .2, 1);
}
.shrine-preface:hover::before { width: 50%; }
.shrine-preface:hover { background: rgba(240, 232, 220, 0.015); }

.shrine-preface-num {
  font-family: var(--vas-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vas-ash-1);
  transition: color .3s;
}
.shrine-preface:hover .shrine-preface-num {
  color: var(--vas-aurora-violet);
}
.shrine-preface-name {
  font-family: var(--vas-serif);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 500;
  color: var(--vas-ash-0);
  letter-spacing: 0.02em;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.shrine-preface:hover .shrine-preface-name { transform: translateY(-2px); }
.shrine-preface-echo {
  font-family: var(--vas-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--vas-ash-4);
  transition: color .3s;
}
.shrine-preface:hover .shrine-preface-echo { color: var(--vas-ash-1); }

/* ─── 底部：四道門 · 縫隙不是按鈕 ────────── */
.shrine-gates {
  grid-column: 1 / -1;
  grid-row: 3 / 4;
  padding-top: 32px;
  border-top: 1px solid var(--vas-rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.shrine-gate {
  position: relative;
  padding: 28px 24px 12px;
  border-right: 1px solid var(--vas-rule);
  transition: background .4s;
  cursor: pointer;
}
.shrine-gate:last-child { border-right: none; }
.shrine-gate::before {
  content: '';
  position: absolute; left: 0; top: -1px;
  width: 0; height: 1px;
  background: var(--vas-aurora-violet);
  transition: width .6s cubic-bezier(.2, .8, .2, 1);
}
.shrine-gate:hover::before { width: 100%; }
.shrine-gate:hover { background: rgba(240, 232, 220, 0.02); }

.shrine-gate .num {
  font-family: var(--vas-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--vas-ash-1);
  margin-bottom: 18px;
  transition: color .3s;
}
.shrine-gate:hover .num { color: var(--vas-aurora-violet); }
.shrine-gate-body {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.shrine-gate .name {
  font-family: var(--vas-serif);
  font-size: 18px;
  font-weight: 500;
  color: var(--vas-ash-0);
  letter-spacing: 0.02em;
  transition: transform .4s cubic-bezier(.2, .8, .2, 1);
}
.shrine-gate:hover .name { transform: translateX(2px); }
.shrine-gate .echo {
  font-family: var(--vas-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--vas-ash-4);
  text-align: right;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .3s;
}
.shrine-gate:hover .echo { color: var(--vas-ash-1); }

/* ─── 第三道門 · 隱晦光點 · III 系統 ────── */
.shrine-gate.hidden-door .name::after {
  content: '';
  display: inline-block;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--vas-aurora-violet);
  margin-left: 8px;
  vertical-align: middle;
  opacity: 0.4;
  transition: opacity .4s;
}
.shrine-gate.hidden-door:hover .name::after { opacity: 1; }

/* ─── 行動斷點 ────────────────────────── */
@media (max-width: 768px) {
  .shrine {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr auto auto;
    min-height: 100svh;
    padding: 20px 24px 32px;
  }
  .shrine-prose {
    grid-column: 1; grid-row: 1;
    max-width: none; min-height: auto;
    padding: 4px 0 20px;
    justify-content: flex-start;
  }
  .shrine-prose .mark { margin-bottom: 20px; }
  .shrine-vessel {
    grid-column: 1; grid-row: 2;
    min-height: 50svh;
    margin-top: 15px;
    padding-bottom: 64px;
    align-items: flex-end;
    justify-content: flex-end;
  }
  .shrine-preface { grid-row: 3; margin-top: 24px; padding: 28px 24px; gap: 12px; }
  .shrine-preface-name { font-size: clamp(20px, 5vw, 26px); }
  .shrine-gates  { grid-template-columns: 1fr 1fr; grid-row: 4; padding-top: 0; }
  .shrine-gate   { border-bottom: 1px solid var(--vas-rule); }
  .shrine-gate:nth-child(2) { border-right: none; }
  .shrine-gate:nth-last-child(-n+2) { border-bottom: none; }
  .shrine-gate:nth-child(-n+2) { padding-bottom: 28px; }
  .shrine-vessel .shrine-colophon { left: 0; right: auto; bottom: 8px; }
  .shrine-gate-body { flex-direction: column; gap: 4px; }
  .shrine-gate .echo { text-align: left; white-space: normal; }
}

/* ─────────────────────────────────────────────
   §  unfold.css
   ───────────────────────────────────────────── */

/* ═══════════════════════════════════════════════
   VAS · Home v2 · Unfold（展開的題辭）
   ═══════════════════════════════════════════════ */

.unfold {
  padding: 100px 48px 80px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  border-top: 1px solid var(--vas-rule);
}
.unfold-label {
  font-family: var(--vas-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vas-ash-3-soft);
  padding-top: 8px;
}
.unfold-body {
  font-family: var(--vas-serif);
  font-size: 19px;
  line-height: 2.05;
  color: var(--vas-ash-0);
  font-weight: 400;
  max-width: 32ch;
}
.unfold-body p + p { margin-top: 1.6em; }
.unfold-body p { text-wrap: pretty; }
.unfold-body em {
  font-style: normal;
  font-weight: 600;
  background: linear-gradient(180deg, transparent 62%, rgba(196, 113, 245, 0.22) 62%);
  padding: 0 0.1em;
}
.unfold-body .drop {
  font-size: 14px;
  color: var(--vas-ash-1);
  line-height: 1.9;
  max-width: 36ch;
  margin-top: 3em;
  padding-top: 1.5em;
  border-top: 1px solid var(--vas-rule);
  text-decoration: none;
  display: block;
  transition: color .2s;
}
.unfold-body .drop:hover { color: var(--vas-ash-0); }

@media (max-width: 768px) {
  .unfold {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 80px 24px 56px;
  }
  .unfold-body { max-width: none; }
}

/* ─────────────────────────────────────────────
   §  acquire.css
   ───────────────────────────────────────────── */

/* ═══════════════════════════════════════════════
   VAS · Home v2 · Acquire（下載 · 服務的位置）
   ═══════════════════════════════════════════════ */

.acquire {
  padding: 80px 48px 80px;
  border-top: 1px solid var(--vas-rule);
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  max-width: 1040px;
  margin: 0 auto;
}
.acquire-label {
  font-family: var(--vas-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vas-ash-3);
  padding-top: 6px;
}
.hero-polish {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.04em;
  color: var(--vas-ash-3);
  margin-top: 0.5rem;
}
.acquire-body {
  font-family: var(--vas-serif);
  font-size: 15px;
  line-height: 2;
  color: var(--vas-ash-1);
}
.acquire-body .line {
  padding: 14px 0;
  border-bottom: 1px solid var(--vas-rule);
  display: flex; align-items: baseline;
  gap: 16px;
}
.acquire-body .line:first-child { padding-top: 0; }
.acquire-body .line:last-child  { border-bottom: none; }
.acquire-body .line .what {
  font-family: var(--vas-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--vas-ash-3);
  min-width: 100px;
}
.acquire-body .line .name {
  color: var(--vas-ash-0);
  font-weight: 500;
  font-size: 17px;
  flex: 1;
}
.acquire-body .line .name em {
  font-style: normal;
  font-weight: 400;
  color: var(--vas-ash-1);
  font-size: 13px;
  margin-left: 16px;
  font-family: var(--vas-mono);
  letter-spacing: 0.04em;
}
.acquire-body .line .go {
  font-family: var(--vas-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--vas-ash-2);
  transition: color .2s;
}
.acquire-body .line:hover .go { color: var(--vas-aurora-violet); }

@media (max-width: 768px) {
  .acquire {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 64px 24px 64px;
  }
  .acquire-body .line { flex-wrap: wrap; }
  .acquire-body .line .name em { margin-left: 0; display: block; margin-top: 4px; }
}

/* ─────────────────────────────────────────────
   §  chronicle.css
   ───────────────────────────────────────────── */

/* ═══════════════════════════════════════════════
   VAS · Home v2 · Chronicle（版次印記）
   ═══════════════════════════════════════════════ */

.chronicle {
  padding: 72px 48px 56px;
  border-top: 1px solid var(--vas-rule);
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 48px;
  align-items: center;
}
.chronicle-label {
  font-family: var(--vas-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--vas-ash-1);
}
.chronicle-line {
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--vas-ash-2) 30%,
    var(--vas-aurora-violet) 50%,
    var(--vas-ash-2) 70%,
    transparent 100%);
}
.chronicle-edition {
  font-family: var(--vas-serif);
  font-size: 15px;
  color: var(--vas-ash-0);
  text-align: right;
  line-height: 1.9;
}
.chronicle-edition .jp {
  font-family: var(--vas-serif);
  font-size: 12px;
  color: var(--vas-ash-2);
  display: block;
  margin-top: 4px;
  letter-spacing: 0.08em;
}

@media (max-width: 768px) {
  .chronicle {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 56px 24px 40px;
  }
  .chronicle-edition { text-align: left; }
}
