/* =========================================================
   成品展示页 · showcase.html
   网页版「AI回忆录」成书效果 · 阳光热烈风
   ========================================================= */

.sc-wrap { background:
    radial-gradient(1200px 500px at 50% -120px, rgba(255,176,62,.20), transparent 60%),
    linear-gradient(180deg, #FFF7E9 0%, #FFFDF8 40%, #FFF4E6 100%);
  min-height: 100vh; }

/* 顶部细导航 */
.sc-top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 14px clamp(16px,4vw,40px); background: rgba(255,247,233,.86); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line); }
.sc-top .brand { display: flex; align-items: center; gap: 9px; font-weight: 800; font-size: 17px; color: var(--ink); }
.sc-top .brand .logo-dot { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; display: block;
  box-shadow: 0 4px 12px rgba(251,139,30,.30); }
.sc-top a.back { font-size: 14px; font-weight: 600; color: var(--gold); display: inline-flex; align-items: center; gap: 6px; }
.sc-top a.back:hover { color: var(--rose); }

.sc-book { max-width: 880px; margin: 0 auto; padding: 0 20px 90px; }

/* 封面 */
.sc-cover { text-align: center; padding: 90px 20px 70px; }
.sc-cover .kicker { font-size: 13px; letter-spacing: .28em; color: var(--gold); font-weight: 700; }
.sc-cover .kicker-en { font-size: 11px; letter-spacing: .35em; color: var(--ink-faint); margin-top: 6px; }
.sc-cover h1 { font-family: var(--serif); font-size: clamp(38px, 7vw, 64px); line-height: 1.12; margin: 26px 0 8px;
  background: linear-gradient(120deg, var(--rose), var(--gold) 55%, var(--gold-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-cover .sub { font-size: clamp(15px,2.2vw,19px); color: var(--ink-soft); font-family: var(--serif); }
.sc-cover .cover-photos { position: relative; width: min(360px, 72vw); height: 150px; margin: 30px auto 0; }
.sc-cover .cp { position: absolute; bottom: 0; width: 132px; padding: 6px 6px 20px; background: #fff;
  border-radius: 6px; box-shadow: 0 10px 26px rgba(180,110,40,.22); }
.sc-cover .cp img { display: block; width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 3px; }
.sc-cover .cp-1 { left: 0; transform: rotate(-8deg); z-index: 1; }
.sc-cover .cp-2 { left: 50%; transform: translateX(-50%) rotate(2deg); z-index: 3; }
.sc-cover .cp-3 { right: 0; transform: rotate(8deg); z-index: 2; }
.sc-cover .date { margin-top: 30px; font-size: 14px; color: var(--ink-faint); letter-spacing: .1em; }
.sc-cover .lead { max-width: 560px; margin: 30px auto 0; font-size: 16px; line-height: 2; color: var(--ink-soft); }
.sc-cover .badge { display: inline-flex; align-items: center; gap: 8px; margin-top: 30px; padding: 9px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--gold); font-weight: 700; font-size: 14px;
  box-shadow: var(--shadow-sm); }

/* 序 */
.sc-preface { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px,5vw,48px);
  box-shadow: var(--shadow); margin: 10px 0 60px; }
.sc-preface .tag { font-size: 13px; letter-spacing: .3em; color: var(--rose); font-weight: 700; }
.sc-preface p { font-family: var(--serif); font-size: clamp(16px,2.1vw,19px); line-height: 2.1; color: var(--ink); margin: 18px 0 0; }

/* 目录 */
.sc-toc { margin-bottom: 64px; }
.sc-toc h2 { font-family: var(--serif); font-size: clamp(24px,3.4vw,32px); text-align: center; margin: 0 0 6px; }
.sc-toc .rule { text-align: center; color: var(--ink-faint); font-size: 14px; letter-spacing: .12em; margin-bottom: 26px; }
.sc-toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.sc-toc li { display: grid; grid-template-columns: 38px 1fr auto; align-items: baseline; gap: 14px;
  padding: 15px 4px; border-bottom: 1px dashed var(--line); }
.sc-toc li .n { font-family: var(--serif); font-size: 20px; color: var(--gold); font-weight: 700; }
.sc-toc li .t { font-family: var(--serif); font-size: 19px; color: var(--ink); }
.sc-toc li .meta { font-size: 13px; color: var(--ink-faint); text-align: right; }
.sc-toc li .meta b { color: var(--ink-soft); font-weight: 600; }

/* 章节跨页 */
.sc-chapter { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(20px,3vw,40px); align-items: center;
  padding: 46px 0; border-top: 1px solid var(--line); }
.sc-chapter:nth-child(even) .sc-photo { order: 2; }
.sc-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); position: relative; }
.sc-photo img { width: 100%; display: block; aspect-ratio: 1/1; object-fit: cover; }
.sc-photo .pg { position: absolute; right: 12px; bottom: 10px; font-family: var(--serif); font-size: 13px; color: #fff;
  background: rgba(0,0,0,.35); padding: 2px 10px; border-radius: 999px; backdrop-filter: blur(3px); }
