/* 链接样式 */
.link-item {
    display: block;
    padding: 0.75rem;
    background-color: #f8fafc;
    border-radius: 0.5rem;
    color: #1e293b;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    text-align: center;
    font-size: 0.875rem;
}

.link-item:hover {
    background-color: #e2e8f0;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 卡片悬停效果 */
.bg-white {
    transition: all 0.2s ease-in-out;
}

.bg-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 标题样式 */
h2 {
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 2rem;
    height: 2px;
    background-color: #3b82f6;
    border-radius: 1px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr;
    }
    
    .link-item {
        padding: 0.5rem;
    }
} 