@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap');

/* ===== 变量 ===== */
:root {
  --green: #80ff00;
  --green2: #00ff00;
  --dark: #1f2617;
  --dark2: #161c10;
  --dark3: #2a3420;
  --white: #f5f5f0;
  --gray: #d4d4cc;
  --gray2: #8a8a80;
  --text: #1a1a14;
  --radius: 10px;
  --font: 'IBM Plex Sans', 'Helvetica Neue', Arial, sans-serif;
  --shadow: 0 4px 24px rgba(0,0,0,0.18);
  --shadow-card: 0 6px 32px rgba(0,0,0,0.22);
}

/* ===== 重置 ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--dark);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; transition: color 0.2s, opacity 0.2s; }
a:hover { color: var(--green2); opacity: 0.85; }
ul { list-style: none; }

/* ===== 跑马灯 ===== */
.marquee-bar {
  background: var(--green);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  overflow: hidden;
  height: 32px;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
}
.marquee-track {
  display: flex;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
  will-change: transform;
}
.marquee-track span { flex-shrink: 0; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== 顶部导航（底部固定条 desktop 也用） ===== */
.site-header {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 150;
  background: var(--dark2);
  border-top: 2px solid var(--green);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
}
.site-header--dark {
  background: var(--dark2);
}
.site-nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}
.site-nav > p.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.2rem 0.5rem;
  padding: 0.5rem 0;
  position: relative;
}
.site-nav > p.nav-links > a {
  color: var(--gray);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.6rem 0.6rem;
  border-radius: 6px;
  white-space: nowrap;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s, background 0.2s;
}
.site-nav > p.nav-links > a:hover,
.site-nav > p.nav-links > a[aria-current="page"] {
  color: var(--green);
  background: rgba(128,255,0,0.08);
}
.site-nav > p.nav-links > a.nav-cta {
  background: var(--green);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 0.6rem 1rem;
  border-radius: 6px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
}
.site-nav > p.nav-links > a.nav-cta:hover {
  background: var(--green2);
  color: var(--dark);
  opacity: 1;
}

/* ===== 按钮 ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  color: var(--dark);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  min-height: 44px;
  transition: background 0.2s, transform 0.15s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--green2);
  color: var(--dark);
  transform: translateY(-2px);
  opacity: 1;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: var(--green);
  font-family: var(--font);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.05em;
  padding: 0.8rem 1.8rem;
  border-radius: var(--radius);
  border: 2px solid var(--green);
  min-height: 44px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
}
.btn-ghost:hover {
  background: var(--green);
  color: var(--dark);
  transform: translateY(-2px);
  opacity: 1;
}
.btn-sm {
  font-size: 0.85rem;
  padding: 0.5rem 1.1rem;
  min-height: 40px;
}

/* ===== Hero（首页） ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--dark);
  overflow: hidden;
  padding: 6rem 2rem 6rem;
  margin-top: 32px;
}
.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(8rem, 22vw, 22rem);
  font-weight: 700;
  letter-spacing: -0.05em;
  color: rgba(128,255,0,0.06);
  white-space: nowrap;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  filter: saturate(150%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 820px;
}
.hero-eyebrow {
  display: inline-block;
  background: var(--green);
  color: var(--dark);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1.2rem;
}
.hero-h1 {
  font-size: clamp(2rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1.2rem;
}
.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 300;
  color: var(--gray);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 2rem;
}
.hero-cta-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-clip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--dark);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  z-index: 1;
}

/* ===== Sticker贴纸 ===== */
.sticker {
  position: absolute;
  background: var(--green);
  color: var(--dark);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  box-shadow: 3px 3px 0 var(--dark2);
  pointer-events: none;
  user-select: none;
  z-index: 5;
}
.sticker-a {
  top: 18%;
  right: 8%;
  transform: rotate(4deg);
  background: var(--green);
}
.sticker-b {
  top: 32%;
  right: 14%;
  transform: rotate(-6deg);
  background: var(--green2);
  font-size: 1.4rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 50px;
}
.sticker-art {
  top: 2rem;
  right: 2rem;
  transform: rotate(3deg);
}
.sticker-about {
  top: 2rem;
  right: 2rem;
  transform: rotate(-4deg);
  background: var(--green2);
}
.sticker-privacy {
  top: 2rem;
  right: 2rem;
  transform: rotate(5deg);
  background: var(--green);
}

