/* 全局基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: #f9fafb;
    color: #1f2937;
    line-height: 1.6;
}

/* 通用链接样式 */
a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

/* 图片响应式处理 */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* 辅助类：隐藏元素但保留空间 */
.hidden {
    display: none;
}

/* 辅助类：Flex居中 */
.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 动画过渡优化 */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}
