/* 科幻暗黑主题 */
:root {
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --primary: #ff003c;
    --primary-dark: #cc002f;
    --secondary: #00d9ff;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --neon-glow: 0 0 8px rgba(255, 0, 60, 0.8);
    --neon-text-glow: 0 0 10px rgba(255, 0, 60, 0.8);
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Rajdhani', 'Arial Narrow', Arial, sans-serif;
  }
  
  body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    background-image: 
      radial-gradient(circle at 10% 20%, rgba(255,0,60,0.05) 0%, transparent 20%),
      radial-gradient(circle at 90% 80%, rgba(0,217,255,0.05) 0%, transparent 20%);
  }
  
  a {
    text-decoration: none;
    color: var(--secondary);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
  
  a:hover {
    color: var(--primary);
    text-shadow: var(--neon-text-glow);
  }
  
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  /* 赛博朋克风格头部 */
  header {
    background-color: var(--bg-darker);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--primary);
    box-shadow: 0 0 20px rgba(255, 0, 60, 0.2);
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  
  .logo {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
  }
  
  .logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
  }
  
  nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
  }
  
  nav ul li a {
    padding: 8px 15px;
    border: 1px solid transparent;
    border-radius: 3px;
    font-weight: 600;
    letter-spacing: 1px;
  }
  
  nav ul li a:hover {
    border-color: var(--primary);
    box-shadow: var(--neon-glow);
  }
  
  /* 主要内容区 - 终端风格 */
  .main-content {
    background-color: var(--bg-darker);
    border: 1px solid rgba(255, 0, 60, 0.3);
    border-radius: 5px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 0 30px rgba(255, 0, 60, 0.1);
    position: relative;
    overflow: hidden;
  }
  
  .main-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
  }
  
  .section-title {
    font-size: 24px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px dashed rgba(255, 0, 60, 0.5);
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
  }
  
  .section-title::after {
    content: '//';
    position: absolute;
    right: 0;
    color: var(--text-secondary);
    font-weight: 300;
  }
  
  /* 网格布局 - 数据块风格 */
  .data-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
  }
  
  .data-card {
    background: linear-gradient(145deg, #111, #0a0a0a);
    border: 1px solid rgba(255, 0, 60, 0.2);
    border-radius: 5px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
  }
  
  .data-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--neon-glow);
    border-color: var(--primary);
  }
  
  .data-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
  }
  
  .data-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid rgba(255, 0, 60, 0.2);
  }
  
  .data-body {
    padding: 20px;
  }
  
  .data-title {
    font-size: 18px;
    margin-bottom: 12px;
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  
  .data-meta {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 15px;
  }
  
  .data-meta span:first-child {
    color: var(--secondary);
  }
  
  /* 分类标签 - 芯片风格 */
  .chip-tag {
    display: inline-block;
    padding: 3px 12px;
    background-color: rgba(255, 0, 60, 0.2);
    color: var(--primary);
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 15px;
    border: 1px solid var(--primary);
    letter-spacing: 1px;
  }
  
  /* 详情页 - 终端界面风格 */
  .terminal-view {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .terminal-header {
    margin-bottom: 40px;
    text-align: center;
    border-bottom: 1px dashed rgba(255, 0, 60, 0.5);
    padding-bottom: 20px;
  }
  
  .terminal-title {
    font-size: 32px;
    margin-bottom: 15px;
    line-height: 1.3;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  .terminal-meta {
    display: flex;
    justify-content: center;
    gap: 25px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-wrap: wrap;
  }
  
  .terminal-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .terminal-meta span::before {
    content: '>';
    color: var(--secondary);
  }
  
  .terminal-image {
    width: 100%;
    max-height: 450px;
    object-fit: cover;
    border-radius: 3px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 0, 60, 0.5);
    box-shadow: var(--neon-glow);
  }
  
  .terminal-content {
    line-height: 1.8;
    font-size: 16px;
  }
  
  .terminal-content p {
    margin-bottom: 20px;
    position: relative;
    padding-left: 15px;
  }
  
  .terminal-content p::before {
    content: '■';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-size: 10px;
    top: 7px;
  }
  
  /* 分页 - 按钮组风格 */
  .button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
  }
  
  .button-group a {
    padding: 10px 25px;
    border-radius: 3px;
    background-color: rgba(255, 0, 60, 0.2);
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
  }
  
  .button-group a:hover {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--neon-glow);
  }
  
  /* 友情链接 - 节点风格 */
  .node-links {
    background-color: var(--bg-darker);
    border-radius: 5px;
    padding: 25px;
    margin: 30px 0;
    border: 1px solid rgba(0, 217, 255, 0.2);
  }
  
  .node-links h3 {
    margin-bottom: 20px;
    color: var(--secondary);
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
  }
  
  .node-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .node-container a {
    padding: 8px 15px;
    background-color: rgba(0, 217, 255, 0.1);
    border-radius: 3px;
    font-size: 14px;
    border: 1px solid rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
  }
  
  .node-container a:hover {
    background-color: rgba(0, 217, 255, 0.3);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.3);
  }
  
  /* 页脚 - 状态栏风格 */
  footer {
    background-color: var(--bg-darker);
    padding: 25px 0;
    text-align: center;
    margin-top: 50px;
    border-top: 1px solid rgba(255, 0, 60, 0.5);
    position: relative;
  }
  
  footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
  }
  
  .copyright {
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 1px;
  }
  
  /* 响应式设计 */
  @media (max-width: 768px) {
    .header-content {
      flex-direction: column;
      gap: 20px;
    }
    
    nav ul {
      justify-content: center;
    }
    
    .data-grid {
      grid-template-columns: 1fr;
    }
    
    .terminal-title {
      font-size: 24px;
    }
    
    .terminal-meta {
      gap: 15px;
      justify-content: flex-start;
    }
  }
  
  /* 动画效果 */
  @keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
  }
  
  .pulse {
    animation: pulse 2s infinite;
  }