/* ================================
   互助營造週報簡報系統 - 樣式表
   ================================ */

/* =========================
   1. CSS 變數定義
   ========================= */
:root {
  /* 品牌主色系 */
  --futsu-primary: #ed6d00;
  --futsu-primary-light: #ff8a33;
  --futsu-primary-dark: #cc5a00;
  --netverse-primary: #06c;
  --netverse-primary-light: #39f;
  --netverse-primary-dark: #0052a3;

  /* 背景色系 */
  --bg-primary: #fff;
  --bg-secondary: #f8f9fa;
  --bg-card: #fff;

  /* 文字色系 */
  --text-primary: #212529;
  --text-secondary: #495057;
  --text-muted: #6c757d;

  /* 狀態色系 */
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;

  /* 陰影效果 */
  --shadow-light: rgb(0 0 0 / 5%);
  --shadow-medium: rgb(0 0 0 / 10%);
  --shadow-heavy: rgb(0 0 0 / 15%);

  /* 動畫時間 */
  --animation-fast: 0.3s;
  --animation-normal: 0.5s;
  --animation-slow: 1s;
}

/* =========================
   2. 基礎重置與全域樣式
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans TC',
    'Microsoft JhengHei', sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

/* =========================
   3. 簡報容器與基礎結構
   ========================= */
.presentation-container {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
}

/* 投影片基礎樣式 */
.slide {
  position: absolute;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);

  /* 轉場動畫會在 JavaScript 中動態控制 */
}

.slide-content {
  width: 90%;
  max-width: 1400px;
  height: 85vh;
  padding-bottom: 60px;
  display: flex;
  flex-direction: column;
}

/* =========================
   4. 投影片標題區域
   ========================= */
.slide-header {
  margin-bottom: 40px;
}

.slide-header h2 {
  font-size: 42px;
  font-weight: 600;
  color: var(--futsu-primary);
  margin-bottom: 15px;
}

.header-divider {
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--futsu-primary),
    rgb(237 109 0 / 10%) 50%
  );
}

/* =========================
   5. 內容區域佈局
   ========================= */
.content-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-area.two-columns {
  flex-direction: row;
  gap: 40px;
}

.content-area.three-columns {
  flex-direction: row;
  gap: 30px;
}

/* 進度網格佈局 */
.progress-grid,
.theme-progress-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center center;
  height: 100%;
}

.progress-grid {
  gap: 60px;
}

.theme-progress-grid {
  gap: 40px;
}

/* =========================
   6. 標題頁特定樣式
   ========================= */
.title-slide {
  justify-content: center;
  align-items: center;
  text-align: center;
}

.title-upper,
.title-lower {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.title-logo {
  height: 80px;
  margin-bottom: 30px;
  filter: drop-shadow(0 2px 4px rgb(0 0 0 / 10%));
}

.main-title h1 {
  font-size: 56px;
  font-weight: 700;
  color: var(--futsu-primary);
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.main-title h2 {
  font-size: 42px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.title-divider {
  width: 500px;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--futsu-primary),
    transparent
  );
  margin: 30px auto;
}

.date-range {
  font-size: 28px;
  color: var(--text-secondary);
  font-weight: 300;
}

/* =========================
   7. 進度圓環元件
   ========================= */
.progress-card,
.theme-card {
  text-align: center;
}

.circular-progress {
  width: 200px;
  height: 200px;
  position: relative;
  margin: 0 auto 30px;
}

.circular-progress.small {
  width: 150px;
  height: 150px;
}

.circular-progress svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

/* 進度圓環樣式 */
.progress-bg {
  fill: none;
  stroke: #e9ecef;
  stroke-width: 15;
}

.progress-bar {
  fill: none;
  stroke: var(--futsu-primary);
  stroke-width: 15;
  stroke-linecap: round;
  stroke-dashoffset: 100%;
}

/* 動畫狀態下的進度條 */
.progress-bar.animating {
  transition: stroke-dashoffset var(--animation-slow) ease-in-out;
}

/* 小型進度圓環調整 */
.small .progress-bg,
.small .progress-bar {
  stroke-width: 12;
}

/* 進度文字 */
.progress-text {
  fill: var(--text-primary);
  font-size: 48px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
  transform: rotate(90deg);
  transform-origin: center;
}

.small .progress-text {
  font-size: 36px;
}

/* 卡片標題 */
.progress-card h3 {
  font-size: 28px;
  font-weight: 500;
  color: var(--text-primary);
}

.theme-card h4 {
  font-size: 24px;
  font-weight: 500;
  color: var(--text-primary);
  margin-top: 20px;
}

/* Theme card hover 效果 */
.theme-card {
  padding: 20px;
  margin: -20px;
  border-radius: 12px;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.theme-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.95);
  z-index: 1000;
}

