/* ==================================================
   焦点娱乐 / 焦点平台 官网样式
   设计语言：暖白纸感 · 杂志编辑排版 · 取景框十字线
   （与暗色霓虹 HUD 模板完全不同的另一套方案）
   ================================================== */
:root {
  --paper: #f6f3ec;
  --paper-2: #efeae0;
  --ink: #17150f;
  --ink-soft: #5c564a;
  --line: #17150f;
  --focus: #ff4d1c;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.75;
}
a { color: var(--ink); }
a:hover { color: var(--focus); text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- 刊头（杂志式报头） ---------- */
.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 243, 236, .92);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--line);
}
.mast-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 30px; height: 30px; }
.brand-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: 3px;
}
.brand-title i { font-style: normal; color: var(--focus); }
.menu { display: flex; }
.menu a {
  font-size: 15px;
  letter-spacing: 1px;
  padding: 6px 16px;
  color: var(--ink-soft);
  border-left: 1px solid rgba(23, 21, 15, .15);
}
.menu a:first-child { border-left: none; }
.menu a:hover, .menu a.here { color: var(--ink); }
.menu a.here { font-weight: 700; box-shadow: inset 0 -3px 0 var(--focus); }
.menu-btn { display: none; border: 1px solid var(--line); background: none; font-size: 18px; padding: 3px 11px; cursor: pointer; }

/* ---------- 版心 ---------- */
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.chapter { padding: 84px 0; }
.vol {
  display: flex;
  align-items: baseline;
  gap: 14px;
  margin-bottom: 10px;
}
.vol b {
  font-family: Georgia, serif;
  font-size: 14px;
  color: var(--focus);
  letter-spacing: 2px;
}
.vol span { font-size: 13px; letter-spacing: 5px; color: var(--ink-soft); text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); }
.chapter h2 { font-size: 36px; letter-spacing: 2px; margin-bottom: 14px; }
.chapter .desc { color: var(--ink-soft); max-width: 700px; margin-bottom: 44px; font-size: 16px; }

