/* ============================================
   南宫28 - 二十八星宿与中国传统天文学科普平台
   CSS前缀: np-
   设计风格: 星宿图古天文风
   ============================================ */

/* --- 字体定义 --- */
@font-face {
  font-family: 'Ma Shan Zheng';
  src: url('../fonts/MaShanZheng-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Serif SC';
  src: url('../fonts/NotoSerifSC.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- CSS变量 --- */
:root {
  --np-primary: #1A2338;
  --np-secondary: #4A5568;
  --np-accent: #D4AF37;
  --np-highlight: #C84B31;
  --np-bg: #0F172A;
  --np-text: #E2E8F0;
  --np-text-muted: #A0AEC0;
  --np-radius: 4px;
  --np-shadow: 0 2px 15px rgba(212,175,55,0.2);
  --np-font-title: 'Ma Shan Zheng', cursive, serif;
  --np-font-body: 'Noto Serif SC', 'Songti SC', serif;
  --np-nav-bg: rgba(15, 23, 42, 0.7);
  --np-gold-gradient: linear-gradient(135deg, #D4AF37, #F5E6A3, #D4AF37);
}

/* --- 全局重置 --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--np-font-body);
  background-color: var(--np-bg);
  color: var(--np-text);
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--np-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #F5E6A3;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--np-font-title);
  line-height: 1.4;
  color: var(--np-text);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1rem; }
h3 { font-size: 1.6rem; margin-bottom: 0.8rem; }
h4 { font-size: 1.3rem; margin-bottom: 0.6rem; }

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

/* --- 容器 --- */
.np-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.np-section {
  padding: 5rem 0;
}

.np-section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: var(--np-accent);
  font-size: 2.2rem;
  position: relative;
}

.np-section-title::after {
  content: '';
  display: block;
  width: 80px;
  height: 2px;
  background: var(--np-gold-gradient);
  margin: 1rem auto 0;
}

.np-section-subtitle {
  text-align: center;
  color: var(--np-text-muted);
  max-width: 700px;
  margin: -2rem auto 3rem;
  font-size: 1rem;
}

/* --- 导航栏 --- */
.np-header {
  background: var(--np-nav-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212,175,55,0.15);
  position: relative;
  z-index: 100;
}

.np-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.5rem;
  max-width: 1280px;
  margin: 0 auto;
}

.np-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.np-logo img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
}

.np-logo-text {
  font-family: var(--np-font-title);
  font-size: 1.5rem;
  color: var(--np-accent);
}

.np-nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.np-nav-links a {
  color: var(--np-text-muted);
  font-family: var(--np-font-body);
  font-size: 0.95rem;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.np-nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--np-accent);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.np-nav-links a:hover {
  color: var(--np-accent);
}

.np-nav-links a:hover::after {
  width: 100%;
}

.np-nav-links a.np-active {
  color: var(--np-accent);
}

.np-nav-links a.np-active::after {
  width: 100%;
}

.np-nav-cta {
  border: 1px solid var(--np-highlight);
  color: var(--np-highlight);
  padding: 0.4rem 1rem;
  border-radius: var(--np-radius);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.np-nav-cta:hover {
  background: var(--np-highlight);
  color: #fff;
}

/* 汉堡菜单 */
.np-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
}

.np-hamburger span {
  display: block;
  width: 28px;
  height: 2px;
  background: var(--np-text);
  transition: all 0.3s ease;
}

.np-mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  max-width: 360px;
  height: 100vh;
  background: rgba(15, 23, 42, 0.97);
  z-index: 200;
  padding: 4rem 2rem;
  transition: right 0.4s ease;
  flex-direction: column;
  gap: 1.5rem;
}

.np-mobile-menu.np-open {
  right: 0;
}

.np-mobile-menu a {
  color: var(--np-text-muted);
  font-size: 1.2rem;
  display: block;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(212,175,55,0.1);
}

.np-mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 150;
}

.np-mobile-overlay.np-open {
  display: block;
}

