/* ========================================
   黑料网综合旗舰版超级门户 - 黑金质感设计系统
   设计哲学：黑金旗舰 / 多业务线整合 / 高端品牌感
   色彩：纯黑+金色强调 / 衬线标题+无衬线正文
   ======================================== */

:root {
  --primary: #000000;
  --secondary: #1A1A1A;
  --bg: #0A0A0A;
  --card: #1F1F1F;
  --accent: #D4AF37;
  --accent-light: #E8C84A;
  --accent-dark: #B8962E;
  --text: #E0E0E0;
  --text-muted: #999999;
  --text-dim: #666666;
  --border: #2A2A2A;
  --radius: 8px;
  --shadow: 0 4px 24px rgba(212,175,55,0.1);
  --shadow-lg: 0 8px 48px rgba(212,175,55,0.15);
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "Fira Code", monospace;
  --transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  --max-width: 1400px;
}

/* 重置与基础 */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-light);
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--accent);
  line-height: 1.3;
  font-weight: 700;
}

h1 { font-size: 2.8rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

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

/* 容器 */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.section-title p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* 顶部导航 */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: var(--max-width);
  margin: 0 auto;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: 700;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav a {
  color: var(--text);
  font-size: 0.95rem;
  position: relative;
  padding: 0.25rem 0;
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

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

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--accent);
  transition: var(--transition);
}

/* Hero 全屏视频背景 */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #000000 0%, #1A1A1A 50%, #0A0A0A 100%);
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 2rem;
  max-width: 900px;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  text-shadow: 0 0 40px rgba(212,175,55,0.3);
  letter-spacing: 0.1em;
}

.hero-content .subtitle {
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 2rem;
  font-weight: 300;
  line-height: 1.8;
}

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

/* 按钮系统 */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: var(--accent-light);
  color: #000;
  box-shadow: var(--shadow);
}

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

.btn-outline:hover {
  background: var(--accent);
  color: #000;
}

.btn-ghost {
  background: rgba(212,175,55,0.1);
  color: var(--accent);
}

.btn-ghost:hover {
  background: rgba(212,175,55,0.2);
}