/* Popover 樣式 */
.theme-popover {
  position: absolute;
  top: 0;
  left: calc(100% + 10px); /* 更靠近卡片 */
  transform: translateY(0);
  width: 380px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
  z-index: 9999;
}

/* 只在卡片 hover 時顯示 popover */
.theme-card:hover .theme-popover {
  opacity: 1;
  visibility: visible;
  left: calc(100% + 20px); /* hover 時稍微向右移動 */
  pointer-events: auto;
}

/* 創建一個不可見的橋接區域，讓滑鼠可以移到 popover */
.theme-popover::before {
  content: '';
  position: absolute;
  left: -20px; /* 連接到卡片 */
  top: 0;
  width: 20px;
  height: 100%;
  z-index: -1;
}

/* 當 popover 本身被 hover 時保持顯示 */
.theme-popover:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.popover-content {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(237, 109, 0, 0.1);
}

.popover-arrow {
  position: absolute;
  left: -7px;
  top: 40px;
  transform: translateY(-50%) rotate(45deg);
  width: 14px;
  height: 14px;
  background: white;
  border-left: 1px solid rgba(237, 109, 0, 0.1);
  border-bottom: 1px solid rgba(237, 109, 0, 0.1);
}

.popover-content h5 {
  color: var(--futsu-primary);
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
}

.popover-content ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.popover-content ul li {
  font-size: 18px;
  line-height: 1.8;
  color: var(--text-secondary);
  padding: 6px 0;
  padding-left: 24px;
  position: relative;
  text-align: left;
}

.popover-content ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--futsu-primary);
  font-weight: bold;
}

/* 進度列表樣式 */
.progress-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 12px !important;
  padding-right: 12px !important;
  margin-left: -12px;
  margin-right: -12px;
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.progress-list li:hover {
  background: rgba(237, 109, 0, 0.05);
  transform: translateX(4px);
}

.progress-list li::before {
  display: none !important;
}

.item-name {
  flex: 1;
  padding-right: 10px;
}

.progress-badge {
  padding: 3px 10px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  min-width: 50px;
  text-align: center;
  white-space: nowrap;
}

.progress-badge.completed {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.progress-badge.in-progress {
  background: rgba(237, 109, 0, 0.1);
  color: var(--futsu-primary);
}

.progress-badge.pending {
  background: rgba(108, 117, 125, 0.1);
  color: #6c757d;
}

/* =========================
   8. 內容卡片樣式
   ========================= */
.achievement-card,
.discussion-card,
.next-week-card {
  background: var(--bg-card);
  padding: 40px;
  border-radius: 16px;
  flex: 1;
  border: 1px solid rgb(0 0 0 / 10%);
  box-shadow: 0 4px 16px var(--shadow-light);
}

.achievement-card h3,
.discussion-card h3,
.next-week-card h3 {
  font-size: 32px;
  font-weight: 600;
  color: var(--futsu-primary);
  margin-bottom: 25px;
}

/* 列表樣式 */
.achievement-list,
.discussion-list,
.next-week-list {
  list-style: none;
}

.achievement-list li,
.discussion-list li,
.next-week-list li {
  font-size: 24px;
  line-height: 1.8;
  color: var(--text-secondary);
  padding-left: 30px;
  position: relative;
  margin-bottom: 15px;
}

.achievement-list li::before,
.discussion-list li::before,
.next-week-list li::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--futsu-primary);
  font-size: 28px;
}

/* =========================
   9. 風險評估頁面
   ========================= */
.risk-assessment {
  background: var(--bg-card);
  padding: 50px;
  border-radius: 16px;
  border: 1px solid rgb(0 0 0 / 10%);
  box-shadow: 0 4px 16px var(--shadow-light);
}

.risk-item {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 40px;
}

.risk-label {
  font-size: 32px;
  font-weight: 600;
  color: var(--text-primary);
}

/* 風險指示器 */
.risk-indicator {
  padding: 10px 30px;
  border-radius: 50px;
  font-size: 28px;
  font-weight: 600;
}

.risk-indicator.low {
  background: var(--success);
  color: white;
}

.risk-indicator.medium {
  background: var(--warning);
  color: var(--bg-primary);
}

.risk-indicator.high {
  background: var(--danger);
  color: white;
}

/* 風險詳情 */
.risk-details {
  margin-bottom: 40px;
}

.risk-detail-item {
  font-size: 24px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 15px;
}

.risk-detail-item strong {
  color: var(--text-primary);
}

/* 週總結 */
.week-summary {
  border-top: 2px solid #e9ecef;
  padding-top: 30px;
}

.week-summary h3 {
  font-size: 32px;
  font-weight: 600;
  color: var(--futsu-primary);
  margin-bottom: 20px;
}