.np-mobile-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: var(--np-text);
  font-size: 1.8rem;
  cursor: pointer;
}

/* --- Hero Banner --- */
.np-hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.np-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.np-hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.np-hero-background::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15,23,42,0.7) 0%, rgba(15,23,42,0.4) 50%, rgba(15,23,42,0.9) 100%);
}

.np-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 2rem;
}

.np-hero-badge {
  display: inline-block;
  background: rgba(200,75,49,0.8);
  color: #fff;
  font-family: var(--np-font-title);
  font-size: 1rem;
  padding: 0.5rem 1.5rem;
  border-radius: var(--np-radius);
  margin-bottom: 2rem;
  letter-spacing: 0.3em;
}

.np-hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.np-hero h1 .np-gold {
  color: var(--np-accent);
}

.np-hero p {
  font-size: 1.1rem;
  color: var(--np-text);
  max-width: 720px;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.np-hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- 按钮 --- */
.np-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--np-radius);
  font-family: var(--np-font-body);
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
}

.np-btn-primary {
  background: var(--np-accent);
  color: var(--np-primary);
  font-weight: 600;
  box-shadow: var(--np-shadow);
}

.np-btn-primary:hover {
  background: #F5E6A3;
  color: var(--np-primary);
  transform: translateY(-2px);
}

.np-btn-secondary {
  background: transparent;
  color: var(--np-accent);
  border: 1px solid var(--np-accent);
}

.np-btn-secondary:hover {
  background: rgba(212,175,55,0.1);
  color: #F5E6A3;
}

/* --- 四象卡片 --- */
.np-four-symbols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.np-symbol-card {
  background: rgba(26,35,56,0.8);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--np-radius);
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.np-symbol-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--np-shadow);
  border-color: rgba(212,175,55,0.4);
}

.np-symbol-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.np-symbol-card-body {
  padding: 1.5rem;
}

.np-symbol-card h3 {
  color: var(--np-accent);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.np-symbol-card .np-stars {
  color: var(--np-text);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  font-family: var(--np-font-body);
}

.np-symbol-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.np-symbol-card .np-card-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--np-accent);
  font-size: 0.9rem;
}

.np-symbol-card .np-card-link:hover {
  color: #F5E6A3;
}

/* --- 视频卡片 --- */
.np-video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.np-video-card {
  background: rgba(26,35,56,0.8);
  border: 1px solid rgba(212,175,55,0.1);
  border-radius: var(--np-radius);
  overflow: hidden;
  position: relative;
}

.np-video-card video {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #000;
}

.np-video-card .np-video-duration {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 3px;
}

.np-video-card-body {
  padding: 1.2rem;
}

.np-video-card h4 {
  font-family: var(--np-font-title);
  color: var(--np-accent);
  margin-bottom: 0.5rem;
}

.np-video-card p {
  font-size: 0.85rem;
  line-height: 1.6;
}

/* --- Carousel --- */
.np-carousel {
  position: relative;
  overflow: hidden;
}

.np-carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.np-carousel-item {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
}

.np-carousel-item img {
  width: 50%;
  max-height: 400px;
  object-fit: cover;
  border-radius: var(--np-radius);
  border: 1px solid rgba(212,175,55,0.2);
}

.np-carousel-item-text {
  flex: 1;
}

.np-carousel-item-text h4 {
  color: var(--np-accent);
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.np-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(26,35,56,0.8);
  border: 1px solid var(--np-accent);
  color: var(--np-accent);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-family: var(--np-font-title);
}

.np-carousel-btn:hover {
  background: var(--np-accent);
  color: var(--np-primary);
}

.np-carousel-prev { left: 1rem; }
.np-carousel-next { right: 1rem; }

/* --- 左右图文 --- */
.np-split-section {
  display: flex;
  align-items: center;
  gap: 3rem;
}

.np-split-section img {
  width: 50%;
  border-radius: var(--np-radius);
  border: 1px solid rgba(212,175,55,0.15);
}

.np-split-section .np-split-text {
  flex: 1;
}