/* 数据滚动条 */
.data-ticker {
  background: var(--secondary);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  gap: 3rem;
  animation: ticker-scroll 30s linear infinite;
  white-space: nowrap;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ticker-item .label {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.ticker-item .value {
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 1.1rem;
  font-weight: 700;
}

@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 业务线Tab导航 */
.biz-tabs {
  background: var(--primary);
  border-bottom: 1px solid var(--border);
}

.biz-tabs-inner {
  display: flex;
  gap: 0;
  max-width: var(--max-width);
  margin: 0 auto;
  overflow-x: auto;
}

.biz-tab {
  padding: 1.2rem 2rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.biz-tab:hover,
.biz-tab.active {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.biz-tab svg {
  width: 18px;
  height: 18px;
}

/* 卡片系统 */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.card-title {
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* 数据统计 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.stat-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.stat-number {
  font-size: 2.5rem;
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* 时间线 */
.timeline {
  position: relative;
  padding-left: 3rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.75rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--border) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 2.5rem;
  padding-left: 1rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 3px var(--accent);
}

.timeline-year {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.timeline-title {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.timeline-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 会员等级 */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.membership-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.membership-card.featured {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.membership-card.featured::before {
  content: '推荐';
  position: absolute;
  top: 1rem;
  right: -2rem;
  background: var(--accent);
  color: #000;
  padding: 0.25rem 2.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  transform: rotate(45deg);
}

.membership-level {
  font-size: 1.3rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.membership-price {
  font-size: 2rem;
  font-family: var(--font-mono);
  color: var(--text);
  margin-bottom: 1.5rem;
}

.membership-price span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.membership-features {
  list-style: none;
  text-align: left;
  margin-bottom: 1.5rem;
}

.membership-features li {
  padding: 0.5rem 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.membership-features li::before {
  content: '✦ ';
  color: var(--accent);
}

/* 合作伙伴 */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.partner-logo {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  transition: var(--transition);
}

.partner-logo:hover {
  border-color: var(--accent);
}

.partner-logo img {
  max-height: 40px;
  opacity: 0.7;
  filter: grayscale(1) brightness(1.5);
  transition: var(--transition);
}

.partner-logo:hover img {
  opacity: 1;
  filter: grayscale(0);
}

/* 页脚 */
.footer {
  background: var(--primary);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.8;
}

.footer-title {
  font-family: var(--font-serif);
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 1rem;
}

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

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

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin: 0;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* 面包屑 */
.breadcrumb {
  padding: 1rem 0;
  margin-top: 80px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  font-size: 0.9rem;
}

.breadcrumb-list li {
  color: var(--text-dim);
}

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

.breadcrumb-list li a:hover {
  color: var(--accent);
}

.breadcrumb-list li + li::before {
  content: '/';
  margin-right: 0.5rem;
  color: var(--text-dim);
}

/* 内页头部 */
.page-header {
  padding: 4rem 0 3rem;
  margin-top: 80px;
  background: linear-gradient(180deg, var(--secondary) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.page-header .page-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 700px;
  line-height: 1.8;
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem 1.5rem;
  background: var(--card);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  font-weight: 500;
}

.faq-question::after {
  content: '+';
  color: var(--accent);
  font-size: 1.5rem;
  transition: var(--transition);
}

.faq-item.active .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--text-muted);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  padding: 1rem 1.5rem 1.5rem;
  max-height: 500px;
}

/* 搜索 */
.search-box {
  max-width: 600px;
  margin: 0 auto 3rem;
  position: relative;
}

.search-input {
  width: 100%;
  padding: 1rem 1.5rem;
  padding-right: 3.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

.search-btn {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font-size: 1.2rem;
}

.search-results {
  margin-top: 2rem;
}

.search-result-item {
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.search-result-item:hover {
  border-color: var(--accent);
}

.search-result-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.search-result-item p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* 404页面 */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-code {
  font-size: 8rem;
  font-family: var(--font-mono);
  color: var(--accent);
  font-weight: 700;
  line-height: 1;
  text-shadow: 0 0 60px rgba(212,175,55,0.3);
}

/* 下载页 */
.download-hero {
  text-align: center;
  padding: 3rem 0;
}

.download-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.download-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.download-feature {
  text-align: center;
  padding: 2rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.download-feature .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* 合规页 */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 2rem 0 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.legal-content h3 {
  font-size: 1.2rem;
  margin: 1.5rem 0 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--text-muted);
  line-height: 1.9;
}

.legal-content ul, .legal-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  line-height: 1.8;
}

/* 金色粒子动画 */
@keyframes float-particle {
  0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
  animation: float-particle 8s infinite;
  opacity: 0;
}

/* 计数器动画 */
@keyframes count-up {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.count-animated {
  animation: count-up 0.6s ease forwards;
}

/* 响应式 */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  h1 { font-size: 2.2rem; }
  .hero-content h1 { font-size: 2.8rem; }
}

@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border);
  }

  .nav.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content .subtitle {
    font-size: 1rem;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .biz-tabs-inner {
    padding: 0 1rem;
  }

  .section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .page-header {
    padding: 3rem 0 2rem;
  }

  .page-header h1 {
    font-size: 1.8rem;
  }

  .membership-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html { font-size: 14px; }
  
  .hero-content h1 { font-size: 1.8rem; }
  
  .stat-number { font-size: 2rem; }
  
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* 滚动显示动画 */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 金色分隔线 */
.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  margin: 1rem auto;
  border-radius: 2px;
}

/* 标签 */
.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(212,175,55,0.1);
  color: var(--accent);
  border-radius: 4px;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

/* 内容列表 */
.content-list {
  list-style: none;
}

.content-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.content-list li:last-child {
  border-bottom: none;
}

.content-list .item-title {
  color: var(--text);
  font-weight: 500;
}

.content-list .item-date {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* 图片网格 */
.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.image-grid img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

/* 表格 */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.data-table th,
.data-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.data-table th {
  color: var(--accent);
  font-family: var(--font-serif);
  font-weight: 600;
  background: var(--card);
}

.data-table td {
  color: var(--text-muted);
}

.data-table tr:hover td {
  background: rgba(212,175,55,0.03);
}
