* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
    position: relative;
}

/* 背景装饰元素 */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(100, 150, 255, 0.05);
    filter: blur(50px);
}

.circle:nth-child(1) {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    background: rgba(120, 180, 255, 0.07);
}

.circle:nth-child(2) {
    width: 300px;
    height: 300px;
    bottom: 15%;
    right: 10%;
    background: rgba(180, 200, 255, 0.06);
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 25px 25px;
}

/* 顶栏样式 - 缩小版 */
.top-bar {
    background: linear-gradient(90deg, #ffffff 0%, #f8f9fa 100%);
    height: 44px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 25px;
}

.logo-icon {
    color: #5a67d8;
    font-size: 18px;
    margin-right: 8px;
}

.logo-text {
    font-size: 16px;
    font-weight: 700;
    background: linear-gradient(90deg, #5a67d8, #805ad5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 0.3px;
}

.page-title {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    letter-spacing: 0.3px;
    position: relative;
}

.page-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #5a67d8, transparent);
}

/* 内容区域 */
.container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 0 16px;
}

.stats-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 10px;
}

.stat-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    padding: 12px 18px;
    min-width: 150px;
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.stat-title {
    font-size: 11px;
    color: #718096;
    margin-bottom: 5px;
    font-weight: 500;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #2d3748;
    display: flex;
    align-items: center;
}

.stat-value i {
    margin-right: 6px;
    font-size: 15px;
    color: #5a67d8;
}

/* 存档区域 */
.archive-section {
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 20px;
    margin-top: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.section-title {
    font-size: 15px;
    font-weight: 600;
    color: #2d3748;
    display: flex;
    align-items: center;
}

.section-title i {
    color: #5a67d8;
    margin-right: 10px;
    font-size: 16px;
}

.controls {
    display: flex;
    gap: 8px;
}

.control-btn {
    background: #f7fafc;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #4a5568;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.control-btn i {
    margin-right: 5px;
    font-size: 12px;
}

.control-btn:hover {
    background: #5a67d8;
    color: #ffffff;
    border-color: #5a67d8;
    box-shadow: 0 3px 8px rgba(90, 103, 216, 0.2);
}

/* 存档内容 */
.archive-content {
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px 16px;
    border: 2px dashed rgba(90, 103, 216, 0.3);
    border-radius: 10px;
    background: #f8fafc;
}

.archive-icon {
    font-size: 45px;
    color: rgba(90, 103, 216, 0.3);
    margin-bottom: 18px;
}

.archive-message {
    font-size: 18px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 12px;
}

.archive-hint {
    font-size: 12px;
    color: #718096;
    max-width: 450px;
    line-height: 1.5;
}

/* 游戏列表 */
.game-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.game-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 85px;
    display: flex;
    align-items: center;
    padding: 0 16px;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: rgba(90, 103, 216, 0.3);
    background: #ffffff;
}

.game-icon {
    width: 42px;
    height: 42px;
    background: rgba(90, 103, 216, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 18px;
    color: #5a67d8;
}

.game-info {
    flex: 1;
}

.game-title {
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 4px;
}

.game-stats {
    display: flex;
    font-size: 11px;
    color: #718096;
}

.game-stats span {
    margin-right: 12px;
    display: flex;
    align-items: center;
}

.game-stats i {
    margin-right: 4px;
    font-size: 10px;
}

/* 底部区域 */
.footer {
    text-align: center;
    padding: 24px 0;
    font-size: 11px;
    color: #718096;
    margin-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .top-bar {
        height: 40px;
        padding: 0 16px;
    }
    
    .logo {
        margin-right: 18px;
    }
    
    .logo-icon {
        font-size: 16px;
    }
    
    .logo-text {
        font-size: 14px;
    }
    
    .page-title {
        font-size: 12px;
    }
    
    .page-title::after {
        bottom: -6px;
    }
    
    .stats-bar {
        flex-direction: column;
        gap: 8px;
    }
    
    .stat-card {
        width: 100%;
        padding: 10px 15px;
    }
    
    .stat-value {
        font-size: 16px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .controls {
        width: 100%;
        justify-content: flex-start;
        gap: 6px;
    }
    
    .archive-section {
        padding: 16px;
    }
    
    .archive-content {
        min-height: 200px;
        padding: 20px 12px;
    }
    
    .archive-icon {
        font-size: 38px;
    }
    
    .archive-message {
        font-size: 16px;
    }
    
    .game-list {
        grid-template-columns: 1fr;
    }
}