/* 页面淡入动画 */
body {
    opacity: 0;
    transition: opacity 0.3s ease;
}
body.page-loaded {
    opacity: 1;
}
/* 底部导航栏优化：触摸反馈 */
.nav a {
    transition: all 0.2s ease;
    position: relative;
}
.nav a:active {
    transform: scale(0.95);
    background: rgba(45,140,255,0.1);
}
/* 卡片点击反馈 */
.article-item, .lawyer-item {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}
.article-item:active, .lawyer-item:active {
    transform: scale(0.98);
}
/* 按钮触摸反馈 */
.btn:active, button:active {
    transform: scale(0.96);
}
/* 加载进度条（模拟APP） */
#page-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #409eff;
    z-index: 9999;
    transition: width 0.3s;
    pointer-events: none;
}
/* 页面切换时显示进度条 */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    z-index: 9998;
    display: none;
}
/* 滚动条美化 */
::-webkit-scrollbar {
    width: 6px;
    background: #f0f0f0;
}
::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}