/* ---------- 首屏：巨型衬线标题 + 取景框 ---------- */
.spot {
  position: relative;
  padding: 120px 0 100px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.spot h1 {
  font-size: 64px;
  line-height: 1.22;
  letter-spacing: 2px;
  max-width: 860px;
  font-weight: 900;
}
.spot h1 em { font-style: normal; color: var(--focus); }
.spot .lede {
  margin-top: 26px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 620px;
}
.spot-cta { margin-top: 44px; display: flex; gap: 14px; flex-wrap: wrap; }
.shot {
  background: var(--ink);
  color: #fff;
  padding: 14px 36px;
  font-size: 16px;
  letter-spacing: 3px;
  border: 1px solid var(--ink);
  transition: background .2s;
}
.shot:hover { background: var(--focus); border-color: var(--focus); }
.wire {
  background: none;
  border: 1px solid var(--line);
  padding: 14px 36px;
  font-size: 16px;
  letter-spacing: 3px;
  transition: all .2s;
}
.wire:hover { border-color: var(--focus); color: var(--focus); }

/* 取景框装饰 */
.reticle {
  position: absolute;
  right: 6%;
  top: 50%;
  width: 300px; height: 300px;
  transform: translateY(-50%);
  pointer-events: none;
}
.reticle::before {
  content: "";
  position: absolute; inset: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.reticle::after {
  content: "";
  position: absolute; inset: 38px;
  border: 1px solid var(--focus);
  border-radius: 50%;
  animation: pulse 3.2s ease-in-out infinite;
}
@keyframes pulse { 50% { transform: scale(.86); opacity: .55; } }
.reticle .cross-h, .reticle .cross-v {
  position: absolute;
  background: var(--line);
}
.reticle .cross-h { left: -28px; right: -28px; top: 50%; height: 1px; }
.reticle .cross-v { top: -28px; bottom: -28px; left: 50%; width: 1px; }
@media (max-width: 900px) { .reticle { display: none; } }

/* ---------- 杂志网格：墨线分隔 ---------- */
.mag {
  display: grid;
  border: 1px solid var(--line);
}
.mag > * { padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.mag > *:nth-child(4n) { border-right: none; }
.mag > *:nth-child(n+5) { border-bottom: none; }
.mag-4 { grid-template-columns: repeat(4, 1fr); }
.mag-3 { grid-template-columns: repeat(3, 1fr); }
.mag-2 { grid-template-columns: repeat(2, 1fr); }
.cell .no {
  font-family: Georgia, serif;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--focus);
  margin-bottom: 12px;
}
.cell h3 { font-size: 19px; margin-bottom: 10px; }
.cell p { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 960px) {
  .mag-4, .mag-3 { grid-template-columns: repeat(2, 1fr); }
  .mag > *:nth-child(4n) { border-right: 1px solid var(--line); }
  .mag > *:nth-child(2n) { border-right: none; }
  .mag > * { border-bottom: 1px solid var(--line); }
  .mag > *:last-child, .mag-4 > *:last-child, .mag-3 > *:nth-child(2n) { border-bottom: none; }
}
@media (max-width: 620px) {
  .mag-4, .mag-3, .mag-2 { grid-template-columns: 1fr; }
  .mag > * { border-right: none !important; border-bottom: 1px solid var(--line) !important; }
  .mag > *:last-child { border-bottom: none !important; }
  .spot h1 { font-size: 40px; }
}

/* 产品海报块 */
.poster {
  height: 170px;
  display: flex;
  align-items: flex-end;
  padding: 18px 22px;
  margin: -30px -26px 20px;
  color: #fff;
  font-family: var(--serif);
  font-size: 24px;
  letter-spacing: 4px;
  border-bottom: 1px solid var(--line);
}
.p1 { background: linear-gradient(160deg, #17150f 0%, #40382a 100%); }
.p2 { background: linear-gradient(160deg, #7a2410 0%, #17150f 100%); }
.p3 { background: linear-gradient(160deg, #2b3a24 0%, #17150f 100%); }
.spec { display: flex; gap: 8px; margin: 12px 0; flex-wrap: wrap; }
.spec span { font-size: 12px; border: 1px solid var(--line); padding: 2px 10px; color: var(--ink-soft); }

/* 数字带 */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--paper-2);
}
.facts > div { padding: 34px 12px; text-align: center; border-right: 1px solid var(--line); }
.facts > div:last-child { border-right: none; }
.facts b { display: block; font-family: var(--serif); font-size: 38px; font-weight: 900; }
.facts b i { font-style: normal; color: var(--focus); }
.facts span { font-size: 13px; color: var(--ink-soft); letter-spacing: 2px; }
@media (max-width: 720px) { .facts { grid-template-columns: 1fr 1fr; } .facts > div:nth-child(2) { border-right: none; } }

/* ---------- 新闻（日报目录式） ---------- */
.daily { border-top: 2px solid var(--line); }
.entry {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 26px;
  padding: 26px 6px;
  border-bottom: 1px solid rgba(23, 21, 15, .2);
  align-items: baseline;
}
.entry time {
  font-family: Georgia, serif;
  font-size: 15px;
  color: var(--focus);
  letter-spacing: 1px;
}
.entry h3 { font-size: 18px; margin-bottom: 6px; letter-spacing: .5px; }
.entry p { font-size: 14px; color: var(--ink-soft); }
@media (max-width: 620px) { .entry { grid-template-columns: 1fr; gap: 6px; } }

/* ---------- 文章页 ---------- */
.paper-page {
  max-width: 840px;
  margin: 0 auto;
  background: #fffdf8;
  border: 1px solid var(--line);
  padding: 56px 52px;
}
.paper-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-soft);
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid rgba(23, 21, 15, .25);
}
.paper-meta b { color: var(--focus); font-weight: 700; }
.paper-page h1 { font-size: 32px; line-height: 1.5; margin-bottom: 22px; }
.paper-page h2 { font-size: 21px; margin: 30px 0 12px; }
.paper-page h2::before { content: "※ "; color: var(--focus); }
.paper-page p { margin-bottom: 16px; font-size: 16px; color: #2e2a22; }
.paper-page ul { margin-bottom: 16px; }
.paper-page ul li { position: relative; padding-left: 22px; margin-bottom: 8px; color: #2e2a22; }
.paper-page ul li::before { content: "—"; position: absolute; left: 0; color: var(--focus); }
.trail { font-size: 13px; color: var(--ink-soft); padding-top: 22px; }
.trail a { color: var(--ink-soft); }

/* ---------- 页脚 ---------- */
.colophon {
  margin-top: 80px;
  border-top: 2px solid var(--line);
  background: var(--paper-2);
  padding: 54px 0 28px;
}
.colo-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.colo-grid h4 { font-family: var(--serif); font-size: 16px; margin-bottom: 14px; }
.colo-grid li { margin-bottom: 8px; }
.colo-grid a, .colo-grid p { color: var(--ink-soft); font-size: 14px; }
.colo-foot {
  margin-top: 36px;
  padding-top: 18px;
  border-top: 1px solid rgba(23, 21, 15, .2);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
}
@media (max-width: 860px) { .colo-grid { grid-template-columns: 1fr 1fr; } }

/* 入场 */
.rise { opacity: 0; transform: translateY(22px); transition: all .7s ease; }
.rise.on { opacity: 1; transform: none; }

/* 移动端菜单 */
@media (max-width: 900px) {
  .menu-btn { display: block; }
  .menu {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    border-bottom: 2px solid var(--line);
  }
  .menu.open { display: flex; }
  .menu a { border-left: none; border-top: 1px solid rgba(23,21,15,.12); padding: 13px 24px; }
}

/* ---------- 文章页扩展：问答 / 表格 / 关联阅读 ---------- */
.paper-page h3 { font-size: 17px; margin: 24px 0 8px; letter-spacing: .3px; }
.paper-page table { width: 100%; border-collapse: collapse; margin: 6px 0 20px; font-size: 14px; display: block; overflow-x: auto; }
.paper-page th, .paper-page td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; line-height: 1.65; }
.paper-page th { background: var(--paper-2); font-family: var(--serif); font-weight: 600; white-space: nowrap; }
.paper-page .faq { margin: 6px 0 20px; }
.paper-page .faq h3 { font-size: 16px; margin: 22px 0 8px; }
.paper-page .faq h3::before { content: "Q "; font-family: Georgia, serif; color: var(--focus); font-weight: 700; }
.paper-page .faq p { margin-bottom: 10px; font-size: 15px; color: var(--ink-soft); }
.paper-page .faq p::before { content: "A "; font-family: Georgia, serif; color: var(--ink); font-weight: 700; }
.paper-page .related { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); }
.paper-page .related h2 { font-size: 18px; margin-top: 0; }
.paper-page .related ul { margin-bottom: 0; }
.paper-page .related a { border-bottom: 1px solid currentColor; }
@media (max-width: 620px) { .paper-page { padding: 34px 22px; } .paper-page h1 { font-size: 25px; } }