.sc-text .ch-no { font-size: 13px; letter-spacing: .25em; color: var(--rose); font-weight: 700; }
.sc-text h3 { font-family: var(--serif); font-size: clamp(24px,3.4vw,34px); margin: 8px 0 12px; }
.sc-text .ch-meta { font-size: 13px; color: var(--ink-faint); margin-bottom: 16px; }
.sc-text .ch-meta b { color: var(--gold); font-weight: 700; }
.sc-text p { font-family: var(--serif); font-size: 16.5px; line-height: 2.05; color: var(--ink-soft); margin: 0; }

/* 关于 */
.sc-about { margin-top: 60px; background: linear-gradient(150deg, #fff, var(--gold-soft)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(30px,5vw,52px); text-align: center; box-shadow: var(--shadow); }
.sc-about h2 { font-family: var(--serif); font-size: clamp(24px,3.4vw,32px); margin: 0 0 18px; }
.sc-about p { font-family: var(--serif); font-size: 17px; line-height: 2.1; color: var(--ink-soft); max-width: 620px; margin: 0 auto; }
.sc-about .stats { display: flex; justify-content: center; gap: clamp(20px,5vw,56px); margin-top: 30px; flex-wrap: wrap; }
.sc-about .stats div { }
.sc-about .stats .num { font-family: var(--serif); font-size: 34px; font-weight: 800;
  background: linear-gradient(120deg, var(--rose), var(--gold)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sc-about .stats .lab { font-size: 13px; color: var(--ink-faint); margin-top: 4px; }

/* 封底 CTA */
.sc-backcover { text-align: center; margin-top: 64px; padding: clamp(40px,6vw,72px) 24px;
  border-radius: var(--radius); background: linear-gradient(135deg, var(--rose), var(--gold) 60%, var(--gold-2));
  color: #fff; box-shadow: var(--shadow-lg); }
.sc-backcover .en { font-size: 12px; letter-spacing: .35em; opacity: .85; }
.sc-backcover h2 { font-family: var(--serif); font-size: clamp(26px,4vw,40px); margin: 14px 0 14px; color: #fff; }
.sc-backcover p { font-size: 16px; line-height: 1.9; opacity: .95; max-width: 560px; margin: 0 auto 28px; }
.sc-backcover .btn-white { display: inline-flex; align-items: center; gap: 8px; background: #fff; color: var(--rose);
  font-weight: 800; padding: 14px 30px; border-radius: 999px; font-size: 16px; box-shadow: 0 10px 26px rgba(0,0,0,.18); }
.sc-backcover .btn-white:hover { transform: translateY(-2px); }

@media (max-width: 720px) {
  .sc-chapter { grid-template-columns: 1fr; gap: 18px; padding: 34px 0; }
  .sc-chapter:nth-child(even) .sc-photo { order: 0; }
  .sc-toc li { grid-template-columns: 30px 1fr; }
  .sc-toc li .meta { grid-column: 2; text-align: left; margin-top: 2px; }
}