.np-split-section .np-split-text h3 {
  color: var(--np-accent);
  margin-bottom: 1rem;
}

/* --- 观测台入口 --- */
.np-observatory-promo {
  display: flex;
  align-items: center;
  gap: 3rem;
  background: rgba(26,35,56,0.6);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--np-radius);
  padding: 3rem;
}

.np-promo-text {
  flex: 1;
}

.np-promo-text h2 {
  color: var(--np-accent);
}

.np-promo-form {
  flex: 1;
  max-width: 400px;
}

.np-promo-form label {
  display: block;
  color: var(--np-text-muted);
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}

.np-promo-form input,
.np-promo-form select {
  width: 100%;
  padding: 0.7rem 1rem;
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--np-radius);
  color: var(--np-text);
  font-family: var(--np-font-body);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.np-promo-form input:focus,
.np-promo-form select:focus {
  outline: none;
  border-color: var(--np-accent);
}

/* --- 学术文章卡片 --- */
.np-article-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.np-article-card {
  background: rgba(26,35,56,0.7);
  border: 1px solid rgba(212,175,55,0.1);
  border-radius: var(--np-radius);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.np-article-card:hover {
  border-color: rgba(212,175,55,0.3);
  box-shadow: var(--np-shadow);
}

.np-article-card h4 {
  color: var(--np-accent);
  margin-bottom: 0.8rem;
}

.np-article-card .np-meta {
  color: var(--np-text-muted);
  font-size: 0.8rem;
  margin-top: 0.8rem;
}

.np-article-card .np-read-more {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--np-accent);
  font-size: 0.9rem;
}

/* --- 时间轴 --- */
.np-timeline {
  position: relative;
  list-style: none;
  padding-left: 2rem;
}

.np-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--np-accent), rgba(212,175,55,0.2));
}

.np-timeline li {
  position: relative;
  padding: 1.5rem 0 1.5rem 2rem;
  border-bottom: 1px solid rgba(212,175,55,0.05);
}

.np-timeline li::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 1.8rem;
  width: 12px;
  height: 12px;
  background: var(--np-accent);
  border-radius: 50%;
  border: 2px solid var(--np-bg);
  transform: translateX(-5px);
}

.np-timeline h4 {
  color: var(--np-accent);
  margin-bottom: 0.3rem;
}

.np-timeline p {
  font-size: 0.9rem;
}

/* --- 每日一星 --- */
.np-daily-star {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: rgba(26,35,56,0.7);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--np-radius);
  padding: 2rem;
}

.np-daily-star img {
  width: 300px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--np-radius);
}

.np-daily-star-text {
  flex: 1;
}

.np-daily-star-text h3 {
  color: var(--np-accent);
  margin-bottom: 1rem;
}

/* --- 问答区 --- */
.np-qa-section {
  max-width: 800px;
  margin: 0 auto;
}

