/* ————————————————————————————————
   《翻轉》Fanzhuan · Upside Down
   蓝调时刻 × 倒影之城
   ———————————————————————————————— */

:root {
  --night: #101c33;        /* 墨夜蓝 */
  --bluehour: #23406b;     /* 蓝调时刻 */
  --water: #5a82a8;        /* 水色 */
  --lamplight: #e5b45c;    /* 灯火金 */
  --paper: #f3f5f8;        /* 冷调纸白 */
  --ink: #1e2a3d;          /* 墨字 */
  --ink-soft: #52617a;     /* 淡墨 */
  --line: #d7dee8;
  --serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--serif);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.9;
  font-size: 17px;
}

a { color: var(--bluehour); text-decoration: none; }
a:hover { color: var(--lamplight); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--lamplight);
  outline-offset: 3px;
}

/* ———— 顶部导航 ———— */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(16, 28, 51, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(229, 180, 92, 0.25);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem 1.5rem;
}
.nav-logo {
  font-family: var(--serif); font-weight: 700;
  font-size: 1.25rem; letter-spacing: 0.35em;
  color: var(--paper);
}
.nav-logo .flip { display: inline-block; transform: rotate(180deg); color: var(--lamplight); }
.nav-links { display: flex; gap: 1.6rem; font-family: var(--sans); font-size: 0.92rem; }
.nav-links a { color: rgba(243, 245, 248, 0.85); letter-spacing: 0.12em; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--lamplight); }

/* ———— 首页 Hero：城与倒影 ———— */
.hero {
  position: relative;
  background: linear-gradient(180deg, #0b1526 0%, var(--night) 38%, var(--bluehour) 72%, #3a5d8a 100%);
  color: var(--paper);
  text-align: center;
  padding: 6.5rem 1.5rem 0;
  overflow: hidden;
}
/* 城市灯火 */
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(1.5px 1.5px at 12% 30%, rgba(229,180,92,.9), transparent),
    radial-gradient(1px 1px at 25% 55%, rgba(229,180,92,.7), transparent),
    radial-gradient(1.5px 1.5px at 38% 22%, rgba(243,245,248,.6), transparent),
    radial-gradient(1px 1px at 55% 40%, rgba(229,180,92,.8), transparent),
    radial-gradient(2px 2px at 70% 28%, rgba(229,180,92,.75), transparent),
    radial-gradient(1px 1px at 82% 50%, rgba(243,245,248,.55), transparent),
    radial-gradient(1.5px 1.5px at 91% 33%, rgba(229,180,92,.85), transparent);
  pointer-events: none;
}
.hero-kicker {
  font-family: var(--sans);
  font-size: 0.85rem; letter-spacing: 0.5em;
  color: var(--lamplight);
  margin-bottom: 2.2rem;
}
.masthead {
  font-size: clamp(4rem, 13vw, 8.5rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  line-height: 1.1;
  text-indent: 0.18em; /* 平衡字距 */
}
/* 签名元素：刊名的水中倒影 */
.masthead-reflection {
  font-size: clamp(4rem, 13vw, 8.5rem);
  font-weight: 900;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  line-height: 1.1;
  transform: scaleY(-1);
  background: linear-gradient(0deg, rgba(243,245,248,0.55) 0%, rgba(243,245,248,0.12) 55%, transparent 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: blur(1.2px);
  user-select: none;
  margin-top: 0.05em;
}
.hero-water {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229,180,92,0.7), transparent);
  max-width: 640px; margin: 0.4rem auto 0;
}
.hero-tagline {
  font-size: clamp(1rem, 2.4vw, 1.25rem);
  color: rgba(243, 245, 248, 0.88);
  letter-spacing: 0.16em;
  margin: 2.8rem auto 0;
  max-width: 34em;
}
.hero-sub {
  font-family: var(--sans);
  font-size: 0.85rem; letter-spacing: 0.3em;
  color: rgba(243,245,248,0.55);
  margin-top: 1rem;
}
.hero-actions { margin: 3rem 0 0; padding-bottom: 5.5rem; }
.btn {
  display: inline-block;
  font-family: var(--sans); font-size: 0.95rem;
  letter-spacing: 0.2em;
  padding: 0.85rem 2.4rem;
  margin: 0 0.5rem 0.8rem;
  border: 1px solid var(--lamplight);
  border-radius: 2px;
  transition: background 0.25s, color 0.25s;
}
.btn-solid { background: var(--lamplight); color: var(--night); font-weight: 600; }
.btn-solid:hover { background: transparent; color: var(--lamplight); }
.btn-ghost { color: var(--lamplight); }
.btn-ghost:hover { background: var(--lamplight); color: var(--night); }

/* ———— 通用区块 ———— */
.section { max-width: 1080px; margin: 0 auto; padding: 5rem 1.5rem; }
.section + .section { border-top: 1px solid var(--line); }
.section-kicker {
  font-family: var(--sans);
  font-size: 0.8rem; letter-spacing: 0.45em;
  color: var(--water);
  margin-bottom: 0.8rem;
}
.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 2.2rem;
}
.section-title .gold { color: var(--lamplight); }

