/* 基础样式 */
body {
    font-family: 'Inter', system-ui, sans-serif;
}

.website-card {
    transition: all 0.3s ease;
}

.website-card:hover {
    transform: translateY(-4px);
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* 标签样式 */
.tag-item {
    transition: all 0.2s ease;
}

.tag-item:hover {
    transform: scale(1.05);
}

/* 按钮悬停效果 */
button:not([disabled]) {
    transition: all 0.2s ease;
}

button:not([disabled]):hover {
    transform: translateY(-1px);
}

button:not([disabled]):active {
    transform: translateY(0);
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 自定义滚动条 */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* 加载动画 */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin 1s linear infinite;
}    