/**
 * 主样式文件 - 合并所有CSS以减少HTTP请求
 * 优化加载速度
 */

/* ========================================
   1. Layui 基础框架
   ======================================== */
@import url('../layui/css/layui.css');

/* ========================================
   2. 首页核心样式
   ======================================== */
@import url('index.css');

/* ========================================
   3. 整屏滚动样式
   ======================================== */
@import url('fullpage.css');

/* ========================================
   4. 数据统计样式
   ======================================== */
@import url('statistics.css');

/* ========================================
   5. 合作伙伴页脚样式
   ======================================== */
@import url('partners-footer.css');

/* ========================================
   6. 悬浮窗样式
   ======================================== */
@import url('window.css');

/* ========================================
   7. 性能优化 - 关键CSS内联
   ======================================== */

/* 首屏关键样式 - 避免闪烁 */
body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: #1e1b32;
    height: 70px;
}

.fullpage-container {
    height: 100vh;
    overflow: hidden;
}

/* 加载动画 */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1e1b32;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #0292fe;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
