/* 现代卡片悬浮风格 */
:root {
    --primary: #6c5ce7;
    --secondary: #00cec9;
    --light: #f5f6fa;
    --dark: #2d3436;
    --accent: #fd79a8;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
  }
  
  body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
  }
  
  /* 悬浮头部 */
  .floating-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
  }
  
  .header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .brand-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .brand-logo span {
    color: var(--secondary);
  }
  
  /* 悬浮导航 */
  .hover-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
  }
  
  .hover-nav a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
  }
  
  .hover-nav a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
  }
  
  /* 悬浮内容区 */
  .main-wrapper {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
  }
  
  /* 3D悬浮卡片 */
  .hover-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
  }
  
  .hover-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
  }
  
  .hover-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
  }
  
  .card-media {
    height: 200px;
    overflow: hidden;
    position: relative;
  }
  
  .card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
  }
  
  .hover-card:hover .card-media img {
    transform: scale(1.1);
  }
  
  .card-content {
    padding: 1.5rem;
  }
  
  .card-title {
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
  }
  
  .card-desc {
    color: #666;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
  }
  
  .card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
  }
  
  .card-meta {
    display: flex;
    gap: 1rem;
    color: #999;
    font-size: 0.85rem;
  }
  
  /* 悬浮分类标题 */
  .section-header {
    position: relative;
    margin: 4rem 0 2rem;
  }
  
  .section-title {
    font-size: 1.8rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding-bottom: 0.5rem;
  }
  
  .section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50%;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    border-radius: 3px;
  }
  
  /* 悬浮分页 */
  .hover-pagination {
    display: flex;
    justify-content: center;
    margin: 4rem 0;
    gap: 0.8rem;
  }
  
  .hover-pagination a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
  }
  
  .hover-pagination a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.3);
  }
  
  /* 悬浮文章详情 */
  .hover-article {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  
  .article-header {
    text-align: center;
    margin-bottom: 2.5rem;
  }
  
  .article-title {
    font-size: 2.2rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 700;
  }
  
  .article-subtitle {
    color: #666;
    font-size: 1.1rem;
    max-width: 800px;
    margin: 0 auto 2rem;
  }
  
  .article-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    color: #999;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
  }
  
  .article-media {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
  }
  
  .article-media img {
    width: 100%;
    height: auto;
    display: block;
  }
  
  .article-body {
    line-height: 1.8;
    font-size: 1.1rem;
  }
  
  .article-body img {
    max-width: 100%;
    height: auto;
    margin: 2rem auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .article-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
  }
  
  .article-nav a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s ease;
  }
  
  .article-nav a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
  }
  
  /* 悬浮友情链接 */
  .hover-links {
    background: white;
    border-radius: 15px;
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  
  .links-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    text-align: center;
  }
  
  .links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
  }
  
  .link-item {
    background: var(--light);
    border-radius: 10px;
    padding: 1.2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  }
  
  .link-item:hover {
    background: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(108, 92, 231, 0.3);
  }
  
  .link-item a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    display: block;
  }
  
  .link-item:hover a {
    color: white;
  }
  
  /* 悬浮页脚 */
  .hover-footer {
    background: var(--dark);
    color: white;
    padding: 4rem 0;
    margin-top: 3rem;
  }
  
  .footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
  }
  
  .copyright {
    margin-top: 2rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
  }
  
  /* 响应式设计 */
  @media (max-width: 768px) {
    .header-inner {
      flex-direction: column;
      gap: 1.5rem;
      padding: 0 1.5rem;
    }
    
    .hover-nav ul {
      flex-wrap: wrap;
      justify-content: center;
    }
    
    .main-wrapper {
      padding: 0 1.5rem;
    }
    
    .hover-card-grid {
      grid-template-columns: 1fr;
    }
    
    .hover-article {
      padding: 2rem 1.5rem;
    }
    
    .article-title {
      font-size: 1.8rem;
    }
    
    .article-meta {
      flex-direction: column;
      gap: 1rem;
    }
    
    .links-grid {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
  }