/* 基础样式 */
body {
    font-family: 'Inter', system-ui, sans-serif;
    scroll-behavior: smooth;
    cursor: auto !important; /* 确保所有页面鼠标显示正常 */
}

/* 仅在太空漫游页面激活crosshair鼠标样式 */
body.space-voyage-active {
    cursor: crosshair !important;
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease forwards;
}

/* 导航栏滚动效果 */
#navbar {
    transition: all 0.3s ease;
}

/* 卡片悬停效果 */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

/* 技能条动画 */
.skill-bar {
    transition: width 1.5s ease-in-out;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-content {
        text-align: center;
    }
    
    .hero-image {
        margin-top: 4rem;
    }
}
    