/* 发刊词摘录 */
.foreword {
  background: var(--night);
  color: rgba(243,245,248,0.92);
}
.foreword-inner { max-width: 760px; margin: 0 auto; padding: 5rem 1.5rem; }
.foreword blockquote {
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  line-height: 2.2;
  border-left: 2px solid var(--lamplight);
  padding-left: 1.6rem;
}
.foreword cite {
  display: block; margin-top: 1.8rem;
  font-style: normal; font-family: var(--sans);
  font-size: 0.88rem; letter-spacing: 0.25em;
  color: var(--lamplight);
}

/* 栏目 */
.columns-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.2rem;
}
.column-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1.7rem 1.6rem 1.5rem;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.column-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(16, 28, 51, 0.1);
}
.column-card::after {
  content: "";
  position: absolute; left: 1.6rem; right: 1.6rem; bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--lamplight), transparent);
  opacity: 0; transition: opacity 0.25s;
}
.column-card:hover::after { opacity: 1; }
.column-name {
  font-size: 1.2rem; font-weight: 700;
  letter-spacing: 0.14em;
  margin-bottom: 0.5rem;
}
.column-desc {
  font-family: var(--sans);
  font-size: 0.9rem; color: var(--ink-soft);
  line-height: 1.8;
}

/* 创刊号预告 / 目录 */
.issue-flex { display: flex; gap: 3rem; align-items: flex-start; flex-wrap: wrap; }
.issue-cover {
  flex: 0 1 380px;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 40px rgba(16,28,51,0.12);
}
.issue-cover img { width: 100%; display: block; }
.issue-cover figcaption {
  font-family: var(--sans); font-size: 0.8rem;
  color: var(--ink-soft); padding: 0.7rem 1rem;
  letter-spacing: 0.1em;
}
.issue-body { flex: 1 1 420px; }

.toc { list-style: none; }
.toc li {
  display: flex; align-items: baseline; gap: 0.8rem;
  padding: 0.85rem 0.2rem;
  border-bottom: 1px dashed var(--line);
}
.toc .col-tag {
  flex: 0 0 auto;
  font-family: var(--sans); font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--water);
  min-width: 6.5em;
}
.toc .work { font-weight: 700; letter-spacing: 0.06em; }
.toc .author {
  margin-left: auto;
  font-family: var(--sans); font-size: 0.85rem;
  color: var(--ink-soft);
}

/* 订阅 */
.subscribe {
  background: linear-gradient(180deg, var(--bluehour), var(--night));
  color: var(--paper);
  text-align: center;
}
.subscribe-inner { max-width: 640px; margin: 0 auto; padding: 5rem 1.5rem; }
.subscribe p { color: rgba(243,245,248,0.85); margin: 1.2rem 0 2rem; font-family: var(--sans); font-size: 0.95rem; }

/* 页脚：ISSN 登记信息 */
footer {
  background: #0b1526;
  color: rgba(243,245,248,0.75);
  font-family: var(--sans);
  font-size: 0.85rem;
}
.footer-inner {
  max-width: 1080px; margin: 0 auto;
  padding: 3rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}
.footer-inner h4 {
  font-family: var(--serif);
  color: var(--lamplight);
  font-size: 0.95rem; letter-spacing: 0.25em;
  margin-bottom: 0.9rem;
}
.footer-inner p { line-height: 2; }
.footer-bottom {
  border-top: 1px solid rgba(243,245,248,0.12);
  text-align: center;
  padding: 1.2rem;
  letter-spacing: 0.15em;
  color: rgba(243,245,248,0.45);
}

/* 内页标题带 */
.page-band {
  background: linear-gradient(180deg, #0b1526, var(--bluehour));
  color: var(--paper);
  text-align: center;
  padding: 4.5rem 1.5rem 3.5rem;
}
.page-band h1 {
  font-size: clamp(1.8rem, 5vw, 2.6rem);
  letter-spacing: 0.25em;
  font-weight: 900;
}
.page-band p {
  font-family: var(--sans); font-size: 0.9rem;
  letter-spacing: 0.3em; color: var(--lamplight);
  margin-top: 0.8rem;
}

/* 文章式正文（关于页） */
.prose { max-width: 760px; margin: 0 auto; padding: 4rem 1.5rem; }
.prose h2 {
  font-size: 1.45rem; letter-spacing: 0.15em;
  margin: 2.8rem 0 1rem;
  padding-left: 0.9rem;
  border-left: 3px solid var(--lamplight);
}
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 1.1rem; }
.prose ul { margin: 0 0 1.1rem 1.4em; }
.prose li { margin-bottom: 0.4rem; }
.note {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--water);
  border-radius: 3px;
  padding: 1.1rem 1.4rem;
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 1.5rem 0;
}

@media (max-width: 640px) {
  .nav-links { gap: 1rem; font-size: 0.82rem; }
  .toc .author { flex-basis: 100%; margin-left: 7.3em; }
}
