/* =========================
   Part 1: 正圓全站基底 (一頁海報版 v1.1.0)
   ========================= */
:root {
  --bg: #080808;
  --text: #e0e0e0;
  --muted: #666;
  --gold: #D4AF37;
  --padx: 40px;
}

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

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden; /* 禁止捲動，確保一頁式 */
  background: var(--bg);
  color: var(--text);
  font-family: 'Noto Serif TC', serif;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  height: 100vh; /* 鎖死視窗高度 */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between; /* 讓內容均勻分佈在頂部與底部 */
  padding: 8vh var(--padx); /* 上下留白，確保呼吸感 */
}

/* =========================
   Main Content
   ========================= */
.center-content {
  width: 100%;
  max-width: 480px; 
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center; /* 讓內容在上下高度中置中 */
}

/* Hero 抬頭 (居中) */
.hero-section {
  width: 100%;
  text-align: center;
  margin-bottom: 8vh; /* 縮短間距以適應一頁式 */
  opacity: 0.95;
}

.hero-title {
  font-size: 2rem; 
  font-weight: 700;
  letter-spacing: .35em;
  margin-bottom: 1vh;
  text-indent: 0.35em;
}

.hero-line {
  color: var(--muted);
  font-weight: 300;
  letter-spacing: .12em;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* =========================
   Cards (直向齊頭與精密間距)
   ========================= */
.cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 4vh; /* 留給 Footer 的空間 */
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.5s ease;
  width: 100%;
}

.card:hover { opacity: 1; }

/* 呼吸節奏：一頁式下微縮間距，但保留比例 */
.card:nth-child(1) { margin-bottom: 5vh; }  /* 標準 */
.card:nth-child(2) { margin-bottom: 8vh; }  /* 略大一點 */

.card-tag {
  color: var(--gold);
  letter-spacing: .12em;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.card-headline {
  color: #fff;
  font-size: 1.35rem; 
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
  word-break: keep-all; 
  text-wrap: balance; 
}

/* =========================
   Footer (收尾與版本號)
   ========================= */
.site-footer {
  width: 100%;
  text-align: center;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.site-footer:hover {
  opacity: 0.9;
}

.footer-line-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 6px;
  transition: opacity 0.3s ease;
}

.footer-line-1:hover {
  opacity: 1;
}

.footer-logo-inline {
  height: 22px; 
  width: auto;
}

.footer-text {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #888;
}

.footer-subline {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 0.7rem;
}

.footer-email {
  color: #444;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.footer-email:hover {
  color: #666;
}

.version-tag {
  font-size: 10px;
  color: #444;
  letter-spacing: 0.1em;
  font-family: monospace;
  border-left: 1px solid #333;
  padding-left: 12px;
}

/* =========================
   Mobile Optimization
   ========================= */
@media (max-height: 700px) {
  .hero-section { margin-bottom: 4vh; }
  .card:nth-child(1) { margin-bottom: 3vh; }
  .card:nth-child(2) { margin-bottom: 5vh; }
  .hero-title { font-size: 1.6rem; }
  .card-headline { font-size: 1.2rem; }
}/* =========================
   Part 1: 正圓全站基底 (一頁海報版 V1.1.2)
   ========================= */
:root {
  --bg: #080808;
  --text: #e0e0e0;
  --muted: #666;
  --gold: #D4AF37;
  --padx: 40px;
}

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

html, body {
  height: 100%;
  width: 100%;
  overflow: hidden; /* 確保不產生捲軸 */
  background-color: var(--bg);
  /* 加入極細微的漸層背景，增加質感 */
  background-image: linear-gradient(to bottom, #0f0f0f, #000000);
  color: var(--text);
  font-family: 'Noto Serif TC', serif;
}

a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 7vh var(--padx); /* 略微縮減上下邊距以適應小螢幕 */
}

/* =========================
   Main Content
   ========================= */
.center-content {
  width: 100%;
  max-width: 460px; 
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center; 
}

.hero-section {
  width: 100%;
  text-align: center;
  margin-bottom: 7vh;
  opacity: 0.95;
}

.hero-title {
  font-size: 1.9rem; /* 字體微縮 */
  font-weight: 700;
  letter-spacing: .35em;
  margin-bottom: 1vh;
  text-indent: 0.35em;
}

.hero-line {
  color: var(--muted);
  font-weight: 300;
  letter-spacing: .12em;
  font-size: 0.8rem;
  opacity: 0.8;
}

/* =========================
   Cards (齊頭與呼吸節奏)
   ========================= */
.cards {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.5s ease;
  width: 100%;
}

.card:hover { opacity: 1; }

/* 節奏間距 */
.card:nth-child(1) { margin-bottom: 5vh; }  /* 標準 */
.card:nth-child(2) { margin-bottom: 7.5vh; }  /* 略大 */

.card-tag {
  color: var(--gold);
  letter-spacing: .12em;
  font-size: 0.78rem;
  font-weight: 500;
  margin-bottom: 6px;
}

.card-headline {
  color: #fff;
  font-size: 1.3rem; 
  font-weight: 700;
  letter-spacing: .06em;
  line-height: 1.5;
  word-break: keep-all; 
  text-wrap: balance; 
}

/* =========================
   Footer (落款與版本號並列)
   ========================= */
.site-footer {
  width: 100%;
  max-width: 460px;
  text-align: center;
}

.footer-line-1 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 8px;
  opacity: 0.6;
}

.footer-logo-inline {
  height: 20px; 
  width: auto;
}

.footer-text {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: #777;
}

.footer-subline {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px; 
  font-size: 0.7rem;
  color: #444;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.version-tag {
  font-family: monospace;
  opacity: 0.5;
  border-left: 1px solid #333;
  padding-left: 12px;
}

/* 適應超小螢幕高度 */
@media (max-height: 650px) {
  .hero-section { margin-bottom: 4vh; }
  .card:nth-child(1) { margin-bottom: 3vh; }
  .card:nth-child(2) { margin-bottom: 5vh; }
}