.week-summary p {
  font-size: 26px;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* =========================
   10. 結尾頁面
   ========================= */
.end-slide {
  justify-content: center;
  align-items: center;
}

.end-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.end-upper,
.end-lower {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.end-divider {
  width: 500px;
  height: 4px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--futsu-primary),
    transparent
  );
  margin: 30px auto;
}

/* 公司標誌區域 */
.company-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 48px;
  font-weight: 700;
}

.company-logos .company-futsu {
  color: var(--futsu-primary);
}

.collaboration {
  font-size: 48px;
  font-weight: 300;
  color: var(--text-secondary);
}

.netverse-text {
  font-size: 48px;
  font-weight: 700;
  color: var(--netverse-primary);
}

.end-content h2 {
  font-size: 42px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 30px;
}

.thank-you {
  font-size: 36px;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 30px;
}

/* 結尾頁導航按鈕 - 放置在最底部 */
.end-nav-buttons {
  position: fixed;
  bottom: -160px;  /* 需要負值來突破 slide-content 的 85vh 限制 */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 15px;
  z-index: 80;  /* 在頁面資訊列(z-index: 100)下方 */
  opacity: 0;  /* 初始狀態隱藏 */
  visibility: hidden;
}

/* 只在結尾頁面顯示按鈕的動畫 */
#end.show-content .end-nav-buttons {
  animation: fadeIn 0.5s ease-out forwards;
  animation-delay: 1.5s;  /* 等待其他動畫完成後才出現 */
  visibility: visible;
}

/* 專門為導航按鈕的淡入動畫（不改變位置） */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(237, 109, 0, 0.3);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 0.7;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--futsu-primary);
  border-color: var(--futsu-primary);
  opacity: 1;
}

.nav-btn:active {
  transform: scale(0.95);
}

.nav-btn svg {
  width: 14px;
  height: 14px;
}

/* =========================
   11. 導航與控制元件
   ========================= */

/* 頁面資訊列 */
.page-info {
  position: fixed;
  bottom: 20px;
  left: 30px;
  right: 30px;
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  z-index: 100;
}

.page-info-left {
  color: var(--text-muted);
}

.page-number {
  margin-left: 10px;
}

.company-futsu {
  color: var(--futsu-primary);
  font-weight: 600;
}

.company-netverse {
  color: var(--netverse-primary);
  font-weight: 600;
}

/* 導航指示器 */
.nav-indicators {
  position: fixed;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 100;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #dee2e6;
  cursor: pointer;
  transition: all var(--animation-fast) ease;
  border: 1px solid #ced4da;
}

.indicator:hover {
  background: #adb5bd;
}

.indicator.active {
  background: var(--futsu-primary);
  transform: scale(1.3);
  border-color: var(--futsu-primary);
}

/* =========================
   12. 圖片預覽按鈕
   ========================= */
.image-preview-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 8px;
  padding: 4px;
  background: transparent;
  border: 1px solid rgba(237, 109, 0, 0.3);
  border-radius: 6px;
  color: var(--futsu-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  vertical-align: middle;
}

.image-preview-btn:hover {
  background: rgba(237, 109, 0, 0.1);
  border-color: var(--futsu-primary);
  transform: scale(1.1);
}

.image-preview-btn svg {
  width: 18px;
  height: 18px;
}

/* =========================
   12-1. 圖片畫廊燈箱
   ========================= */
.image-gallery-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.image-gallery-lightbox.active {
  display: flex;
  flex-direction: column;
  opacity: 1;
}

/* 畫廊頂部 */
.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: rgba(0, 0, 0, 0.5);
  color: white;
}

.gallery-title {
  font-size: 20px;
  font-weight: 500;
}

.gallery-close {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  padding: 8px;
  transition: all 0.2s ease;
}

.gallery-close:hover {
  transform: scale(1.1);
  color: var(--futsu-primary);
}

/* 畫廊主體 */
.gallery-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px;
}

