/* ==========================================================================
   掌中世界云 (zhangzhongshijie.xyz) - 极限电竞风 (Esports Gaming Arena) CSS
   ========================================================================== */

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

:root {
  /* 电竞配色系统 */
  --bg-dark: #07090e;
  --bg-card: #0f131d;
  --bg-card-hover: #161b29;
  --bg-carbon: #11141e;
  
  --neon-cyan: #00f3ff;
  --neon-magenta: #ff0055;
  --neon-yellow: #ffe600;
  --neon-green: #00ff66;
  --neon-purple: #9d00ff;
  
  --text-main: #f0f4f8;
  --text-muted: #8a99ad;
  --text-dim: #5c6b7e;
  
  --border-color: rgba(0, 243, 255, 0.2);
  --border-magenta: rgba(255, 0, 85, 0.3);
  
  --font-heading: 'Orbitron', 'Noto Sans SC', sans-serif;
  --font-numbers: 'Teko', sans-serif;
  --font-body: 'Noto Sans SC', sans-serif;

  --clip-chamfer: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  --clip-chamfer-sm: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  --clip-chamfer-lg: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}

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

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  /* 碳纤维纹理暗纹背景 */
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(0, 243, 255, 0.12) 0%, transparent 60%),
    radial-gradient(circle at 90% 80%, rgba(255, 0, 85, 0.08) 0%, transparent 50%),
    linear-gradient(27deg, #151515 5px, transparent 5px),
    linear-gradient(207deg, #151515 5px, transparent 5px),
    linear-gradient(27deg, #222 5px, transparent 5px),
    linear-gradient(207deg, #222 5px, transparent 5px);
  background-size: 100% 100%, 100% 100%, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
  background-position: 0 0, 0 0, 0 0, 10px 10px, 0 10px, 10px 0;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: #fff;
  text-shadow: 0 0 8px var(--neon-cyan);
}

/* 鼠标电竞尾翼光轨 Canvas */
#cursor-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* 通用电竞按钮与边框 */
.cyber-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000;
  background: var(--neon-cyan);
  clip-path: var(--clip-chamfer);
  border: none;
  cursor: pointer;
  position: relative;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.cyber-btn::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  right: 2px;
  bottom: 2px;
  background: transparent;
  border: 1px solid rgba(0,0,0,0.3);
  clip-path: var(--clip-chamfer-sm);
  pointer-events: none;
}

.cyber-btn:hover {
  background: #fff;
  color: #000;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 0 25px var(--neon-cyan), 0 0 10px var(--neon-magenta);
}

.cyber-btn-magenta {
  background: var(--neon-magenta);
  color: #fff;
  box-shadow: 0 0 15px rgba(255, 0, 85, 0.5);
}

.cyber-btn-magenta:hover {
  background: #ff3377;
  box-shadow: 0 0 30px var(--neon-magenta);
}

.cyber-btn-outline {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  box-shadow: inset 0 0 10px rgba(0, 243, 255, 0.15);
}

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

/* RGB 跑马灯边框效果 */
.rgb-border {
  position: relative;
}

.rgb-border::after {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, var(--neon-cyan), var(--neon-magenta), var(--neon-yellow), var(--neon-green), var(--neon-cyan));
  background-size: 300% 300%;
  animation: rgbGlow 4s linear infinite;
  z-index: -1;
  clip-path: var(--clip-chamfer);
}

@keyframes rgbGlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 布局容器 */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header 导航栏 */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(11, 14, 22, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 1.5px;
}

.brand-logo span {
  color: var(--neon-cyan);
  text-shadow: 0 0 10px var(--neon-cyan);
}

.brand-badge {
  font-size: 0.7rem;
  padding: 2px 8px;
  background: var(--neon-magenta);
  color: #fff;
  clip-path: var(--clip-chamfer-sm);
  font-family: var(--font-body);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: var(--text-main);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--neon-cyan);
  box-shadow: 0 0 8px var(--neon-cyan);
  transition: width 0.3s ease;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* 移动端菜单开关按钮 */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  padding: 8px 12px;
  font-size: 1.2rem;
  cursor: pointer;
  clip-path: var(--clip-chamfer-sm);
}

/* Hero Section 核心区 */
.hero {
  padding: 90px 0 60px;
  position: relative;
  text-align: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: rgba(0, 243, 255, 0.08);
  border: 1px solid var(--neon-cyan);
  color: var(--neon-cyan);
  clip-path: var(--clip-chamfer-sm);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.hero-tag-pulse {
  width: 8px;
  height: 8px;
  background: var(--neon-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-cyan);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.hero-title .glow-cyan {
  color: var(--neon-cyan);
  text-shadow: 0 0 20px rgba(0, 243, 255, 0.6);
}

.hero-title .glow-magenta {
  color: var(--neon-magenta);
  text-shadow: 0 0 20px rgba(255, 0, 85, 0.6);
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 800px;
  margin: 0 auto 40px;
}

.hero-keywords-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.keyword-badge {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4px 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
  clip-path: var(--clip-chamfer-sm);
  transition: all 0.2s;
}

.keyword-badge:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

/* 电竞数据统计板 */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 24px;
  clip-path: var(--clip-chamfer);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--neon-cyan);
  box-shadow: 0 10px 30px rgba(0, 243, 255, 0.15);
}

.stat-number {
  font-family: var(--font-numbers);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--neon-cyan);
  margin-bottom: 4px;
}

.stat-number.magenta {
  color: var(--neon-magenta);
}

.stat-number.yellow {
  color: var(--neon-yellow);
}

