/* 游戏大厅样式 */

.header {
    background: white;
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    background: #FFFAF0;
    border: 1px solid #FFD700;
    border-radius: var(--border-radius);
}

.user-name {
    font-weight: 600;
    color: var(--dark-color);
}

.user-coins {
    font-weight: 500;
    color: var(--warning-color);
}

/* 主内容区 */
.main-content {
    background: white;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    margin-bottom: 30px;
}

.section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

/* 游戏网格 */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.game-card {
    background: #FFFAF0;
    border: 2px solid #FFD700;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    cursor: pointer;
    box-shadow: var(--box-shadow);
    color: #333;
}

.game-card-disabled {
    background: #E5E5E5;
    border: 2px solid #CCC;
    cursor: not-allowed;
    opacity: 0.6;
}

.game-icon {
    font-size: 64px;
    margin-bottom: 15px;
}

.game-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}

.game-desc {
    font-size: 14px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.game-stats {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    font-size: 14px;
    opacity: 0.95;
}

.game-card .btn {
    margin-top: 10px;
}

/* 页脚 */
.footer {
    text-align: center;
    padding: 20px;
    color: white;
    font-size: 14px;
    opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: stretch;
    }
    
    .logo {
        text-align: center;
    }
    
    .user-info {
        flex-direction: column;
    }
    
    .game-grid {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .game-icon {
        font-size: 48px;
    }
    
    .game-title {
        font-size: 20px;
    }
}