.gallery-image-container {
  max-width: 90%;
  max-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-image-container img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

/* 導航按鈕 */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-nav:hover {
  background: rgba(237, 109, 0, 0.8);
  border-color: var(--futsu-primary);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: 30px;
}

.gallery-next {
  right: 30px;
}

/* 縮圖區域 */
.gallery-thumbnails {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px;
  background: rgba(0, 0, 0, 0.5);
}

.thumbnail {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
}

.thumbnail:hover {
  opacity: 1;
  transform: scale(1.05);
}

.thumbnail.active {
  border-color: var(--futsu-primary);
  opacity: 1;
}

/* =========================
   12-2. 圖片燈箱 (原有)
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0 0 0 / 95%);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.lightbox.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
}

.lightbox-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.close-lightbox {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 40px;
  color: var(--text-primary);
  cursor: pointer;
  transition: color var(--animation-fast) ease;
}

.close-lightbox:hover {
  color: var(--futsu-primary);
}

/* 可點擊圖片 */
img.clickable {
  cursor: pointer;
  transition: transform var(--animation-fast) ease;
}

img.clickable:hover {
  transform: scale(1.05);
}

/* =========================
   13. 全螢幕按鈕
   ========================= */

/* 全螢幕按鈕樣式 */
.fullscreen-btn {
  position: fixed;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  background: rgb(255 255 255 / 90%);
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: all 0.2s ease;
  color: var(--text-secondary);
  padding: 0;
}

.fullscreen-btn:hover {
  background: var(--bg-primary);
  color: var(--futsu-primary);
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgb(0 0 0 / 15%);
}

.fullscreen-btn svg {
  width: 18px;
  height: 18px;
}

/* =========================
   14. 動畫定義
   ========================= */

/* 基礎動畫關鍵影格 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInFromLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes expandFromCenter {
  from {
    transform: scaleX(0);
    opacity: 0;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

/* =========================
   14. 動畫初始狀態
   ========================= */

/* 一般內容初始狀態 */
.slide .slide-header h2,
.slide .slide-header .header-divider,
.slide .content-area > * {
  opacity: 0;
}

/* 標題頁初始狀態 */
.slide .title-upper,
.slide .title-lower {
  opacity: 0;
}

.slide .title-divider {
  opacity: 0;
  transform-origin: center;
}

/* 進度卡片初始狀態 */
.slide .progress-card,
.slide .theme-card {
  opacity: 0;
  transform: translateY(20px);
}

/* 結尾頁面初始狀態 */
.slide .end-upper,
.slide .end-lower {
  opacity: 0;
}

.slide .end-divider {
  opacity: 0;
  transform-origin: center;
}

/* =========================
   15. 動畫觸發狀態
   ========================= */

/* 標題區域動畫 */
.slide.show-content .slide-header .header-divider {
  animation: slideInFromLeft var(--animation-fast) ease-out forwards;
}

.slide.show-content .slide-header h2 {
  animation: fadeInUp var(--animation-fast) ease-out forwards;
  animation-delay: 0.25s;
}

/* 一般內容動畫 */
.slide.show-content .content-area > * {
  animation: fadeInUp var(--animation-normal) ease-out forwards;
  animation-delay: 0.25s;
}

/* 多個內容元素的延遲 */
.slide.show-content .content-area > *:nth-child(2) {
  animation-delay: 0.4s;
}

.slide.show-content .content-area > *:nth-child(3) {
  animation-delay: 0.6s;
}

.slide.show-content .content-area > *:nth-child(4) {
  animation-delay: 0.8s;
}

.slide.show-content .content-area > *:nth-child(5) {
  animation-delay: 1s;
}

.slide.show-content .content-area > *:nth-child(6) {
  animation-delay: 1.2s;
}

/* 標題頁動畫 */
.slide.show-content .title-divider {
  animation: expandFromCenter var(--animation-normal) ease-out forwards;
  animation-delay: 0s;
}

.slide.show-content .title-upper {
  animation: fadeInUp var(--animation-normal) ease-out forwards;
  animation-delay: 0.3s;
}

.slide.show-content .title-lower {
  animation: fadeInDown var(--animation-normal) ease-out forwards;
  animation-delay: 0.3s;
}

/* 進度卡片動畫時序 */
.slide.show-content .progress-card {
  animation: fadeInUp var(--animation-fast) ease-out forwards;
}

.slide.show-content .progress-card:nth-child(1) {
  animation-delay: 0.3s;
}

.slide.show-content .progress-card:nth-child(2) {
  animation-delay: 0.5s;
}

.slide.show-content .progress-card:nth-child(3) {
  animation-delay: 0.7s;
}

/* 主題卡片動畫時序 */
.slide.show-content .theme-card {
  animation: fadeInUp var(--animation-fast) ease-out forwards;
}

.slide.show-content .theme-card:nth-child(1) {
  animation-delay: 0.3s;
}

.slide.show-content .theme-card:nth-child(2) {
  animation-delay: 0.4s;
}

.slide.show-content .theme-card:nth-child(3) {
  animation-delay: 0.5s;
}

.slide.show-content .theme-card:nth-child(4) {
  animation-delay: 0.6s;
}

.slide.show-content .theme-card:nth-child(5) {
  animation-delay: 0.7s;
}

.slide.show-content .theme-card:nth-child(6) {
  animation-delay: 0.8s;
}

/* 結尾頁面動畫 */
.slide.show-content .end-divider {
  animation: expandFromCenter var(--animation-normal) ease-out forwards;
  animation-delay: 0s;
}

.slide.show-content .end-upper {
  animation: fadeInUp var(--animation-normal) ease-out forwards;
  animation-delay: 0.3s;
}

.slide.show-content .end-lower {
  animation: fadeInDown var(--animation-normal) ease-out forwards;
  animation-delay: 0.3s;
}