.stat-number.green {
  color: var(--neon-green);
}

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

/* 节点优势板块 (Features) */
.section {
  padding: 90px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title-tag {
  font-family: var(--font-heading);
  color: var(--neon-magenta);
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: 0.5px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 32px;
  clip-path: var(--clip-chamfer);
  position: relative;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--neon-cyan);
  background: var(--bg-card-hover);
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 243, 255, 0.1);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: rgba(0, 243, 255, 0.1);
  border: 1px solid var(--neon-cyan);
  clip-path: var(--clip-chamfer-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--neon-cyan);
  margin-bottom: 20px;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 12px;
}

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

/* 客户端图标矩阵 */
.clients-wrapper {
  margin-top: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 30px;
  clip-path: var(--clip-chamfer);
  text-align: center;
}

.clients-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--neon-cyan);
}

.clients-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

.client-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 20px;
  clip-path: var(--clip-chamfer-sm);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}

.client-item:hover {
  border-color: var(--neon-magenta);
  color: var(--neon-magenta);
}

/* 套餐价格对比区 (Pricing) */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  clip-path: var(--clip-chamfer-lg);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

.pricing-card.featured {
  background: var(--bg-card-hover);
  border: 2px solid var(--neon-cyan);
  box-shadow: 0 0 30px rgba(0, 243, 255, 0.25);
}

.pricing-badge {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--neon-magenta);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  clip-path: var(--clip-chamfer-sm);
  font-family: var(--font-heading);
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.pricing-desc {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.pricing-price {
  font-family: var(--font-numbers);
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--neon-cyan);
  margin-bottom: 24px;
}

.pricing-price span {
  font-size: 1.2rem;
  font-family: var(--font-body);
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  margin-bottom: 32px;
  flex-grow: 1;
}

.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--neon-cyan);
  font-weight: bold;
}

/* SEO 文章矩阵板块 */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.article-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  clip-path: var(--clip-chamfer);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.article-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 243, 255, 0.15);
}

.article-meta {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--neon-magenta);
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.article-title a {
  color: var(--text-main);
}

.article-title a:hover {
  color: var(--neon-cyan);
}

.article-excerpt {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.article-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neon-cyan);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* 用户评价区 */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px;
  clip-path: var(--clip-chamfer);
  position: relative;
}

.review-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.review-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-magenta));
  clip-path: var(--clip-chamfer-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-family: var(--font-heading);
  color: #000;
}

.review-info h4 {
  font-size: 1rem;
  margin-bottom: 2px;
}

.review-info span {
  font-size: 0.8rem;
  color: var(--neon-cyan);
}

.review-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.6;
}

/* FAQ 手风琴 */
.faq-list {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.08);
  clip-path: var(--clip-chamfer-sm);
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.faq-item.active {
  border-color: var(--neon-cyan);
}

.faq-question {
  padding: 20px 24px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--neon-cyan);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
  color: var(--neon-magenta);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 20px;
}

/* 核心任务 2：页脚 PBN 权重精准输血管道 */
footer {
  background: #080a0f;
  border-top: 1px solid rgba(0, 243, 255, 0.2);
  padding: 50px 0 30px;
  text-align: center;
  position: relative;
}

.footer-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.footer-brand {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 900;
  color: #fff;
}

.footer-brand span {
  color: var(--neon-cyan);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  font-size: 0.9rem;
}

.footer-nav a {
  color: var(--text-muted);
}

.footer-nav a:hover {
  color: var(--neon-cyan);
}

/* PBN 友情链接区 (低调、美观、小字号) */
.pbn-links-section {
  width: 100%;
  max-width: 1100px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 10px;
}

.pbn-title {
  font-size: 0.75rem;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.pbn-links-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 18px;
  list-style: none;
}

.pbn-links-list a {
  font-size: 0.78rem;
  color: #5c6b7e;
  text-decoration: none;
  transition: color 0.2s ease;
}

.pbn-links-list a:hover {
  color: var(--neon-cyan);
  text-shadow: 0 0 5px var(--neon-cyan);
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 15px;
}

/* 深度文章详情页专用样式 */
.article-container {
  max-width: 900px;
  margin: 40px auto 80px;
  padding: 0 20px;
}

.article-header {
  margin-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 30px;
}

.article-page-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 16px;
  color: #fff;
}

.article-content {
  color: #d1d9e6;
  font-size: 1.05rem;
  line-height: 1.85;
}

.article-content h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--neon-cyan);
  margin: 36px 0 16px;
  padding-left: 12px;
  border-left: 4px solid var(--neon-cyan);
}

.article-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--neon-magenta);
  margin: 28px 0 12px;
}

.article-content p {
  margin-bottom: 18px;
}

.article-content ul, .article-content ol {
  margin: 0 0 20px 24px;
}

.article-content li {
  margin-bottom: 8px;
}

.article-cta-box {
  background: var(--bg-card);
  border: 1px solid var(--neon-cyan);
  clip-path: var(--clip-chamfer);
  padding: 30px;
  margin: 40px 0;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 243, 255, 0.15);
}

.article-cta-box h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 12px;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .hero-title { font-size: 2.7rem; }
  .stat-number { font-size: 2.6rem; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    width: 100%;
    background: #0b0e16;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-links.show {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }

  .hero-title { font-size: 2.1rem; }
  .hero-subtitle { font-size: 1rem; }
  .section-title { font-size: 2rem; }
  
  .pricing-grid, .articles-grid, .features-grid {
    grid-template-columns: 1fr;
  }
}
