/* 主CSS文件 - 导入所有样式 */

/* 导入变量和重置 */
@import url('variables.css');
@import url('reset.css');

/* 导入布局样式 */
@import url('layout.css');
@import url('header.css');

/* 导入组件样式 */
@import url('cards.css');
@import url('components.css');

/* 动态样式 */
@import url('dynamic.css');

/* 全局样式 */
body {
    font-family: 'Inter', 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space);
    width: 100%;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 加载状态 */
#loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    color: white;
    font-size: 1.5rem;
}

body.loaded #loading {
    display: none;
}