/* ===== 内容区域共用 ===== */
.content-section,
.art-body-section,
.about-body-section,
.privacy-body-section {
  padding: 4rem 2rem 5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.content-with-aside {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}
.main-content {
  min-width: 0;
}
.art-nav-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

/* ===== Prose 正文 ===== */
.prose {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--gray);
}
.prose h2 {
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--white);
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.01em;
}
.prose h2 > span {
  border-left: 3px solid var(--green);
  padding-left: 0.6rem;
}
.prose h3 {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 600;
  color: var(--white);
  margin: 2rem 0 0.75rem;
}
.prose h3 > span {
  color: var(--green);
}
.prose p { margin-bottom: 1.2rem; }
.prose strong { color: var(--white); font-weight: 600; }
.prose em { color: var(--green); font-style: normal; font-weight: 500; }
.prose ul, .prose ol {
  margin: 1rem 0 1.2rem 1.5rem;
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.5rem; }
.prose blockquote {
  border-left: 4px solid var(--green);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(128,255,0,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--gray);
  font-style: italic;
}
.prose a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose time {
  color: var(--gray2);
  font-size: 0.85rem;
  font-weight: 500;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.prose th {
  background: var(--dark3);
  color: var(--green);
  font-weight: 600;
  padding: 0.6rem 1rem;
  text-align: left;
  border: 1px solid rgba(128,255,0,0.2);
}
.prose td {
  padding: 0.6rem 1rem;
  border: 1px solid rgba(128,255,0,0.1);
  color: var(--gray);
}
.prose tr:nth-child(even) td { background: rgba(128,255,0,0.03); }

/* ===== 侧边栏 ===== */
.sidebar {
  position: sticky;
  top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.sidebar-block {
  background: var(--dark3);
  border: 1px solid rgba(128,255,0,0.15);
  border-radius: var(--radius);
  padding: 1.4rem;
}
.sidebar-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--green);
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.sidebar-title > span {
  display: inline;
}
.sidebar-block ul li {
  border-bottom: 1px solid rgba(128,255,0,0.07);
  padding: 0.45rem 0;
}
.sidebar-block ul li:last-child { border-bottom: none; }
.sidebar-block ul li a {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.4;
  display: block;
  transition: color 0.15s, padding-left 0.15s;
}
.sidebar-block ul li a:hover {
  color: var(--green);
  padding-left: 4px;
}
.tag-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.tag {
  background: rgba(128,255,0,0.12);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.3rem 0.7rem;
  border-radius: 50px;
  border: 1px solid rgba(128,255,0,0.25);
  letter-spacing: 0.05em;
}

/* ===== 卡片区（首页） ===== */
.cards-section {
  padding: 3rem 2rem 6rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-heading {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
}
.section-heading > span {
  border-bottom: 3px solid var(--green);
  padding-bottom: 0.2rem;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.card {
  background: var(--dark3);
  border: 1px solid rgba(128,255,0,0.12);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
  transform: rotate(var(--rot, 0deg));
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--green);
}
.card:hover {
  transform: rotate(0deg) translateY(-4px);
  box-shadow: 0 12px 40px rgba(128,255,0,0.15);
  border-color: rgba(128,255,0,0.3);
}
.card-num {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: rgba(128,255,0,0.18);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.card-body {}
.card-date {
  font-size: 0.75rem;
  color: var(--gray2);
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.card-date time { color: var(--gray2); }
.card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.card-title > span { display: inline; }
.card-desc {
  font-size: 0.85rem;
  color: var(--gray2);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.card-link {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--green);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.15s;
}
.card-link:hover { gap: 0.6rem; opacity: 1; color: var(--green2); }

/* ===== 文章 Hero ===== */
.art-main, .about-main, .privacy-main {
  padding-top: 32px;
  padding-bottom: 80px;
}
.art-wrap, .about-wrap, .privacy-wrap {
  min-height: 100vh;
}
.art-hero, .about-hero, .privacy-hero {
  position: relative;
  background: var(--dark2);
  padding: 5rem 2rem 3rem;
  overflow: hidden;
  border-bottom: 2px solid rgba(128,255,0,0.12);
}
.art-hero-bg, .about-hero-bg, .privacy-hero-bg {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  font-size: clamp(5rem, 18vw, 16rem);
  font-weight: 700;
  color: rgba(128,255,0,0.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -0.05em;
}
.art-hero-inner, .about-hero-inner, .privacy-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}
.art-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.art-date {
  font-size: 0.78rem;
  color: var(--gray2);
  font-weight: 500;
  letter-spacing: 0.05em;
  background: rgba(128,255,0,0.07);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
}
.art-h1, .about-h1, .privacy-h1 {
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 1rem;
}
.art-desc, .about-desc, .privacy-desc {
  font-size: 1.05rem;
  color: var(--gray);
  line-height: 1.7;
  max-width: 640px;
}

/* ===== 相关文章列表 ===== */
.rel-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.rel-card {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(128,255,0,0.07);
}
.rel-card:last-child { border-bottom: none; padding-bottom: 0; }
.rel-num {
  font-size: 1.3rem;
  font-weight: 700;
  color: rgba(128,255,0,0.2);
  line-height: 1;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  margin-top: 0.1rem;
}
.rel-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.35;
  display: block;
  margin-bottom: 0.3rem;
  text-decoration: none;
}
.rel-title:hover { color: var(--green); }
.rel-desc {
  font-size: 0.78rem;
  color: var(--gray2);
  line-height: 1.5;
}

/* ===== 页脚 ===== */
.site-footer {
  background: var(--dark2);
  border-top: 2px solid rgba(128,255,0,0.15);
  padding-bottom: 80px;
}
.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.footer-brand-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}
.footer-brand-desc {
  font-size: 0.88rem;
  color: var(--gray2);
  line-height: 1.6;
}
.footer-col-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-links-col ul li {
  padding: 0.3rem 0;
}
.footer-links-col ul li a {
  color: var(--gray2);
  font-size: 0.88rem;
  transition: color 0.15s;
}
.footer-links-col ul li a:hover { color: var(--green); }
.footer-contact {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 2rem;
  border-top: 1px solid rgba(128,255,0,0.08);
  border-bottom: 1px solid rgba(128,255,0,0.08);
}
.footer-contact address {
  font-style: normal;
}
.footer-contact-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--green);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.footer-contact address p {
  font-size: 0.88rem;
  color: var(--gray2);
  line-height: 1.6;
}
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 2rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.78rem;
  color: var(--gray2);
}
.footer-bottom a {
  color: var(--gray2);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a:hover { color: var(--green); }

/* ===== 响应式 ===== */
@media (max-width: 900px) {
  .content-with-aside {
    grid-template-columns: 1fr;
  }
  .sidebar {
    position: static;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .sticker-a, .sticker-b {
    display: none;
  }
}
@media (max-width: 600px) {
  .hero {
    padding: 5rem 1.2rem 5rem;
  }
  .hero-h1 {
    font-size: 2rem;
  }
  .cards-section,
  .content-section,
  .art-body-section,
  .about-body-section,
  .privacy-body-section {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .card {
    transform: none;
  }
  .art-hero, .about-hero, .privacy-hero {
    padding: 4rem 1.2rem 2rem;
  }
  .site-nav > p.nav-links {
    gap: 0.15rem 0.25rem;
  }
  .site-nav > p.nav-links > a {
    font-size: 0.7rem;
    padding: 0.55rem 0.4rem;
  }
  .site-nav > p.nav-links > a.nav-cta {
    padding: 0.55rem 0.7rem;
  }
  .footer-top {
    padding: 2rem 1.2rem 1.5rem;
  }
  .footer-contact, .footer-bottom {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  .hero-cta-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-primary, .btn-ghost {
    width: 100%;
    justify-content: center;
  }
  .marquee-bar {
    font-size: 0.72rem;
  }
}

/* ===== 动效 ===== */
@media (prefers-reduced-motion: no-preference) {
  .card {
    transition: transform 0.25s cubic-bezier(.25,.8,.25,1), box-shadow 0.25s, border-color 0.2s;
  }
  .btn-primary, .btn-ghost {
    transition: background 0.18s, color 0.18s, transform 0.18s;
  }
  .site-nav > p.nav-links > a {
    transition: color 0.15s, background 0.15s;
  }
  .marquee-track {
    animation: marquee 22s linear infinite;
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
  .card { transform: none !important; }
}

/* ===== 无障碍跳转 ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--green);
  color: var(--dark);
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  z-index: 9999;
  transition: top 0.15s;
}
.skip-link:focus { top: 1rem; }
