/* 全局样式 */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* 粒子背景容器 */
#particles-js-left,
#particles-js-right {
    height: 100%;
    position: absolute;
    top: 0;
    z-index: 1;
}

#particles-js-left {
    left: 0;
    width: 50%;
}

#particles-js-right {
    right: 0;
    width: 50%;
}

/* 点赞按钮 */
.like-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #64ffda 0%, #0072ff 100%);
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.like-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(100, 255, 218, 0.5);
}

.like-button:hover svg {
    transform: scale(1.2);
}

.like-button.liked svg {
    animation: pulse 0.5s ease;
    fill: #ff6b6b;
}

/* 数据卡片 */
.stat-card {
    background: rgba(10, 10, 26, 0.7);
    border-radius: 1rem;
    padding: 1.2rem;
    border: 1px solid rgba(100, 255, 218, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 255, 218, 0.2);
}

/* 留言卡片 */
.message-card {
    background: rgba(10, 10, 26, 0.7);
    border-radius: 1rem;
    padding: 1.2rem;
    border: 1px solid rgba(100, 255, 218, 0.05);
    position: relative;
    overflow: hidden;
}

/* 导航按钮 */
.nav-button {
    background: rgba(10, 10, 26, 0.7);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 9999px;
    padding: 0.75rem 2rem;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    overflow: hidden;
    position: relative;
}

.nav-button:hover {
    background: rgba(100, 255, 218, 0.1);
    border-color: rgba(100, 255, 218, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.2);
}

.nav-button:hover .btn-icon {
    transform: translateX(5px);
}

/* 标题样式 */
.section-title {
    color: #fff;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 2px;
    background: linear-gradient(90deg, #64ffda, #7a0fff);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.3);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes floatUp {
    0% {
        opacity: 0;
        transform: translateY(0);
    }
    30% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-40px);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 10, 26, 0.8);
}

::-webkit-scrollbar-thumb {
    background: rgba(100, 255, 218, 0.3);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 255, 218, 0.5);
}

/* 主内容卡片垂直水平居中 */
.bg-glass {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 模态框样式 */
#aboutModal {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  
  #aboutModal.active {
    opacity: 1;
    visibility: visible;
  }
  
  #aboutModal.active .bg-dark-light {
    animation: scaleIn 0.3s ease forwards;
  }
  
  @keyframes scaleIn {
    from {
      transform: scale(0.9);
      opacity: 0;
    }
    to {
      transform: scale(1);
      opacity: 1;
    }
  }