/* === Fan Student GEO - Shared Styles === */
/* Dark Report Style: #0D0D0D bg, #F5F0EB text, #C9A96E gold accent, #8B0000 dark red */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;600;700&display=swap');

:root {
  --bg: #0D0D0D;
  --bg-card: #161616;
  --bg-elevated: #1E1E1E;
  --border: #2A2A2A;
  --text: #F5F0EB;
  --text-secondary: #A8A39A;
  --text-muted: #6B6560;
  --gold: #C9A96E;
  --gold-dim: #A68A52;
  --red: #8B0000;
  --red-bright: #A31515;
  --green: #4A7C59;
  --yellow: #B8860B;
  --radius: 6px;
  --max-width: 960px;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  line-height: 1.75;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Noto Serif SC', 'SimSun', serif;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}
h1 { font-size: 2.2rem; }
h2 { font-size: 1.6rem; margin-top: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.2rem; margin-top: 1.8rem; margin-bottom: 0.6rem; }

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-dim); }

p { margin-bottom: 1rem; color: var(--text-secondary); }

/* === Layout === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }

/* === Nav === */
header {
  background: rgba(13,13,13,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
}
nav {
  max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-brand {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.2rem; font-weight: 700; color: var(--text);
}
.nav-brand span { color: var(--gold); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: var(--text-secondary); font-size: 0.9rem; }
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

/* === Hero === */
.hero { padding: 4rem 0 3rem; text-align: center; border-bottom: 1px solid var(--border); }
.hero h1 { font-size: 2.8rem; margin-bottom: 0.8rem; letter-spacing: 0.02em; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero .subtitle { font-size: 1.15rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto 2rem; }

/* === Trust bar === */
.trust-bar {
  display: flex; justify-content: center; gap: 3rem; padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.trust-item { text-align: center; }
.trust-item .num {
  font-family: 'Noto Serif SC', serif;
  font-size: 2rem; font-weight: 700; color: var(--gold);
}
.trust-item .label { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }

/* === Cards === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.card:hover { border-color: var(--gold); }
.card h3 { margin-top: 0; font-size: 1.1rem; }
.card .meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.card .tag {
  display: inline-block; padding: 0.15rem 0.6rem; border-radius: 3px;
  font-size: 0.75rem; margin-right: 0.3rem; background: var(--bg-elevated);
  color: var(--gold);
}
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }

/* === Score badge === */
.score-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.2rem 0.6rem; border-radius: 4px;
  font-family: 'Noto Serif SC', serif; font-size: 0.85rem; font-weight: 700;
}
.score-b { background: rgba(74,124,89,0.2); color: var(--green); }
.score-d { background: rgba(184,134,11,0.2); color: var(--yellow); }
.score-e { background: rgba(139,0,0,0.2); color: var(--red-bright); }

/* === CTA === */
.cta { text-align: center; padding: 3rem 0; border-top: 1px solid var(--border); margin-top: 3rem; }
.cta h2 { margin-top: 0; }
.cta p { margin-bottom: 1.5rem; }
.btn {
  display: inline-block; padding: 0.7rem 2rem; border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: all 0.2s;
  border: none; text-decoration: none;
}
.btn-primary { background: var(--red); color: var(--text); }
.btn-primary:hover { background: var(--red-bright); color: var(--text); }
.btn-outline { background: transparent; border: 1px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--bg); }
.btn-group { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* === Article === */
.article { max-width: 720px; margin: 0 auto; padding: 2rem 0; }
.article h1 { margin-bottom: 0.5rem; }
.article .byline { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 2rem; }
.article h2 { border-bottom: 1px solid var(--border); padding-bottom: 0.4rem; }
.article ul, .article ol { margin: 0 0 1rem 1.5rem; color: var(--text-secondary); }
.article li { margin-bottom: 0.3rem; }
.article blockquote {
  border-left: 3px solid var(--gold);
  padding: 0.5rem 1rem; margin: 1rem 0;
  background: var(--bg-card); color: var(--text-secondary);
  font-style: italic;
}
.article table { width: 100%; border-collapse: collapse; margin: 1rem 0; }
.article th, .article td {
  border: 1px solid var(--border); padding: 0.5rem 0.8rem;
  text-align: left; font-size: 0.9rem;
}
.article th { background: var(--bg-elevated); color: var(--gold); font-weight: 600; }
.article td { color: var(--text-secondary); }

/* === List page === */
.list-header { padding: 2.5rem 0 1rem; text-align: center; }
.list-header h1 { margin-bottom: 0.3rem; }
.list-header p { color: var(--text-muted); }
.filters { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; margin: 1rem 0 2rem; }
.filters button {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--text-secondary);
  padding: 0.35rem 0.9rem; border-radius: 20px; font-size: 0.85rem; cursor: pointer;
  transition: all 0.2s;
}
.filters button:hover, .filters button.active { border-color: var(--gold); color: var(--gold); }
.list-items { padding-bottom: 3rem; }
.list-item {
  display: block; padding: 1.2rem 0; border-bottom: 1px solid var(--border);
  transition: padding 0.2s;
}
.list-item:hover { padding-left: 0.5rem; }
.list-item .title { font-size: 1.1rem; font-weight: 600; color: var(--text); margin-bottom: 0.3rem; }
.list-item .excerpt { font-size: 0.9rem; color: var(--text-secondary); }
.list-item .meta-row { display: flex; gap: 1rem; align-items: center; margin-top: 0.4rem; }
.list-item .meta-row .date { font-size: 0.8rem; color: var(--text-muted); }

/* === Report row === */
.report-day {
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.2rem; margin-bottom: 0.8rem; background: var(--bg-card);
}
.report-day .day-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.6rem;
}
.report-day .day-head .date {
  font-family: 'Noto Serif SC', serif; font-size: 1.1rem; font-weight: 700; color: var(--gold);
}
.report-day .snippet { font-size: 0.9rem; color: var(--text-secondary); }
.report-day .snippet li { margin-bottom: 0.2rem; list-style: none; }
.report-day .snippet li::before { content: "▸ "; color: var(--gold); }

/* === Footer === */
footer {
  border-top: 1px solid var(--border); padding: 2rem 0;
  text-align: center; font-size: 0.85rem; color: var(--text-muted);
}
footer a { color: var(--text-muted); }
footer a:hover { color: var(--gold); }

/* === Responsive === */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .trust-bar { gap: 1.5rem; }
  .trust-item .num { font-size: 1.5rem; }
  .nav-links { gap: 1rem; }
  .card-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .nav { flex-direction: column; height: auto; padding: 0.8rem 1rem; gap: 0.5rem; }
  header { position: relative; }
  .hero h1 { font-size: 1.6rem; }
  .hero { padding: 2rem 0 1.5rem; }
}