.np-qa-item {
  background: rgba(26,35,56,0.6);
  border: 1px solid rgba(212,175,55,0.1);
  border-radius: var(--np-radius);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.np-question {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid rgba(212,175,55,0.1);
}

.np-question strong {
  color: var(--np-accent);
}

.np-answer {
  padding: 1.2rem 1.5rem;
  background: rgba(15,23,42,0.4);
}

.np-answer strong {
  color: var(--np-highlight);
}

/* --- 专家卡片 --- */
.np-expert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.np-expert-card {
  background: rgba(26,35,56,0.7);
  border: 1px solid rgba(212,175,55,0.1);
  border-radius: var(--np-radius);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.np-expert-card:hover {
  border-color: rgba(212,175,55,0.3);
  transform: translateY(-3px);
}

.np-expert-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 2px solid rgba(212,175,55,0.3);
}

.np-expert-card h4 {
  color: var(--np-accent);
  margin-bottom: 0.3rem;
}

.np-expert-card .np-expert-title {
  color: var(--np-text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

.np-expert-card .np-expert-field {
  font-size: 0.8rem;
  color: var(--np-text-muted);
}

/* --- 合作伙伴 --- */
.np-partners {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.np-partner-item {
  text-align: center;
}

.np-partner-item img {
  max-width: 200px;
  height: auto;
  margin: 0 auto 0.5rem;
  border-radius: var(--np-radius);
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.np-partner-item:hover img {
  opacity: 1;
}

.np-partner-item p {
  font-size: 0.8rem;
}

/* --- 页脚 --- */
.np-footer {
  background: rgba(10,15,25,0.95);
  border-top: 1px solid rgba(212,175,55,0.1);
  padding: 3rem 0 1.5rem;
}

.np-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.np-footer h4 {
  color: var(--np-accent);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.np-footer p, .np-footer a {
  font-size: 0.9rem;
  color: var(--np-text-muted);
  line-height: 2;
}

.np-footer a:hover {
  color: var(--np-accent);
}

.np-footer-links {
  list-style: none;
}

.np-footer-links li {
  margin-bottom: 0.3rem;
}

.np-footer-bottom {
  border-top: 1px solid rgba(212,175,55,0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--np-text-muted);
}

.np-footer-bottom p {
  margin-bottom: 0.3rem;
  font-size: 0.8rem;
}

.np-footer-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.np-footer-badges img {
  height: 60px;
  width: auto;
  border-radius: var(--np-radius);
  opacity: 0.8;
}

/* --- 面包屑 --- */
.np-breadcrumb {
  padding: 1rem 0;
  font-size: 0.85rem;
}

.np-breadcrumb a {
  color: var(--np-text-muted);
}

.np-breadcrumb span {
  color: var(--np-accent);
}

/* --- 内页Banner --- */
.np-page-banner {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.np-page-banner img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.np-page-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(15,23,42,0.6) 0%, rgba(15,23,42,0.85) 100%);
}

.np-page-banner-content {
  position: relative;
  z-index: 2;
}

.np-page-banner h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.np-page-banner h1 .np-gold {
  color: var(--np-accent);
}

.np-page-banner p {
  color: var(--np-text);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* --- 内页内容 --- */
.np-content {
  padding: 3rem 0;
}

.np-content-body {
  max-width: 900px;
  margin: 0 auto;
}

.np-content-body h2 {
  color: var(--np-accent);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212,175,55,0.15);
}

.np-content-body h3 {
  color: var(--np-text);
  margin-top: 2rem;
  margin-bottom: 0.8rem;
}

.np-content-body p {
  text-indent: 2em;
  margin-bottom: 1.2rem;
  line-height: 2;
}

.np-content-body blockquote {
  border-left: 3px solid var(--np-accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: rgba(212,175,55,0.05);
  border-radius: 0 var(--np-radius) var(--np-radius) 0;
  font-style: italic;
}

.np-content-body img {
  margin: 1.5rem auto;
  border-radius: var(--np-radius);
  border: 1px solid rgba(212,175,55,0.15);
}

.np-content-body .np-img-caption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--np-text-muted);
  margin-top: -1rem;
  margin-bottom: 1.5rem;
}

/* --- 内链网格 --- */
.np-internal-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}

.np-internal-links a {
  background: rgba(26,35,56,0.6);
  border: 1px solid rgba(212,175,55,0.1);
  border-radius: var(--np-radius);
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  text-align: center;
  transition: all 0.3s ease;
}

.np-internal-links a:hover {
  border-color: var(--np-accent);
  background: rgba(212,175,55,0.05);
}

/* --- 观测台页面 --- */
.np-observatory-panel {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  min-height: 600px;
}

.np-obs-controls {
  background: rgba(26,35,56,0.8);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--np-radius);
  padding: 1.5rem;
}

.np-obs-controls h3 {
  color: var(--np-accent);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.np-obs-controls label {
  display: block;
  color: var(--np-text-muted);
  font-size: 0.85rem;
  margin-bottom: 0.3rem;
  margin-top: 0.8rem;
}

.np-obs-controls select,
.np-obs-controls input {
  width: 100%;
  padding: 0.6rem;
  background: rgba(15,23,42,0.8);
  border: 1px solid rgba(212,175,55,0.2);
  border-radius: var(--np-radius);
  color: var(--np-text);
  font-family: var(--np-font-body);
  font-size: 0.9rem;
}

.np-obs-controls .np-checkbox-group {
  margin-top: 1rem;
}

.np-obs-controls .np-checkbox-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin-top: 0.5rem;
}

.np-obs-canvas {
  background: rgba(10,15,25,0.9);
  border: 1px solid rgba(212,175,55,0.15);
  border-radius: var(--np-radius);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.np-obs-canvas canvas {
  width: 100%;
  height: 100%;
}

/* --- APP下载页 --- */
.np-app-section {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding: 4rem 0;
}

.np-app-mockup {
  flex: 0 0 320px;
}

.np-app-mockup img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.np-app-info {
  flex: 1;
}

.np-app-info h1 {
  margin-bottom: 1.5rem;
}

.np-app-info h1 .np-gold {
  color: var(--np-accent);
}

.np-app-features {
  list-style: none;
  margin: 1.5rem 0;
}

.np-app-features li {
  padding: 0.5rem 0;
  color: var(--np-text-muted);
  position: relative;
  padding-left: 1.5rem;
}

.np-app-features li::before {
  content: '\2726';
  position: absolute;
  left: 0;
  color: var(--np-accent);
}

.np-app-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* --- FAQ Schema样式 --- */
.np-faq-section {
  max-width: 800px;
  margin: 2rem auto;
}

.np-faq-item {
  border: 1px solid rgba(212,175,55,0.1);
  border-radius: var(--np-radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.np-faq-question {
  padding: 1rem 1.5rem;
  background: rgba(26,35,56,0.6);
  cursor: pointer;
  color: var(--np-accent);
  font-weight: 600;
}

.np-faq-answer {
  padding: 1rem 1.5rem;
  color: var(--np-text-muted);
  line-height: 1.8;
}

/* --- 响应式设计 --- */
@media (max-width: 1280px) {
  .np-four-symbols {
    grid-template-columns: repeat(2, 1fr);
  }
  .np-expert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .np-observatory-panel {
    grid-template-columns: 1fr;
  }
  .np-carousel-item {
    flex-direction: column;
  }
  .np-carousel-item img {
    width: 100%;
  }
  .np-split-section {
    flex-direction: column;
  }
  .np-split-section img {
    width: 100%;
  }
  .np-observatory-promo {
    flex-direction: column;
  }
  .np-app-section {
    flex-direction: column;
    text-align: center;
  }
  .np-app-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  
  .np-nav-links { display: none; }
  .np-hamburger { display: flex; }
  .np-mobile-menu { display: flex; }
  
  .np-hero { min-height: 500px; }
  .np-hero h1 { font-size: 2rem; }
  .np-hero p { font-size: 0.95rem; }
  
  .np-four-symbols { grid-template-columns: 1fr; }
  .np-video-grid { grid-template-columns: 1fr; }
  .np-article-grid { grid-template-columns: 1fr; }
  .np-expert-grid { grid-template-columns: repeat(2, 1fr); }
  .np-footer-grid { grid-template-columns: 1fr; }
  .np-internal-links { grid-template-columns: 1fr; }
  
  .np-daily-star {
    flex-direction: column;
  }
  .np-daily-star img {
    width: 100%;
  }
  
  .np-page-banner { height: 300px; }
  .np-page-banner h1 { font-size: 2rem; }
  
  .np-section { padding: 3rem 0; }
}

@media (max-width: 640px) {
  h1 { font-size: 1.6rem; }
  .np-hero h1 { font-size: 1.6rem; }
  .np-hero-cta { flex-direction: column; align-items: center; }
  .np-expert-grid { grid-template-columns: 1fr; }
  .np-partners { flex-direction: column; }
  .np-app-mockup { flex: 0 0 auto; width: 250px; }
}
